6 instantiations of InternalMicrosoftProbeDiagnostic
aspire (4)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (4)
344
diagnostics.Add(new
InternalMicrosoftProbeDiagnostic
(probe.Name, InternalMicrosoftProbeOutcome.TimedOut, _probeStageTimeout, HasAlias: false, HasDomain: false));
387
new
InternalMicrosoftProbeDiagnostic
(probe.Name, outcome, probe.DurationOverride ?? stopwatch.Elapsed, !string.IsNullOrEmpty(result.Alias), !string.IsNullOrEmpty(result.Domain), result.Failure),
397
new
InternalMicrosoftProbeDiagnostic
(probe.Name, InternalMicrosoftProbeOutcome.Cancelled, stopwatch.Elapsed, HasAlias: false, HasDomain: false),
411
new
InternalMicrosoftProbeDiagnostic
(
Aspire.Cli.Tests (2)
Telemetry\AspireCliTelemetryTests.cs (2)
737
new
InternalMicrosoftProbeDiagnostic
("test source", InternalMicrosoftProbeOutcome.Detected, TimeSpan.FromMilliseconds(12), HasAlias: true, HasDomain: true)
766
new
InternalMicrosoftProbeDiagnostic
(
12 references to InternalMicrosoftProbeDiagnostic
aspire (7)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (6)
248
var diagnostics = new List<
InternalMicrosoftProbeDiagnostic
>();
323
var diagnostics = new List<
InternalMicrosoftProbeDiagnostic
>();
329
var
diagnostic = task.Result.Diagnostic;
1929
private sealed record InternalMicrosoftProbeStageResult(InternalMicrosoftDetectionResult? Result, IReadOnlyList<
InternalMicrosoftProbeDiagnostic
> Diagnostics, bool TimedOut);
1930
private sealed record InternalMicrosoftProbeRunResult(InternalMicrosoftProbe Probe, string Source, InternalMicrosoftProbeResult Result,
InternalMicrosoftProbeDiagnostic
Diagnostic, long CompletionTimestamp);
2042
IReadOnlyList<
InternalMicrosoftProbeDiagnostic
> ProbeDiagnostics)
Telemetry\AspireCliTelemetry.cs (1)
378
foreach (
var
probe in result.ProbeDiagnostics)
Aspire.Cli.Tests (5)
Telemetry\InternalMicrosoftDetectorTests.cs (4)
342
var
failure = Assert.Single(result.ProbeDiagnostics, probe => probe.Source == "faulting");
479
var
diagnostic = Assert.Single(result.ProbeDiagnostics);
1009
var
diagnostic = Assert.Single(result.ProbeDiagnostics);
1084
var
diagnostic = Assert.Single(result.ProbeDiagnostics);
tests\Shared\Telemetry\TestTelemetryMetadataProviders.cs (1)
32
public IReadOnlyList<
InternalMicrosoftProbeDiagnostic
> ProbeDiagnostics { get; set; } = [];