Skip to content

Commit 5184f1c

Browse files
Copilottrask
andcommitted
Remove batch processor references from Collector configurations
Co-authored-by: trask <[email protected]>
1 parent d72d21f commit 5184f1c

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

logging-k8s-stdout-otlp-json/k8s/collector-configmap.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ data:
2626
path: "/ready"
2727
2828
processors:
29-
batch:
3029
resourcedetection:
3130
detectors: [ "env", "system" ]
3231
override: false
@@ -40,10 +39,16 @@ data:
4039
exporters:
4140
otlphttp/metrics:
4241
endpoint: http://localhost:9090/api/v1/otlp
42+
sending_queue:
43+
batch:
4344
otlphttp/traces:
4445
endpoint: http://localhost:4418
46+
sending_queue:
47+
batch:
4548
otlphttp/logs:
4649
endpoint: http://localhost:3100/otlp
50+
sending_queue:
51+
batch:
4752
debug/metrics:
4853
verbosity: detailed
4954
debug/traces:
@@ -57,11 +62,11 @@ data:
5762
pipelines:
5863
traces:
5964
receivers: [ otlp ]
60-
processors: [ k8sattributes, resourcedetection, batch ]
65+
processors: [ k8sattributes, resourcedetection ]
6166
exporters: [ otlphttp/traces ]
6267
metrics:
6368
receivers: [ otlp ]
64-
processors: [ k8sattributes, resourcedetection, batch ]
69+
processors: [ k8sattributes, resourcedetection ]
6570
exporters: [ otlphttp/metrics ]
6671
logs/raw_otlpjson:
6772
receivers: [ filelog/otlp-json-logs ]
@@ -71,6 +76,6 @@ data:
7176
exporters: [ otlpjson ]
7277
logs/otlp:
7378
receivers: [ otlp, otlpjson ]
74-
processors: [ k8sattributes, resourcedetection, batch ]
79+
processors: [ k8sattributes, resourcedetection ]
7580
exporters: [ otlphttp/logs ]
7681
# exporters: [ otlphttp/logs, debug/logs ] # Uncomment this line to enable debug logging

otlp/docker/otel-collector-config-demo.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ exporters:
99
namespace: promexample
1010
const_labels:
1111
label1: value1
12+
sending_queue:
13+
batch:
1214
debug:
1315
verbosity: detailed
1416

@@ -20,15 +22,16 @@ exporters:
2022
endpoint: jaeger-all-in-one:4317
2123
tls:
2224
insecure: true
25+
sending_queue:
26+
batch:
2327

2428
# Alternatively, use jaeger_thrift_http with the settings below. In this case
2529
# update the list of exporters on the traces pipeline.
2630
#
2731
# jaeger_thrift_http:
2832
# url: http://jaeger-all-in-one:14268/api/traces
2933

30-
processors:
31-
batch:
34+
3235

3336
extensions:
3437
health_check:
@@ -42,9 +45,7 @@ service:
4245
pipelines:
4346
traces:
4447
receivers: [otlp]
45-
processors: [batch]
4648
exporters: [debug, zipkin, otlp/jaeger]
4749
metrics:
4850
receivers: [otlp]
49-
processors: [batch]
5051
exporters: [debug, prometheus]

0 commit comments

Comments
 (0)