opentelemetry-python
opentelemetry-python copied to clipboard
feat: add support for 'random-trace-id' flags in W3C traceparent header trace flags
Description
Adds support for populating the random-trace-id flags in the W3C traceparent header based on the W3C trace context specification: https://www.w3.org/TR/trace-context-2/#random-trace-id-flag
Implements #4826
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
How Has This Been Tested?
Unit test cases have been updated, and additional tests have been added.
Does This PR Require a Contrib Repo Change?
- [x] Yes. - Link to PR: https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4030
- [ ] No.
Checklist:
- [x] Followed the style guidelines of this project
- [x] Changelogs have been updated
- [x] Unit tests have been added
- [x] Documentation has been updated