aboutsummaryrefslogtreecommitdiff
path: root/app/telemetry
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-22 18:30:39 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-22 18:30:39 +0100
commit20ab1f7b8a76a116644668029175100c15a615e2 (patch)
tree3f5d195a32391aa3ec5b65b6a3d9b9bfc78d8f00 /app/telemetry
parentfe3e529cf667ddacca331c09d3a3f33469676de6 (diff)
downloadnixcfg-20ab1f7b8a76a116644668029175100c15a615e2.tar.gz
nixcfg-20ab1f7b8a76a116644668029175100c15a615e2.zip
Garage staging with telemetry
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]