-
Notifications
You must be signed in to change notification settings - Fork 438
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
[API] Create root span with active span #2427
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2427 +/- ##
==========================================
- Coverage 87.06% 87.06% -0.00%
==========================================
Files 199 199
Lines 6080 6087 +7
==========================================
+ Hits 5293 5299 +6
- Misses 787 788 +1
|
As discussed in SIG meeting, the fix principle looks ok. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one suggestion.
Nice trick to have the fix in ABIv1.
Fixes #2413
Changes
A safe ABIv1 approach (non-ABI/non-API breaking) I can think of - passing Context with ("is_root_span", true) value.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes