11 instantiations of OtlpResourceSpansJson
Aspire.Cli.Tests (11)
Commands\ExportCommandTests.cs (1)
1005.Select(g => new OtlpResourceSpansJson
Commands\TelemetrySpansCommandTests.cs (2)
125.Select(g => new OtlpResourceSpansJson 311new()
Commands\TelemetryTracesCommandTests.cs (4)
50new() 156new() 370.Select(g => new OtlpResourceSpansJson 516new()
Mcp\ExcludeFromMcpTests.cs (1)
507var resourceSpans = serviceNames.Select(name => new OtlpResourceSpansJson
Mcp\ListTracesToolTests.cs (2)
37return new OtlpResourceSpansJson 339return new OtlpResourceSpansJson
ProfileCaptureServiceTests.cs (1)
635new OtlpResourceSpansJson
20 references to OtlpResourceSpansJson
aspire (14)
Commands\TelemetrySpansCommand.cs (2)
226private void DisplayResourceSpans(IEnumerable<OtlpResourceSpansJson> resourceSpans, IReadOnlyList<IOtlpResource> allResources, string dashboardUrl) 230foreach (var resourceSpan in resourceSpans)
Profiling\ProfileCaptureService.cs (1)
462foreach (var resourceSpans in response?.Data?.ResourceSpans ?? [])
src\Shared\ConsoleLogs\SharedAIHelpers.cs (8)
108IList<OtlpResourceSpansJson>? resourceSpans, 137IList<OtlpResourceSpansJson>? resourceSpans, 154IList<OtlpResourceSpansJson>? resourceSpans, 182IList<OtlpResourceSpansJson>? resourceSpans, 283public static List<OtlpSpanDto> GetSpanDtosFromOtlpData(IList<OtlpResourceSpansJson>? resourceSpans) 292foreach (var resourceSpan in resourceSpans) 323public static List<OtlpTraceDto> GetTracesFromOtlpData(IList<OtlpResourceSpansJson>? resourceSpans) 332foreach (var resourceSpan in resourceSpans)
src\Shared\Otlp\Serialization\OtlpCommonJson.cs (1)
110public OtlpResourceSpansJson[]? ResourceSpans { get; set; }
src\Shared\Otlp\Serialization\OtlpJsonSerializerContext.cs (1)
38[JsonSerializable(typeof(OtlpResourceSpansJson))]
src\Shared\Otlp\Serialization\OtlpTraceJson.cs (1)
266public OtlpResourceSpansJson[]? ResourceSpans { get; set; }
Aspire.Cli.Tests (6)
Commands\TelemetrySpansCommandTests.cs (1)
309var resourceSpans = new OtlpResourceSpansJson[]
Commands\TelemetryTracesCommandTests.cs (3)
48var resourceSpans = new OtlpResourceSpansJson[] 154var resourceSpans = new OtlpResourceSpansJson[] 514var resourceSpans = new OtlpResourceSpansJson[]
Mcp\ListTracesToolTests.cs (2)
26static OtlpResourceSpansJson CreateResourceSpans(string serviceName, string? serviceInstanceId, params OtlpSpanJson[] spans) 328static OtlpResourceSpansJson CreateResourceSpans(string serviceName, string? serviceInstanceId, params OtlpSpanJson[] spans)