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)
541var resourceSpans = serviceNames.Select(name => new OtlpResourceSpansJson
Mcp\ListTracesToolTests.cs (2)
101return new OtlpResourceSpansJson 403return new OtlpResourceSpansJson
ProfileCaptureServiceTests.cs (1)
698new OtlpResourceSpansJson
20 references to OtlpResourceSpansJson
aspire (14)
Commands\TelemetrySpansCommand.cs (2)
229private void DisplayResourceSpans(IEnumerable<OtlpResourceSpansJson> resourceSpans, IReadOnlyList<IOtlpResource> allResources, string dashboardUrl) 233foreach (var resourceSpan in resourceSpans)
Profiling\ProfileCaptureService.cs (1)
465foreach (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)
90static OtlpResourceSpansJson CreateResourceSpans(string serviceName, string? serviceInstanceId, params OtlpSpanJson[] spans) 392static OtlpResourceSpansJson CreateResourceSpans(string serviceName, string? serviceInstanceId, params OtlpSpanJson[] spans)