Add configs/otel-collector-config/config.yml

This commit is contained in:
pashko 2024-12-09 21:48:44 +08:00
parent 851f0d700f
commit e848dc7a2f

View File

@ -0,0 +1,28 @@
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]