Skip to content

Conversation

@jaydeluca
Copy link
Member

Part of #14096

This instrumentation enables controller spans for Mojarra JSF action listeners (controller spans are disabled by default).
library_link: https://github.com/eclipse-ee4j/mojarra
features:
- CONTROLLER_SPANS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besides controller spans jsf instrumentations also update the server span name, but they don't update the route

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i was on the fence about including that detail as a feature, but thinking more about it, i think we should. I think it's useful to know when an instrumentation might impact a server span generated by another instrumentation. I'm going to followup and add a new SERVER_SPAN_NAME feature

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are a bit inconsistent with this. There are some instrumentations that update just the span name and some that update the route even though the set route won't match what was actually requested (it is questionable whether such usage of route is allowed by spec). Metadata of some jaxws instrumentations also includes HTTP_ROUTE although these also just set the server span name.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea, i was just doing some digging and identified cxf, metro, and axis jaxws all fall into this category. I'm going to review more

@laurit laurit merged commit a08a6b4 into open-telemetry:main Nov 4, 2025
89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants