6 instantiations of InternalMicrosoftProbeDiagnostic
aspire (4)
Telemetry\InternalMicrosoftDetector.cs (4)
340diagnostics.Add(new InternalMicrosoftProbeDiagnostic(probe.Name, InternalMicrosoftProbeOutcome.TimedOut, _probeStageTimeout, HasAlias: false, HasDomain: false)); 383new InternalMicrosoftProbeDiagnostic(probe.Name, outcome, probe.DurationOverride ?? stopwatch.Elapsed, !string.IsNullOrEmpty(result.Alias), !string.IsNullOrEmpty(result.Domain), result.Failure), 393new InternalMicrosoftProbeDiagnostic(probe.Name, InternalMicrosoftProbeOutcome.Cancelled, stopwatch.Elapsed, HasAlias: false, HasDomain: false), 407new InternalMicrosoftProbeDiagnostic(
Aspire.Cli.Tests (2)
Telemetry\AspireCliTelemetryTests.cs (2)
660new InternalMicrosoftProbeDiagnostic("test source", InternalMicrosoftProbeOutcome.Detected, TimeSpan.FromMilliseconds(12), HasAlias: true, HasDomain: true) 689new InternalMicrosoftProbeDiagnostic(
12 references to InternalMicrosoftProbeDiagnostic
aspire (7)
Telemetry\AspireCliTelemetry.cs (1)
464foreach (var probe in result.ProbeDiagnostics)
Telemetry\InternalMicrosoftDetector.cs (6)
244var diagnostics = new List<InternalMicrosoftProbeDiagnostic>(); 319var diagnostics = new List<InternalMicrosoftProbeDiagnostic>(); 325var diagnostic = task.Result.Diagnostic; 1911private sealed record InternalMicrosoftProbeStageResult(InternalMicrosoftDetectionResult? Result, IReadOnlyList<InternalMicrosoftProbeDiagnostic> Diagnostics, bool TimedOut); 1912private sealed record InternalMicrosoftProbeRunResult(InternalMicrosoftProbe Probe, string Source, InternalMicrosoftProbeResult Result, InternalMicrosoftProbeDiagnostic Diagnostic, long CompletionTimestamp); 2024IReadOnlyList<InternalMicrosoftProbeDiagnostic> ProbeDiagnostics)
Aspire.Cli.Tests (5)
Telemetry\InternalMicrosoftDetectorTests.cs (4)
343var failure = Assert.Single(result.ProbeDiagnostics, probe => probe.Source == "faulting"); 480var diagnostic = Assert.Single(result.ProbeDiagnostics); 959var diagnostic = Assert.Single(result.ProbeDiagnostics); 1034var diagnostic = Assert.Single(result.ProbeDiagnostics);
Telemetry\TelemetryFixture.cs (1)
164public IReadOnlyList<InternalMicrosoftProbeDiagnostic> ProbeDiagnostics { get; set; } = [];