From 8f299de1a870504219f70d995e4093ae8604c0e7 Mon Sep 17 00:00:00 2001 From: Alexander Wert Date: Thu, 3 Aug 2023 15:47:41 +0200 Subject: [PATCH] fixes otelcol-config-extras.yml with upstream changes Signed-off-by: Alexander Wert --- src/otelcollector/otelcol-config-extras.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/otelcollector/otelcol-config-extras.yml b/src/otelcollector/otelcol-config-extras.yml index d0ef30752e..279f7e95f6 100644 --- a/src/otelcollector/otelcol-config-extras.yml +++ b/src/otelcollector/otelcol-config-extras.yml @@ -9,19 +9,15 @@ exporters: headers: Authorization: "Bearer YOUR_APM_SECRET_TOKEN" -processors: - spanmetrics/elastic: - metrics_exporter: otlp/elastic - service: pipelines: traces: receivers: [otlp] - processors: [spanmetrics/elastic, batch] - exporters: [otlp/elastic] + processors: [batch] + exporters: [otlp/elastic, spanmetrics] metrics: - receivers: [otlp] - processors: [filter, transform, batch] + receivers: [otlp, spanmetrics] + processors: [filter, batch] exporters: [otlp/elastic] logs: receivers: [otlp]