-
Notifications
You must be signed in to change notification settings - Fork 930
feat(otlp-transformer): add is_remote_parent span flags to OTLP exported Spans and SpanLinks #5910
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(otlp-transformer): add is_remote_parent span flags to OTLP exported Spans and SpanLinks #5910
Conversation
Shipping this feature will greatly help our product (signoz) in identifying and validating entrypoint spans. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5910 +/- ##
=======================================
Coverage 95.02% 95.02%
=======================================
Files 315 315
Lines 8218 8225 +7
Branches 1665 1666 +1
=======================================
+ Hits 7809 7816 +7
Misses 409 409
🚀 New features to boost your workflow:
|
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.
Thanks for making the changes 🙂
One more thing then this PR is ready to merge (see comment).
Edit: also please run npm run lint:fix
and commit the changes to address the linting errors :)
@pichlermarc thank you for your review and guidance. I have now made changes based on all comments and also addressed the linting fix. Let me know if we can merge this now, thank you! |
Thank you for your contribution @nikhilmantri0902! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey. |
Which problem is this PR solving?
Set SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK when the span parent is remote.
Fixes #5909
Short description of the changes
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Added unit tests
Added unit tests for buildSpanFlags
cd experimental/packages/otlp-transformer
npm run compile
Checklist: