diff --git a/configs/otel-collector-config/config.yml b/configs/otel-collector-config/config.yml new file mode 100644 index 0000000..e58e01c --- /dev/null +++ b/configs/otel-collector-config/config.yml @@ -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]