4 writes to ScopeSpans
Aspire.Dashboard (3)
Model\TelemetryExportService.cs (3)
283ScopeSpans = resourceGroup 315ScopeSpans = 342ScopeSpans = resourceGroup
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
541ScopeSpans =
17 references to ScopeSpans
Aspire.Dashboard (2)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
77if (json.ScopeSpans is not null) 79foreach (var ss in json.ScopeSpans)
Aspire.Dashboard.Tests (15)
Model\TelemetryExportServiceTests.cs (14)
317Assert.NotNull(resourceSpans.ScopeSpans); 318Assert.Single(resourceSpans.ScopeSpans); 320var scopeSpans = resourceSpans.ScopeSpans[0]; 376var spans = result.ResourceSpans![0].ScopeSpans![0].Spans!; 430var span = result.ResourceSpans![0].ScopeSpans![0].Spans![0]; 474var span = result.ResourceSpans![0].ScopeSpans![0].Spans![0]; 510.SelectMany(resourceSpans => resourceSpans.ScopeSpans!) 731var span = tracesData?.ResourceSpans?.FirstOrDefault()?.ScopeSpans?.FirstOrDefault()?.Spans?.FirstOrDefault(); 882var exportedSpans = Assert.Single(tracesData!.ResourceSpans!).ScopeSpans!.SelectMany(scope => scope.Spans!).ToList(); 1065Assert.NotNull(data.ResourceSpans[0].ScopeSpans); 1066Assert.Single(data.ResourceSpans[0].ScopeSpans![0].Spans!); 1117Assert.Single(data.ResourceSpans[0].ScopeSpans![0].Spans!); 1178Assert.Equal(2, data.ResourceSpans[0].ScopeSpans![0].Spans!.Length); 1221Assert.Equal(2, data.ResourceSpans[0].ScopeSpans![0].Spans!.Length);
TelemetryApiServiceTests.cs (1)
827.SelectMany(rs => rs.ScopeSpans ?? [])