davsclaus commented on code in PR #11531:
URL: https://github.com/apache/camel/pull/11531#discussion_r1335218660


##########
components/camel-tracing/src/main/java/org/apache/camel/tracing/decorators/AbstractSpanDecorator.java:
##########
@@ -99,9 +100,14 @@ public void pre(SpanAdapter span, Exchange exchange, 
Endpoint endpoint) {
         span.setComponent(CAMEL_COMPONENT + scheme);
 
         // Including the endpoint URI provides access to any options that may
-        // have been provided, for
-        // subsequent analysis
-        span.setTag("camel.uri", 
URISupport.sanitizeUri(endpoint.getEndpointUri()));
+        // have been provided, for subsequent analysis
+        String uri = URISupport.sanitizeUri(endpoint.getEndpointUri());
+        span.setTag("camel.uri", uri);
+        span.setTag(TagConstants.URL_PATH, stripSchemeAndOptions(endpoint));

Review Comment:
   Should URL_SCHEME also be set as a tag ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to