-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Changed sampling type env var and updated collector help text #3302
Changed sampling type env var and updated collector help text #3302
Conversation
Signed-off-by: Joe Elliott <[email protected]>
Signed-off-by: Joe Elliott <[email protected]>
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.
|
Signed-off-by: Joe Elliott <[email protected]>
Updated to accept the Preferred is
|
Signed-off-by: Joe Elliott <[email protected]>
strategyStoreType := getStrategyStoreTypeFromEnv(log) | ||
if strategyStoreType != samplingTypeAdaptive && | ||
strategyStoreType != samplingTypeFile && | ||
strategyStoreType != deprecatedSamplingTypeStatic { |
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.
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.
Signed-off-by: Joe Elliott <[email protected]>
#4735) These were deprecated in 2021 (#3302) --------- Signed-off-by: Yuri Shkuro <[email protected]>
Which problem is this PR solving?
Short description of the changes
As suggested here: jaegertracing/documentation#526
This PR renamed
SAMPLING_TYPE
env var toSAMPLING_CONFIG_TYPE
. Additionally it extends the collector help text to include information about this new env var.New text: