Skip to content

Getting URL path in span name with Tomcat #8885

Answered by trask
dolzenko asked this question in Q&A
Discussion options

You must be logged in to vote

hi @dolzenko, the Java agent has instrumentation for many common web frameworks to capture their "routes", check out https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md#libraries--frameworks.

unfortunately, there's nothing for rails on jruby

probably your easiest option would be to update the span names in code using Span.current().updateName(...)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dolzenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants