5 writes to ScopeSpans
Aspire.Dashboard (4)
Model\TelemetryExportService.cs (3)
290ScopeSpans = resourceGroup 322ScopeSpans = 349ScopeSpans = resourceGroup
OtlpJsonSerializerContext.OtlpResourceSpansJson.g.cs (1)
59Setter = static (obj, value) => ((global::Aspire.Otlp.Serialization.OtlpResourceSpansJson)obj).ScopeSpans = value!,
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
488ScopeSpans =
18 references to ScopeSpans
Aspire.Dashboard (6)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
77if (json.ScopeSpans is not null) 79foreach (var ss in json.ScopeSpans)
OtlpJsonSerializerContext.OtlpResourceSpansJson.g.cs (2)
58Getter = static obj => ((global::Aspire.Otlp.Serialization.OtlpResourceSpansJson)obj).ScopeSpans, 126global::Aspire.Otlp.Serialization.OtlpScopeSpansJson[] __value_ScopeSpans = ((global::Aspire.Otlp.Serialization.OtlpResourceSpansJson)value).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);