-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HPCC-33298 JTrace support sampling configuration
- Adds Jtrace sampler configuration - Adds OTel sampler initialization logic - Updates JTrace configuration README - Provides samples - Jlog trace/span ids suppressed if not sampled (not sure if this is wanted) Signed-off-by: Rodrigo Pastrana <rodrigo.pastrana@lexisnexisrisk.com>
- Loading branch information
Showing
5 changed files
with
112 additions
and
2 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
10 changes: 10 additions & 0 deletions
10
helm/examples/tracing/otlp-http-collector-default-sampled.yaml
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
global: | ||
tracing: | ||
sampler: | ||
- type: Ratio //Head sampling based on simple ratio | ||
- argument: "0.1" //only sample 10% of traces/spans | ||
- parentBased: true | ||
exporters: | ||
- type: OTLP-HTTP | ||
endpoint: "localhost:4318/v1/traces" | ||
consoleDebug: true |
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