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

feat(opentracer): implement active_span #1395

Merged
merged 3 commits into from
May 14, 2020
Merged

Conversation

Kyle-Verhoog
Copy link
Member

@Kyle-Verhoog Kyle-Verhoog commented May 2, 2020

This PR implements active_span on the opentracing tracer. This now will allow opentracing library users to obtain the active span when using datadog instrumentation.

Should fix #1153.

@Kyle-Verhoog Kyle-Verhoog marked this pull request as ready for review May 4, 2020 14:42
@Kyle-Verhoog Kyle-Verhoog requested a review from a team as a code owner May 4, 2020 14:42
Comment on lines +288 to +290
else:
ot_span = None
return ot_span
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
else:
ot_span = None
return ot_span
return ot_span

@Kyle-Verhoog Kyle-Verhoog merged commit 5dfce22 into master May 14, 2020
@Kyle-Verhoog Kyle-Verhoog deleted the kylev/ot_active_span branch May 14, 2020 20:49
@Kyle-Verhoog Kyle-Verhoog added this to the 0.38.0 milestone May 15, 2020
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.

Opentracing active_span not working without starting new child span
2 participants