This repository has been archived by the owner on Apr 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace JAEGER_SAMPLER_MANAGER_HOST_PORT with JAEGER_SAMPLING_ENDPOINT (
#165) * Replace JAEGER_SAMPLER_MANAGER_HOST_PORT with JAEGER_SAMPLING_ENDPOINT * Readded support for deprecated JAEGER_SAMPLER_MANAGER_HOST_PORT * Adjusted tests for real-world sampler results
- Loading branch information
1 parent
23c6cfd
commit b17b37a
Showing
8 changed files
with
118 additions
and
48 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,5 +21,5 @@ | |
"samplingRate": 0.001 | ||
}, | ||
"rateLimitingSampling": null, | ||
"strategyType": 0 | ||
"strategyType": "PROBABILISTIC" | ||
} |
10 changes: 5 additions & 5 deletions
10
test/Jaeger.Tests/Samplers/Resources/probabilistic_sampling.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"strategyType": 0, | ||
"probabilisticSampling": { | ||
"samplingRate": 0.01 | ||
}, | ||
"rateLimitingSampling": null | ||
"strategyType": "PROBABILISTIC", | ||
"probabilisticSampling": { | ||
"samplingRate": 0.01 | ||
}, | ||
"rateLimitingSampling": null | ||
} |
10 changes: 5 additions & 5 deletions
10
test/Jaeger.Tests/Samplers/Resources/ratelimiting_sampling.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"strategyType": 1, | ||
"probabilisticSampling": null, | ||
"rateLimitingSampling": { | ||
"maxTracesPerSecond": 2.1 | ||
} | ||
"strategyType": "RATE_LIMITING", | ||
"probabilisticSampling": null, | ||
"rateLimitingSampling": { | ||
"maxTracesPerSecond": 2.1 | ||
} | ||
} |