28 references to GetValue
Aspire.Dashboard (28)
Components\Controls\Chart\ChartContainer.razor.cs (1)
153var value = OtlpHelpers.GetValue(attributes, filter.Name);
Model\BrowserLinkOutgoingPeerResolver.cs (2)
37var url = OtlpHelpers.GetValue(attributes, "url.full") ?? OtlpHelpers.GetValue(attributes, "http.url");
Model\StructureLogsDetailsViewModel.cs (2)
15var eventName = OtlpHelpers.GetValue(logEntry.Attributes, "event.name") 16?? OtlpHelpers.GetValue(logEntry.Attributes, "logrecord.event.name")
Otlp\Model\OtlpHelpers.cs (5)
349var address = GetValue(values, OtlpSpan.PeerServiceAttributeKey); 356if (GetValue(values, OtlpSpan.ServerAddressAttributeKey) is { } server) 358if (GetValue(values, OtlpSpan.ServerPortAttributeKey) is { } serverPort) 366if (GetValue(values, OtlpSpan.NetPeerNameAttributeKey) is { } peer) 368if (GetValue(values, OtlpSpan.NetPeerPortAttributeKey) is { } peerPort)
Otlp\Model\OtlpInstrument.cs (1)
93var currentDimensionValue = OtlpHelpers.GetValue(durableAttributes, key);
Otlp\Model\OtlpLogEntry.cs (2)
122_ => log.Attributes.GetValue(field) 153return logEntry.Attributes.GetValue(propertyName);
Otlp\Model\OtlpSpan.cs (15)
144if (!string.IsNullOrEmpty(OtlpHelpers.GetValue(span.Attributes, "http.method"))) 146var httpMethod = OtlpHelpers.GetValue(span.Attributes, "http.method"); 147var statusCode = OtlpHelpers.GetValue(span.Attributes, "http.status_code"); 151else if (!string.IsNullOrEmpty(OtlpHelpers.GetValue(span.Attributes, "db.system"))) 153var dbSystem = OtlpHelpers.GetValue(span.Attributes, "db.system"); 157else if (!string.IsNullOrEmpty(OtlpHelpers.GetValue(span.Attributes, "rpc.system"))) 159var rpcSystem = OtlpHelpers.GetValue(span.Attributes, "rpc.system"); 160var rpcService = OtlpHelpers.GetValue(span.Attributes, "rpc.service"); 161var rpcMethod = OtlpHelpers.GetValue(span.Attributes, "rpc.method"); 165var grpcStatusCode = OtlpHelpers.GetValue(span.Attributes, "rpc.grpc.status_code"); 178else if (!string.IsNullOrEmpty(OtlpHelpers.GetValue(span.Attributes, "messaging.system"))) 180var messagingSystem = OtlpHelpers.GetValue(span.Attributes, "messaging.system"); 181var messagingOperation = OtlpHelpers.GetValue(span.Attributes, "messaging.operation"); 182var destinationName = OtlpHelpers.GetValue(span.Attributes, "messaging.destination.name"); 205_ => span.Attributes.GetValue(field)