diff --git a/input/otlp/traces.go b/input/otlp/traces.go index f034ba9a..4c7493e8 100644 --- a/input/otlp/traces.go +++ b/input/otlp/traces.go @@ -70,6 +70,8 @@ const ( attributeNetworkMNC = "net.host.carrier.mnc" attributeNetworkCarrierName = "net.host.carrier.name" attributeNetworkICC = "net.host.carrier.icc" + + attributeUrlFull = "url.full" ) // ConsumeTraces consumes OpenTelemetry trace data, @@ -651,6 +653,11 @@ func TranslateSpan(spanKind ptrace.SpanKind, attributes pcommon.Map, event *mode isRPC = true case semconv.AttributeRPCMethod: + // url.* + case attributeUrlFull: + httpURL = stringval + isHTTP = true + // miscellaneous case "span.kind": // filter out case semconv.AttributePeerService: