From 67d8ac50063baf6f20c8dee2c7bc4163bba02dee Mon Sep 17 00:00:00 2001 From: etichy Date: Wed, 26 Nov 2025 09:26:34 +0100 Subject: [PATCH 1/3] Enable histogram filters --- deploy/helm/gateway-collector-config.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy/helm/gateway-collector-config.yaml b/deploy/helm/gateway-collector-config.yaml index 4d44e36d..6db72890 100644 --- a/deploy/helm/gateway-collector-config.yaml +++ b/deploy/helm/gateway-collector-config.yaml @@ -121,11 +121,12 @@ processors: metric: # metrics from EBPF reducer that are not needed - 'IsMatch(name, "^ebpf_net.*$")' - +{{- if .Values.otel.metrics.filter_histograms }} filter/histograms: metrics: metric: - 'type == METRIC_DATA_TYPE_HISTOGRAM' +{{- end }} transform/obi-keep-only-entity-relation-attributes: metric_statements: @@ -663,7 +664,9 @@ service: - routing/metrics processors: - memory_limiter +{{- if .Values.otel.metrics.filter_histograms }} - filter/histograms +{{- end }} {{- if .Values.ebpfNetworkMonitoring.reducer.telemetry.metrics.enabled }} - filter/otlp-metrics {{- end }} From fbec9a802bb21bf5717a02afb0a0fa15c052297a Mon Sep 17 00:00:00 2001 From: etichy Date: Thu, 27 Nov 2025 09:16:17 +0100 Subject: [PATCH 2/3] Update gateway config --- deploy/helm/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index 0046e5ea..e2c2b689 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -774,7 +774,7 @@ otel: resources: limits: cpu: 1000m - memory: 400Mi + memory: 1Gi requests: cpu: 1000m memory: 400Mi @@ -794,7 +794,7 @@ otel: # Autoscaler configuration for the gateway collector autoscaler: minReplicas: 1 - maxReplicas: 1 + maxReplicas: 5 targetCPUUtilization: 80 targetMemoryUtilization: 80 From 678b4a8aebb1d4f62c9b9ac149d2e1e47eef8f41 Mon Sep 17 00:00:00 2001 From: etichy Date: Thu, 27 Nov 2025 09:43:35 +0100 Subject: [PATCH 3/3] update --- .../helm/tests/__snapshot__/gateway-deployment_test.yaml.snap | 2 +- deploy/helm/tests/__snapshot__/gateway-hpa_test.yaml.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/helm/tests/__snapshot__/gateway-deployment_test.yaml.snap b/deploy/helm/tests/__snapshot__/gateway-deployment_test.yaml.snap index 76628995..1c44a10b 100644 --- a/deploy/helm/tests/__snapshot__/gateway-deployment_test.yaml.snap +++ b/deploy/helm/tests/__snapshot__/gateway-deployment_test.yaml.snap @@ -67,7 +67,7 @@ Gateway spec should match snapshot when using default values: resources: limits: cpu: 1000m - memory: 400Mi + memory: 1Gi requests: cpu: 1000m memory: 400Mi diff --git a/deploy/helm/tests/__snapshot__/gateway-hpa_test.yaml.snap b/deploy/helm/tests/__snapshot__/gateway-hpa_test.yaml.snap index 31515d57..f53b87c4 100644 --- a/deploy/helm/tests/__snapshot__/gateway-hpa_test.yaml.snap +++ b/deploy/helm/tests/__snapshot__/gateway-hpa_test.yaml.snap @@ -1,6 +1,6 @@ Gateway collector's HPA spec should match snapshot when using default values on cluster with Metrics Server: 1: | - maxReplicas: 1 + maxReplicas: 5 metrics: - resource: name: cpu