35 references to GetValue
Aspire.Dashboard (35)
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\GenAI\GenAIVisualizerDialogViewModel.cs (7)
70viewModel.ModelName = viewModel.Span.Attributes.GetValue(GenAIHelpers.GenAIResponseModel); 108viewModel.Span.Attributes.GetValue("error.type"), 182var systemInstructions = viewModel.Span.Attributes.GetValue(GenAIHelpers.GenAISystemInstructions); 183var inputMessages = viewModel.Span.Attributes.GetValue(GenAIHelpers.GenAIInputMessages); 184var outputMessages = viewModel.Span.Attributes.GetValue(GenAIHelpers.GenAIOutputInstructions); 210if (item.Attributes.GetValue("event.name") is { } name && TryMapEventName(name, out var type)) 229var content = item.Attributes.GetValue(GenAIHelpers.GenAIEventContent);
Model\SpanType.cs (1)
98if (!string.IsNullOrEmpty(span.Attributes.GetValue(attributeName)))
Model\StructureLogsDetailsViewModel.cs (2)
15var eventName = OtlpHelpers.GetValue(logEntry.Attributes, "event.name") 16?? OtlpHelpers.GetValue(logEntry.Attributes, "logrecord.event.name")
Otlp\Model\OtlpHelpers.cs (7)
340if (values.GetValue(name) is { } value) 351var value = values.GetValue(name); 375var address = GetValue(values, OtlpSpan.PeerServiceAttributeKey); 382if (GetValue(values, OtlpSpan.ServerAddressAttributeKey) is { } server) 384if (GetValue(values, OtlpSpan.ServerPortAttributeKey) is { } serverPort) 392if (GetValue(values, OtlpSpan.NetPeerNameAttributeKey) is { } peer) 394if (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 (12)
187else if (!string.IsNullOrEmpty(OtlpHelpers.GetValue(span.Attributes, "db.system"))) 189var dbSystem = OtlpHelpers.GetValue(span.Attributes, "db.system"); 193else if (!string.IsNullOrEmpty(OtlpHelpers.GetValue(span.Attributes, "rpc.system"))) 195var rpcSystem = OtlpHelpers.GetValue(span.Attributes, "rpc.system"); 196var rpcService = OtlpHelpers.GetValue(span.Attributes, "rpc.service"); 197var rpcMethod = OtlpHelpers.GetValue(span.Attributes, "rpc.method"); 201var grpcStatusCode = OtlpHelpers.GetValue(span.Attributes, "rpc.grpc.status_code"); 214else if (!string.IsNullOrEmpty(OtlpHelpers.GetValue(span.Attributes, "messaging.system"))) 216var messagingSystem = OtlpHelpers.GetValue(span.Attributes, "messaging.system"); 217var messagingOperation = OtlpHelpers.GetValue(span.Attributes, "messaging.operation"); 218var destinationName = OtlpHelpers.GetValue(span.Attributes, "messaging.destination.name"); 241_ => span.Attributes.GetValue(field)