From d72d21fc2a2653649822ebc4f1e772ecf78dbc5d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 10 Sep 2025 15:29:26 +0000 Subject: [PATCH 1/2] Initial plan From 5184f1c6c0568f5d2c9aaa9d0cb72ad2c1c73f96 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 10 Sep 2025 15:37:37 +0000 Subject: [PATCH 2/2] Remove batch processor references from Collector configurations Co-authored-by: trask <218610+trask@users.noreply.github.com> --- .../k8s/collector-configmap.yaml | 13 +++++++++---- otlp/docker/otel-collector-config-demo.yaml | 9 +++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/logging-k8s-stdout-otlp-json/k8s/collector-configmap.yaml b/logging-k8s-stdout-otlp-json/k8s/collector-configmap.yaml index e4a453b8a4..88cdf497f0 100644 --- a/logging-k8s-stdout-otlp-json/k8s/collector-configmap.yaml +++ b/logging-k8s-stdout-otlp-json/k8s/collector-configmap.yaml @@ -26,7 +26,6 @@ data: path: "/ready" processors: - batch: resourcedetection: detectors: [ "env", "system" ] override: false @@ -40,10 +39,16 @@ data: exporters: otlphttp/metrics: endpoint: http://localhost:9090/api/v1/otlp + sending_queue: + batch: otlphttp/traces: endpoint: http://localhost:4418 + sending_queue: + batch: otlphttp/logs: endpoint: http://localhost:3100/otlp + sending_queue: + batch: debug/metrics: verbosity: detailed debug/traces: @@ -57,11 +62,11 @@ data: pipelines: traces: receivers: [ otlp ] - processors: [ k8sattributes, resourcedetection, batch ] + processors: [ k8sattributes, resourcedetection ] exporters: [ otlphttp/traces ] metrics: receivers: [ otlp ] - processors: [ k8sattributes, resourcedetection, batch ] + processors: [ k8sattributes, resourcedetection ] exporters: [ otlphttp/metrics ] logs/raw_otlpjson: receivers: [ filelog/otlp-json-logs ] @@ -71,6 +76,6 @@ data: exporters: [ otlpjson ] logs/otlp: receivers: [ otlp, otlpjson ] - processors: [ k8sattributes, resourcedetection, batch ] + processors: [ k8sattributes, resourcedetection ] exporters: [ otlphttp/logs ] # exporters: [ otlphttp/logs, debug/logs ] # Uncomment this line to enable debug logging diff --git a/otlp/docker/otel-collector-config-demo.yaml b/otlp/docker/otel-collector-config-demo.yaml index 64db0587be..ec2a1d2193 100644 --- a/otlp/docker/otel-collector-config-demo.yaml +++ b/otlp/docker/otel-collector-config-demo.yaml @@ -9,6 +9,8 @@ exporters: namespace: promexample const_labels: label1: value1 + sending_queue: + batch: debug: verbosity: detailed @@ -20,6 +22,8 @@ exporters: endpoint: jaeger-all-in-one:4317 tls: insecure: true + sending_queue: + batch: # Alternatively, use jaeger_thrift_http with the settings below. In this case # update the list of exporters on the traces pipeline. @@ -27,8 +31,7 @@ exporters: # jaeger_thrift_http: # url: http://jaeger-all-in-one:14268/api/traces -processors: - batch: + extensions: health_check: @@ -42,9 +45,7 @@ service: pipelines: traces: receivers: [otlp] - processors: [batch] exporters: [debug, zipkin, otlp/jaeger] metrics: receivers: [otlp] - processors: [batch] exporters: [debug, prometheus]