5 instantiations of OtlpResourceSpansJson
Aspire.Cli.Tests (5)
Commands\ExportCommandTests.cs (1)
823.Select(g => new OtlpResourceSpansJson
Commands\TelemetrySpansCommandTests.cs (1)
121.Select(g => new OtlpResourceSpansJson
Commands\TelemetryTracesCommandTests.cs (1)
169.Select(g => new OtlpResourceSpansJson
Mcp\ListTracesToolTests.cs (2)
37return new OtlpResourceSpansJson 345return new OtlpResourceSpansJson
11 references to OtlpResourceSpansJson
aspire (9)
Commands\TelemetrySpansCommand.cs (2)
245private void DisplayResourceSpans(IEnumerable<OtlpResourceSpansJson> resourceSpans, IReadOnlyList<IOtlpResource> allResources) 249foreach (var resourceSpan in resourceSpans)
src\Shared\ConsoleLogs\SharedAIHelpers.cs (4)
108IList<OtlpResourceSpansJson>? resourceSpans, 137IList<OtlpResourceSpansJson>? resourceSpans, 152public static List<OtlpTraceDto> GetTracesFromOtlpData(IList<OtlpResourceSpansJson>? resourceSpans) 161foreach (var resourceSpan in resourceSpans)
src\Shared\Otlp\Serialization\OtlpCommonJson.cs (1)
110public OtlpResourceSpansJson[]? ResourceSpans { get; set; }
src\Shared\Otlp\Serialization\OtlpJsonSerializerContext.cs (1)
35[JsonSerializable(typeof(OtlpResourceSpansJson))]
src\Shared\Otlp\Serialization\OtlpTraceJson.cs (1)
266public OtlpResourceSpansJson[]? ResourceSpans { get; set; }
Aspire.Cli.Tests (2)
Mcp\ListTracesToolTests.cs (2)
26static OtlpResourceSpansJson CreateResourceSpans(string serviceName, string? serviceInstanceId, params OtlpSpanJson[] spans) 334static OtlpResourceSpansJson CreateResourceSpans(string serviceName, string? serviceInstanceId, params OtlpSpanJson[] spans)