-
Notifications
You must be signed in to change notification settings - Fork 857
[sdk-traces] Add support for OTEL_TRACES_SAMPLER and OTEL_TRACES_SAMPLER_ARG #5448
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
844b103
config driven sampler config with default fallback
matt-hensley 746d139
basic test cases
matt-hensley e3af439
additional log
matt-hensley bbc4435
CHANGELOG entry
matt-hensley de6e89a
nullabe not needed
matt-hensley 0e1d3a7
restructure for logging when sampler was previously set
matt-hensley cc2578f
log message consistency
matt-hensley 91e2155
make nullable explicit
matt-hensley 9888beb
Update src/OpenTelemetry/Trace/TracerProviderSdk.cs
matt-hensley f9f9ffa
trailing spaces from GitHub editor
matt-hensley 36d6c99
misc formatting
matt-hensley 236c14a
adjust CHANGELOG entry
matt-hensley bf84a97
add test to ensure programmatic usage takes precedence
matt-hensley 4f4f7b1
default value for debugging
matt-hensley 4ccfd1d
log type info per feedback
matt-hensley 1b3e472
rename var
matt-hensley 4ac637e
reference env var
matt-hensley 098eff6
rename method
matt-hensley 779467b
if/else -> switch per feedback
matt-hensley a253144
document supported env vars
matt-hensley f12142f
document supported values. jaeger_remote and xray are not supported
matt-hensley 96b568f
add dedicated warning logging for invalid values
matt-hensley 8035ca6
copy/paste error
matt-hensley 282ee74
language suggestion
matt-hensley 6aea8ee
nullable warning
matt-hensley 1ea40e8
addtional test
matt-hensley 29bc01e
adjust to always have config keys present
matt-hensley db9093d
markdown linter error
matt-hensley bb35bce
Merge branch 'main' into sampler-config
matt-hensley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.