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