Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JAX-RS ApplicationPath annotation #2824

Merged
merged 8 commits into from
Apr 21, 2021

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Apr 20, 2021

Span names from jax-rs should contain value of ApplicationPath annotation or the path where jax-rs servlet is mapped (implementations change servlet mapping based on ApplicationPath). Adds tests that run on jetty and bootstrap jax-rs from a ServletContainerInitializer because this is the only place that actually uses ApplicationPath annotation. Also adds tests for tomee (uses cxf) and payara (uses jersey) besides the existing wildfly (uses resteasy) test to verify that the value from ApplicationPath is added to span name in ee applications.

@laurit laurit force-pushed the jaxrs-applicationpath branch from dfc902c to 4bd7e60 Compare April 20, 2021 16:45
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

nice

@trask trask merged commit a3c0b44 into open-telemetry:main Apr 21, 2021
@laurit laurit deleted the jaxrs-applicationpath branch August 24, 2021 07:48
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.

3 participants