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

Fix JAX-RS instrumentation from overriding play framework span resource names. #8591

Draft
wants to merge 2 commits into
base: release/v1.34.x
Choose a base branch
from

Conversation

ygree
Copy link
Contributor

@ygree ygree commented Mar 19, 2025

What Does This Do

Experimental change to prevent JAX-RS instrumentation from overriding play framework span resource names.

Motivation

Try to determine the cause of the problem.

Additional Notes

Currently target 1.34.0 as this problem was observed in that version.

A caveat to using ResourceNamePriorities.HTTP_FRAMEWORK_ROUTE priority 3 instead of ResourceNamePriorities.HTTP_PATH_NORMALIZER priority 1 for the root span; this prevents the resource from being set to 404 when the status code is 404 because ResourceNamePriorities.HTTP_404 has a lower priority of 2.

Contributor Checklist

Jira ticket: APMS-14549

@ygree ygree self-assigned this Mar 19, 2025
@ygree ygree force-pushed the ygree/fix-play-jaxrs-resource-name-priority branch from 162d4fe to 0e7401c Compare March 20, 2025 00:13
@ygree ygree changed the title Experimental change to prevent JAX-RS instrumentation from overriding play framework span resource names. Fix JAX-RS instrumentation from overriding play framework span resource names. Mar 20, 2025
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.

1 participant