6 references to AspireDestinationNameAttribute
Aspire.Dashboard (4)
Model\TelemetryExportService.cs (1)
406? () => [new KeyValuePair<string, string>(OtlpHelpers.AspireDestinationNameAttribute, destinationName)]
Otlp\Storage\TelemetryRepository.cs (1)
1452Attributes = span.Attributes.ToKeyValuePairs(context, filter: attribute => attribute.Key != OtlpHelpers.AspireDestinationNameAttribute),
src\Shared\ConsoleLogs\SharedAIHelpers.cs (2)
221foreach (var attr in span.Attributes.Where(a => a.Key != OtlpHelpers.AspireDestinationNameAttribute)) 240var destination = GetAttributeStringValue(span.Attributes, OtlpHelpers.AspireDestinationNameAttribute);
Aspire.Dashboard.Tests (2)
Model\TelemetryExportServiceTests.cs (2)
419Assert.Contains(span.Attributes, a => a.Key == OtlpHelpers.AspireDestinationNameAttribute && a.Value?.StringValue == "target-service"); 462Assert.DoesNotContain(span.Attributes, a => a.Key == OtlpHelpers.AspireDestinationNameAttribute);