4 references to GetValueWithFallback
Aspire.Dashboard (4)
Model\GenAI\GenAIHelpers.cs (1)
39
return attributes.
GetValueWithFallback
(GenAISystem, GenAIProviderName) is { Length: > 0 };
Model\ResourceOutgoingPeerResolver.cs (1)
188
var matchContext = new PeerMatchContext(resources, attributes.
GetValueWithFallback
(DatabaseNamespaceAttribute, DatabaseNameAttribute));
Otlp\Model\OtlpSpan.cs (2)
178
if (span.Attributes.
GetValueWithFallback
("http.request.method", "http.method") is { Length: > 0 } httpMethod)
180
var statusCode = span.Attributes.
GetValueWithFallback
("http.response.status_code", "http.status_code");