Customizing Operation/Span for JAX-RS #578
Unanswered
dmossakowski
asked this question in
General
Replies: 2 comments 3 replies
-
This follows Otel semantic conventions which says that span name for HTTP server spans should be the route that the request was mapped to. Currently there is no built-in way to change this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks Nikita, I saw somewhere that there was a way to configure routes. Is that a possible avenue for doing this? Could we manually specify routes based on a dynamic condition where http.target=ws/someMethod ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, in our application we use very few entry points which are like:
When this is mapped to /ws we see a single operation as ws/{method: .+} and all requests against it.
As you can imagine this is not very useful. I know that this could be done in code to set name of the Span but is there a way to configure this to use http.target or http.url information?
Beta Was this translation helpful? Give feedback.
All reactions