4 writes to Resource
Aspire.Dashboard (3)
Model\TelemetryExportService.cs (3)
282
Resource
= ConvertResourceView(firstSpan.Source),
314
Resource
= ConvertResourceView(span.Source),
341
Resource
= ConvertResourceView(firstSpan.Source),
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
533
Resource
= new OtlpResourceJson
7 references to Resource
Aspire.Dashboard (2)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
73
if (json.
Resource
is not null)
75
resourceSpans.Resource = ToProtobuf(json.
Resource
);
Aspire.Dashboard.Tests (5)
Model\TelemetryExportServiceTests.cs (5)
313
Assert.NotNull(resourceSpans.
Resource
);
314
Assert.NotNull(resourceSpans.
Resource
.Attributes);
315
Assert.Contains(resourceSpans.
Resource
.Attributes, a => a.Key == OtlpResource.SERVICE_NAME && a.Value?.StringValue == "TestService");
1064
Assert.NotNull(data.ResourceSpans[0].
Resource
?.Attributes);
1220
Assert.NotNull(data.ResourceSpans[0].
Resource
?.Attributes);