Update configs/otel-collector-configs/config.yaml

This commit is contained in:
pashko 2024-12-23 13:34:59 +08:00
parent 0a95844b3c
commit de29f7f28e
2 changed files with 29 additions and 1 deletions

View File

@ -1 +0,0 @@
1

View File

@ -0,0 +1,29 @@
receivers:
otlp:
protocols:
grpc:
exporters:
prometheus:
endpoint: "0.0.0.0:8889"
processors:
batch:
extensions:
health_check:
endpoint: "0.0.0.0:13133"
path: "/health/status"
check_collector_pipeline:
enabled: true
interval: "5m"
exporter_failure_threshold: 5
service:
extensions: [health_check]
pipelines:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [prometheus]