Model\TelemetryExportService.cs (14)
165var resourceName = OtlpHelpers.GetResourceName(resource, resources);
181var resourceName = OtlpHelpers.GetResourceName(resource, resources);
221var resourceName = OtlpHelpers.GetResourceName(resource, resources);
257TimeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(log.TimeStamp),
263new KeyValuePair<string, string>(OtlpHelpers.AspireLogIdAttribute, log.InternalId.ToString(CultureInfo.InvariantCulture))
394StartTimeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(span.StartTime),
395EndTimeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(span.EndTime),
397? () => [new KeyValuePair<string, string>(OtlpHelpers.AspireDestinationNameAttribute, destinationName)]
424TimeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(evt.Time),
537StartTimeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(value.Start),
538TimeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(value.End),
575StartTimeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(value.Start),
576TimeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(value.End),
595TimeUnixNano = OtlpHelpers.DateTimeToUnixNanoseconds(e.Start),
Otlp\Model\OtlpSpan.cs (11)
189else if (!string.IsNullOrEmpty(OtlpHelpers.GetValue(span.Attributes, "db.system")))
191var dbSystem = OtlpHelpers.GetValue(span.Attributes, "db.system");
195else if (!string.IsNullOrEmpty(OtlpHelpers.GetValue(span.Attributes, "rpc.system")))
197var rpcSystem = OtlpHelpers.GetValue(span.Attributes, "rpc.system");
198var rpcService = OtlpHelpers.GetValue(span.Attributes, "rpc.service");
199var rpcMethod = OtlpHelpers.GetValue(span.Attributes, "rpc.method");
203var grpcStatusCode = OtlpHelpers.GetValue(span.Attributes, "rpc.grpc.status_code");
216else if (!string.IsNullOrEmpty(OtlpHelpers.GetValue(span.Attributes, "messaging.system")))
218var messagingSystem = OtlpHelpers.GetValue(span.Attributes, "messaging.system");
219var messagingOperation = OtlpHelpers.GetValue(span.Attributes, "messaging.operation");
220var destinationName = OtlpHelpers.GetValue(span.Attributes, "messaging.destination.name");