diff --git a/configs/otel-collector-configs/1.yml b/configs/otel-collector-configs/1.yml deleted file mode 100644 index 56a6051..0000000 --- a/configs/otel-collector-configs/1.yml +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/configs/otel-collector-configs/config.yaml b/configs/otel-collector-configs/config.yaml new file mode 100644 index 0000000..b136f0b --- /dev/null +++ b/configs/otel-collector-configs/config.yaml @@ -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] +