5 references to AspireDestinationNameAttribute
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
397
? () => [new KeyValuePair<string, string>(OtlpHelpers.
AspireDestinationNameAttribute
, destinationName)]
Otlp\Storage\SqliteTelemetryRepository.Traces.Writes.cs (1)
936
Attributes = span.Attributes.ToKeyValuePairs(_otlpContext, filter: attribute => attribute.Key != OtlpHelpers.
AspireDestinationNameAttribute
),
Aspire.Dashboard.Tests (3)
Model\TelemetryExportServiceTests.cs (3)
432
Assert.Contains(span.Attributes, a => a.Key == OtlpHelpers.
AspireDestinationNameAttribute
&& a.Value?.StringValue == "target-service");
476
Assert.Contains(span.Attributes, a => a.Key == OtlpHelpers.
AspireDestinationNameAttribute
&& a.Value?.StringValue == "target-service");
515
attribute => attribute.Key == OtlpHelpers.
AspireDestinationNameAttribute
&& attribute.Value?.StringValue == "destination-replica-1");