4 writes to ScopeSpans
Aspire.Dashboard (3)
Model\TelemetryExportService.cs (3)
291ScopeSpans = resourceGroup 323ScopeSpans = 350ScopeSpans = resourceGroup
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
488ScopeSpans =
16 references to ScopeSpans
Aspire.Dashboard (4)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
77if (json.ScopeSpans is not null) 79foreach (var ss in json.ScopeSpans)
src\Shared\ConsoleLogs\SharedAIHelpers.cs (2)
165if (resourceSpan.ScopeSpans is null) 170foreach (var scopeSpan in resourceSpan.ScopeSpans)
Aspire.Dashboard.Tests (12)
Model\TelemetryExportServiceTests.cs (12)
306Assert.NotNull(resourceSpans.ScopeSpans); 307Assert.Single(resourceSpans.ScopeSpans); 309var scopeSpans = resourceSpans.ScopeSpans[0]; 364var spans = result.ResourceSpans![0].ScopeSpans![0].Spans!; 417var span = result.ResourceSpans![0].ScopeSpans![0].Spans![0]; 460var span = result.ResourceSpans![0].ScopeSpans![0].Spans![0]; 671var span = tracesData?.ResourceSpans?.FirstOrDefault()?.ScopeSpans?.FirstOrDefault()?.Spans?.FirstOrDefault(); 901Assert.NotNull(data.ResourceSpans[0].ScopeSpans); 902Assert.Single(data.ResourceSpans[0].ScopeSpans![0].Spans!); 952Assert.Single(data.ResourceSpans[0].ScopeSpans![0].Spans!); 1012Assert.Equal(2, data.ResourceSpans[0].ScopeSpans![0].Spans!.Length); 1054Assert.Equal(2, data.ResourceSpans[0].ScopeSpans![0].Spans!.Length);