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

Paraya 6 JAX-RS invalid transaction name + no span captured with @Trace #3943

Open
SylvainJuge opened this issue Jan 16, 2025 · 0 comments
Open

Comments

@SylvainJuge
Copy link
Member

This was initially reported in our forum:

https://discuss.elastic.co/t/problem-with-distributing-tracing-for-jakarta-10-and-payara-6/372920/6

With the provided test application in https://github.com/ciment7/jakarta-test we can reproduce the following symptoms:

  • the first execution of the jax-rs resource is properly named (1)
  • the second and following executions of jax-rs are named from the servlet transaction (2)
  • no extra span is being captured for the method annotated with @Traced (3)

For 1) and 2), the issue seems to happen because in the first case the servlet transaction wraps the jax-rs resource execution, and in the second case the jax-rs invocation is made without parent servlet transaction, which is something that we don't support as described in #1752 issue.

For 3) this is probably a related issue but I have not found any hint of what could be wrong here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant