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