diff options
Diffstat (limited to 'app/telemetry/config')
-rw-r--r-- | app/telemetry/config/otel-config.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/telemetry/config/otel-config.yaml b/app/telemetry/config/otel-config.yaml index 6749ee3..e1d6d78 100644 --- a/app/telemetry/config/otel-config.yaml +++ b/app/telemetry/config/otel-config.yaml @@ -29,6 +29,9 @@ exporters: processors: batch: + probabilistic_sampler: + hash_seed: 42 + sampling_percentage: 10 extensions: health_check: @@ -42,7 +45,7 @@ service: pipelines: traces: receivers: [otlp] - processors: [batch] + processors: [probabilistic_sampler, batch] exporters: [logging, otlp/elastic] metrics: receivers: [otlp, prometheus] |