From 20ab1f7b8a76a116644668029175100c15a615e2 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 22 Feb 2022 18:30:39 +0100 Subject: Garage staging with telemetry --- app/telemetry/config/otel-config.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/telemetry/config/otel-config.yaml') 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] -- cgit v1.2.3