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: make sure temporary root span is not added to the trace if Tracetest Trigger span already exists #2657

Merged
merged 2 commits into from
Jun 9, 2023

Conversation

mathnogueira
Copy link
Contributor

This PR adds new conditions on when to add the temporary root span in the trace. Now, if one of the root spans is the Tracetest trigger span, it gets promoted as the root span. This prevents the issue of having two Tracetest trigger spans in the same trace

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

@mathnogueira mathnogueira force-pushed the fix/temporary-root-span branch from 3c531a5 to 06eaf13 Compare June 5, 2023 18:47
@xoscar xoscar merged commit 5718bd4 into main Jun 9, 2023
@xoscar xoscar deleted the fix/temporary-root-span branch June 9, 2023 17:45
mathnogueira added a commit that referenced this pull request Jun 13, 2023
…test Trigger span already exists (#2657)

* fix: temporary span showing up in final trace

* improve conditions
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.

2 participants