26 references to GetValue
Aspire.Dashboard (26)
Components\Controls\Chart\ChartContainer.razor.cs (1)
153
var value = OtlpHelpers.
GetValue
(attributes, filter.Name);
Model\BrowserLinkOutgoingPeerResolver.cs (2)
37
var url = OtlpHelpers.
GetValue
(attributes, "url.full") ?? OtlpHelpers.
GetValue
(attributes, "http.url");
Otlp\Model\OtlpHelpers.cs (5)
349
var address =
GetValue
(values, OtlpSpan.PeerServiceAttributeKey);
356
if (
GetValue
(values, OtlpSpan.ServerAddressAttributeKey) is { } server)
358
if (
GetValue
(values, OtlpSpan.ServerPortAttributeKey) is { } serverPort)
366
if (
GetValue
(values, OtlpSpan.NetPeerNameAttributeKey) is { } peer)
368
if (
GetValue
(values, OtlpSpan.NetPeerPortAttributeKey) is { } peerPort)
Otlp\Model\OtlpInstrument.cs (1)
93
var currentDimensionValue = OtlpHelpers.
GetValue
(durableAttributes, key);
Otlp\Model\OtlpLogEntry.cs (2)
120
_ => log.Attributes.
GetValue
(field)
151
return logEntry.Attributes.
GetValue
(propertyName);
Otlp\Model\OtlpSpan.cs (15)
138
if (!string.IsNullOrEmpty(OtlpHelpers.
GetValue
(span.Attributes, "http.method")))
140
var httpMethod = OtlpHelpers.
GetValue
(span.Attributes, "http.method");
141
var statusCode = OtlpHelpers.
GetValue
(span.Attributes, "http.status_code");
145
else if (!string.IsNullOrEmpty(OtlpHelpers.
GetValue
(span.Attributes, "db.system")))
147
var dbSystem = OtlpHelpers.
GetValue
(span.Attributes, "db.system");
151
else if (!string.IsNullOrEmpty(OtlpHelpers.
GetValue
(span.Attributes, "rpc.system")))
153
var rpcSystem = OtlpHelpers.
GetValue
(span.Attributes, "rpc.system");
154
var rpcService = OtlpHelpers.
GetValue
(span.Attributes, "rpc.service");
155
var rpcMethod = OtlpHelpers.
GetValue
(span.Attributes, "rpc.method");
159
var grpcStatusCode = OtlpHelpers.
GetValue
(span.Attributes, "rpc.grpc.status_code");
172
else if (!string.IsNullOrEmpty(OtlpHelpers.
GetValue
(span.Attributes, "messaging.system")))
174
var messagingSystem = OtlpHelpers.
GetValue
(span.Attributes, "messaging.system");
175
var messagingOperation = OtlpHelpers.
GetValue
(span.Attributes, "messaging.operation");
176
var destinationName = OtlpHelpers.
GetValue
(span.Attributes, "messaging.destination.name");
199
_ => span.Attributes.
GetValue
(field)