diff --git a/.changelog/2923.fixed.txt b/.changelog/2923.fixed.txt new file mode 100644 index 0000000000..5c788658c8 --- /dev/null +++ b/.changelog/2923.fixed.txt @@ -0,0 +1 @@ +fix(logs): reduce the queue size of the logs collector \ No newline at end of file diff --git a/deploy/helm/sumologic/conf/logs/collector/otelcol/config.yaml b/deploy/helm/sumologic/conf/logs/collector/otelcol/config.yaml index 0ce36fe42d..902bcab2da 100644 --- a/deploy/helm/sumologic/conf/logs/collector/otelcol/config.yaml +++ b/deploy/helm/sumologic/conf/logs/collector/otelcol/config.yaml @@ -264,6 +264,8 @@ receivers: exporters: otlphttp: endpoint: http://${LOGS_METADATA_SVC}.${NAMESPACE}.svc.cluster.local.:4318 + sending_queue: + queue_size: 10 processors: batch: send_batch_size: 1000 diff --git a/tests/helm/testdata/goldenfile/logs_otc/basic.output.yaml b/tests/helm/testdata/goldenfile/logs_otc/basic.output.yaml index 3b70f02f37..44eaf13207 100644 --- a/tests/helm/testdata/goldenfile/logs_otc/basic.output.yaml +++ b/tests/helm/testdata/goldenfile/logs_otc/basic.output.yaml @@ -14,6 +14,8 @@ data: exporters: otlphttp: endpoint: http://${LOGS_METADATA_SVC}.${NAMESPACE}.svc.cluster.local.:4318 + sending_queue: + queue_size: 10 extensions: file_storage: compaction: diff --git a/tests/helm/testdata/goldenfile/logs_otc/options.output.yaml b/tests/helm/testdata/goldenfile/logs_otc/options.output.yaml index ddb1e53eaa..da6bf9e086 100644 --- a/tests/helm/testdata/goldenfile/logs_otc/options.output.yaml +++ b/tests/helm/testdata/goldenfile/logs_otc/options.output.yaml @@ -14,6 +14,8 @@ data: exporters: otlphttp: endpoint: http://${LOGS_METADATA_SVC}.${NAMESPACE}.svc.cluster.local.:4318 + sending_queue: + queue_size: 10 extensions: file_storage: compaction: