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

OpenTracing http instrumentation links unrelated requests #2126

Closed
3 of 4 tasks
pfyod opened this issue Sep 17, 2019 · 0 comments
Closed
3 of 4 tasks

OpenTracing http instrumentation links unrelated requests #2126

pfyod opened this issue Sep 17, 2019 · 0 comments
Assignees
Labels
status: in progress type: bug Something isn't working
Milestone

Comments

@pfyod
Copy link

pfyod commented Sep 17, 2019

We are still experiencing weird tracing behavior, even after the fix for #2051. This time the issue is 100% reproducible inside a test (provided in the example application repository).

The problem probably has to do with threading / reactive things inside micronaut. I've made a second test that has the same steps, but the /ping controller is made reactive - the issue is not present there.

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem uploaded to Github
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. Create a simple controller (in our example, /ping)
  2. Enable /health endpoint
  3. Call /health endpoint
  4. Call /ping endpoint

Expected Behaviour

Two separate spans, unrelated to each other

Actual Behaviour

Two spans. /ping is a child_of /health.

Environment Information

  • Operating System: Windows and Linux
  • Micronaut Version: 1.2.2
  • JDK Version: 8

Example Application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: in progress type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants