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