From 92679a3c0b35b025a636c597d6b6686be91a509b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20=C5=9Awi=C4=85tek?= Date: Wed, 13 Sep 2023 12:49:01 +0200 Subject: [PATCH] fix(metrics): disable keep-alives for internal traffic --- .../helm/sumologic/conf/metrics/collector/otelcol/config.yaml | 2 ++ .../testdata/goldenfile/metrics_collector_otc/basic.output.yaml | 2 ++ .../goldenfile/metrics_collector_otc/custom.output.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/deploy/helm/sumologic/conf/metrics/collector/otelcol/config.yaml b/deploy/helm/sumologic/conf/metrics/collector/otelcol/config.yaml index 71db7f3bdf..3c2eb3738a 100644 --- a/deploy/helm/sumologic/conf/metrics/collector/otelcol/config.yaml +++ b/deploy/helm/sumologic/conf/metrics/collector/otelcol/config.yaml @@ -7,6 +7,8 @@ exporters: queue_size: 10000 num_consumers: 10 storage: file_storage + # this improves load balancing at the cost of more network traffic + disable_keep_alives: true extensions: health_check: {} diff --git a/tests/helm/testdata/goldenfile/metrics_collector_otc/basic.output.yaml b/tests/helm/testdata/goldenfile/metrics_collector_otc/basic.output.yaml index f55131046c..bcebf2c2ad 100644 --- a/tests/helm/testdata/goldenfile/metrics_collector_otc/basic.output.yaml +++ b/tests/helm/testdata/goldenfile/metrics_collector_otc/basic.output.yaml @@ -71,6 +71,8 @@ spec: queue_size: 10000 num_consumers: 10 storage: file_storage + # this improves load balancing at the cost of more network traffic + disable_keep_alives: true extensions: health_check: {} diff --git a/tests/helm/testdata/goldenfile/metrics_collector_otc/custom.output.yaml b/tests/helm/testdata/goldenfile/metrics_collector_otc/custom.output.yaml index ea63d44cb0..8e060ba16d 100644 --- a/tests/helm/testdata/goldenfile/metrics_collector_otc/custom.output.yaml +++ b/tests/helm/testdata/goldenfile/metrics_collector_otc/custom.output.yaml @@ -90,6 +90,8 @@ spec: queue_size: 10000 num_consumers: 10 storage: file_storage + # this improves load balancing at the cost of more network traffic + disable_keep_alives: true extensions: health_check: {}