Skip to content

Commit ad043b8

Browse files
authored
[OTL-3800] Adjust log batch settings (#2076)
Signed-off-by: Dani Louca <dlouca@splunk.com>
1 parent 4e864ab commit ad043b8

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.chloggen/sendingQueueBatch.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: bug_fix
3+
# The name of the component, or a single word describing the area of concern, (e.g. agent, clusterReceiver, gateway, operator, chart, other)
4+
component: log
5+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
6+
note: Update `sending_queue` batch settings when `noDropLogsPipeline` is enabled
7+
# One or more tracking issues related to the change
8+
issues: [2076]
9+
# (Optional) One or more lines of additional information to render under the primary note.
10+
# These lines will be padded with 2 spaces and then inserted directly into the document.
11+
# Use pipe (|) for multiline entries.
12+
subtext:

helm-charts/splunk-otel-collector/templates/config/_common.tpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -456,12 +456,12 @@ splunk_hec/platform_logs:
456456
storage: file_storage/persistent_queue
457457
{{- end }}
458458
num_consumers: {{ .Values.splunkPlatform.sendingQueue.numConsumers }}
459-
{{- if .Values.featureGates.noDropLogsPipeline }}
460-
batcher:
461-
enabled: true
462-
flush_timeout: 200ms
463-
min_size: 2048
464-
{{- end }}
459+
{{- if .Values.featureGates.noDropLogsPipeline }}
460+
batch:
461+
flush_timeout: 200ms
462+
min_size: 2048
463+
sizer: items
464+
{{- end }}
465465
{{- end }}
466466

467467
{{/*

0 commit comments

Comments
 (0)