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

Propagators, java agent and spring boot application - traces are gone for some endpoints #12617

Open
lucian-vanghele opened this issue Nov 12, 2024 · 4 comments
Labels
bug Something isn't working needs author feedback Waiting for additional feedback from the author needs repro needs triage New issue that requires triage stale

Comments

@lucian-vanghele
Copy link

Describe the bug

We have an API autoinstrumented with javaagent, sending traces to Tempo via otel collector. From upstream we are receiving in our application uber-trace-id so we tried to use the propagators feature. It seems that after adding otel_propagators=tracecontext,jaeger on javaagent all the protected endpoints lost tracing data. We only have traces for unprotected endpoints. Removing the option brings back the tracing.

Steps to reproduce

  • add otel_propagators=tracecontext,jaeger on javaagent
  • restart the service and trigger some calls on different endpoints
  • check traces sent to backend

Expected behavior

traces should still work after adding otel_propagators on all endpoints

Actual behavior

traces are not produced for protected endpoints.

Javaagent or library instrumentation version

javaagent 2.7.0

Environment

JDK: java-17-openjdk
OS: RHEL 5.14.0
[SpringBoot]org.springframework:spring-webmvc:jar:6.1.12

Additional context

No response

@lucian-vanghele lucian-vanghele added bug Something isn't working needs triage New issue that requires triage labels Nov 12, 2024
@laurit
Copy link
Contributor

laurit commented Nov 12, 2024

Please provide a minimal application that reproduces the issue along with any necessary instructions.

@laurit laurit added needs author feedback Waiting for additional feedback from the author needs repro labels Nov 12, 2024
@lucian-vanghele
Copy link
Author

Please provide a minimal application that reproduces the issue along with any necessary instructions.

Sorry, I can't provide an application as I'm not testing it in a "hello world" environment

@github-actions github-actions bot removed the needs author feedback Waiting for additional feedback from the author label Nov 12, 2024
@trask
Copy link
Member

trask commented Nov 13, 2024

hi @lucian-vanghele, it's really hard to guess what the problem might be. If you aren't able to narrow it down to a minimal repro that we can use to troubleshoot then it will be difficult for us to help you.

@laurit laurit added the needs author feedback Waiting for additional feedback from the author label Nov 15, 2024
Copy link
Contributor

This has been automatically marked as stale because it has been marked as needing author feedback and has not had any activity for 7 days. It will be closed automatically if there is no response from the author within 7 additional days from this comment.

@github-actions github-actions bot added the stale label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs author feedback Waiting for additional feedback from the author needs repro needs triage New issue that requires triage stale
Projects
None yet
Development

No branches or pull requests

3 participants