From 4131c96f16c0fc5860bd3ec64f54ec1d09a1a5bf Mon Sep 17 00:00:00 2001 From: Idriss Neumann Date: Sat, 16 Mar 2024 14:05:03 +0100 Subject: [PATCH] Improve otel config --- .docker/otel-collector-config.yaml | 1 - README.md | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.docker/otel-collector-config.yaml b/.docker/otel-collector-config.yaml index afc7579..f832d69 100644 --- a/.docker/otel-collector-config.yaml +++ b/.docker/otel-collector-config.yaml @@ -5,7 +5,6 @@ receivers: http: exporters: - debug: logging: prometheus: endpoint: "0.0.0.0:8889" diff --git a/README.md b/README.md index 844c53e..d8821f6 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,7 @@ receivers: http: exporters: - debug: + logging: prometheus: endpoint: "0.0.0.0:8889" const_labels: @@ -218,6 +218,9 @@ exporters: tls: insecure: true +processors: + batch: + service: pipelines: metrics: @@ -226,6 +229,10 @@ service: traces: receivers: [otlp] exporters: [otlp] + logs: + receivers: [otlp] + processors: [batch] + exporters: [logging] ``` ## Development / contributions