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