Repository navigation
[SDK] Support TracerConfigurator updates - #4065
Merged
marcalff merged 24 commits intoJun 7, 2026
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4065 +/- ##
==========================================
- Coverage 82.02% 82.01% -0.01%
==========================================
Files 385 385
Lines 16071 16093 +22
==========================================
+ Hits 13181 13197 +16
- Misses 2890 2896 +6
🚀 New features to boost your workflow:
|
dbarker
marked this pull request as ready for review
May 7, 2026 22:53
lalitb
reviewed
May 12, 2026
lalitb
reviewed
May 12, 2026
lalitb
reviewed
May 24, 2026
lalitb
reviewed
Jun 1, 2026
marcalff
reviewed
Jun 5, 2026
lalitb
approved these changes
Jun 5, 2026
marcalff
reviewed
Jun 5, 2026
marcalff
reviewed
Jun 5, 2026
marcalff
left a comment
Member
There was a problem hiding this comment.
See suggestion for Enabled().
marcalff
reviewed
Jun 5, 2026
marcalff
approved these changes
Jun 7, 2026
marcalff
left a comment
Member
There was a problem hiding this comment.
Excellent work.
Thanks in particular for the examples, and thorough unit tests.
3 tasks
1 task done
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for updating the TracerConfigurator at runtime and provide an example.
The TracerProvider configuration includes the TracerConfigurator. SDKs may support updating the TracerConfigurator and resulting TracerConfig objects at runtime provided it is applied to previously created tracers. This feature allows dynamic enabling of tracers to turn tracing on or off without restarting the application.
https://opentelemetry.io/docs/specs/otel/trace/sdk/#configuration
Changes
TracerProvider::UpdateTracerConfiguratormethod and testsTracer::tracer_config_that will support dynamic updates including growth beyond the enabled bool.For significant contributions please make sure you have completed the following items:
CHANGELOG.mdupdated for non-trivial changes