1 write to Attributes
Aspire.Dashboard (1)
Model\TelemetryExportService.cs (1)
396
Attributes
= ConvertAttributes(span.Attributes, destinationName is not null
10 references to Attributes
Aspire.Dashboard (2)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
151
if (json.
Attributes
is not null)
153
foreach (var attr in json.
Attributes
)
Aspire.Dashboard.Tests (8)
Model\TelemetryExportServiceTests.cs (8)
337
Assert.NotNull(span.
Attributes
);
338
Assert.Contains(span.
Attributes
, a => a.Key == "http.method" && a.Value?.StringValue == "GET");
431
Assert.NotNull(span.
Attributes
);
432
Assert.Contains(span.
Attributes
, a => a.Key == OtlpHelpers.AspireDestinationNameAttribute && a.Value?.StringValue == "target-service");
475
Assert.NotNull(span.
Attributes
);
476
Assert.Contains(span.
Attributes
, a => a.Key == OtlpHelpers.AspireDestinationNameAttribute && a.Value?.StringValue == "target-service");
514
exportedParent.
Attributes
!,
884
Assert.All(exportedSpans, span => Assert.Contains(span.
Attributes
!, attribute => attribute.Key == "trace.index"));