-
In Otel for all requests hit to a path that is not exposed or mapped in servletMapping (servletRegistration.getMappings()), http.route is set to {servletContextPath}/* Can someone please help me in understanding the use case as well as where can i find the code in repo , i tried checking for it in tomcat as well as servlet instrumentation but could not find exact code which is responsible for this transformation/updation for http.route |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
See |
Beta Was this translation helpful? Give feedback.
-
is there a way to het the actual path for those 404 cases as well? |
Beta Was this translation helpful? Give feedback.
See
opentelemetry-java-instrumentation/instrumentation/servlet/servlet-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/ServletSpanNameProvider.java
Line 25 in 1c07aa5