Created
August 31, 2023 12:35
-
-
Save jpkrohling/1372db59fc8f190e06bfd5812e34ebcd to your computer and use it in GitHub Desktop.
tail sampling with span metrics
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
exporters: | |
logging/traces: | |
logging/metrics: | |
verbosity: detailed | |
receivers: | |
otlp: | |
protocols: | |
grpc: | |
processors: | |
tail_sampling: | |
decision_wait: 1s | |
num_traces: 50_000 | |
expected_new_traces_per_sec: 10_000 | |
policies: | |
[ | |
{ | |
name: only-10-percent, | |
type: probabilistic, | |
probabilistic: {sampling_percentage: 10} | |
}, | |
] | |
connectors: | |
spanmetrics: | |
forward: | |
service: | |
pipelines: | |
traces: | |
receivers: | |
- otlp | |
exporters: | |
- forward | |
- spanmetrics | |
traces/export: | |
receivers: | |
- forward | |
processors: | |
- tail_sampling | |
exporters: | |
- logging/traces | |
metrics: | |
receivers: | |
- spanmetrics | |
processors: | |
exporters: | |
- logging/metrics | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment