Add configs/otel-collector-config/config.yml
This commit is contained in:
parent
851f0d700f
commit
e848dc7a2f
28
configs/otel-collector-config/config.yml
Normal file
28
configs/otel-collector-config/config.yml
Normal 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]
|
||||
Loading…
x
Reference in New Issue
Block a user