Changed sampling type env var and updated collector help text#3302
Merged
yurishkuro merged 6 commits intojaegertracing:masterfrom Oct 4, 2021
Merged
Changed sampling type env var and updated collector help text#3302yurishkuro merged 6 commits intojaegertracing:masterfrom
yurishkuro merged 6 commits intojaegertracing:masterfrom
Conversation
Signed-off-by: Joe Elliott <number101010@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #3302 +/- ##
==========================================
- Coverage 96.01% 95.98% -0.04%
==========================================
Files 259 259
Lines 15413 15434 +21
==========================================
+ Hits 14799 14814 +15
- Misses 522 526 +4
- Partials 92 94 +2
Continue to review full report at Codecov.
|
yurishkuro
reviewed
Oct 4, 2021
Signed-off-by: Joe Elliott <number101010@gmail.com>
Member
Author
|
Updated to accept the Preferred is |
Signed-off-by: Joe Elliott <number101010@gmail.com>
yurishkuro
reviewed
Oct 4, 2021
| strategyStoreType := getStrategyStoreTypeFromEnv(log) | ||
| if strategyStoreType != samplingTypeAdaptive && | ||
| strategyStoreType != samplingTypeFile && | ||
| strategyStoreType != deprecatedSamplingTypeStatic { |
Member
There was a problem hiding this comment.
it might be even cleaner if you check for and override static in getStrategyStoreTypeFromEnv, because there was no release where SAMPLING_CONFIG_TYPE=static was valid.
yurishkuro
reviewed
Oct 4, 2021
yurishkuro
previously approved these changes
Oct 4, 2021
Signed-off-by: Joe Elliott <number101010@gmail.com>
yurishkuro
approved these changes
Oct 4, 2021
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.
Which problem is this PR solving?
Short description of the changes
As suggested here: jaegertracing/documentation#526
This PR renamed
SAMPLING_TYPEenv var toSAMPLING_CONFIG_TYPE. Additionally it extends the collector help text to include information about this new env var.New text: