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]