aboutsummaryrefslogtreecommitdiff
path: root/app/telemetry
diff options
context:
space:
mode:
Diffstat (limited to 'app/telemetry')
-rw-r--r--app/telemetry/config/otel-config.yaml5
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]