From b99060af6b28fd38b3f676e5013021e9a5c7bb94 Mon Sep 17 00:00:00 2001 From: Tiffany Pei Date: Thu, 8 Aug 2024 17:56:41 +0000 Subject: [PATCH] Align otel-agent feature gate in resource group controller (#1381) This is to align the feature behavior with reconciler & reconciler-manager. Currently we see no difference without the flag as - there are no test coverage on resourcegroup controller metrics - the naming convention obeys Prometheus rules so no trimming is happening --- manifests/templates/resourcegroup-manifest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/templates/resourcegroup-manifest.yaml b/manifests/templates/resourcegroup-manifest.yaml index deb92afe5..c4c34301e 100644 --- a/manifests/templates/resourcegroup-manifest.yaml +++ b/manifests/templates/resourcegroup-manifest.yaml @@ -231,6 +231,7 @@ spec: - ALL - args: - --config=/conf/otel-agent-config.yaml + - --feature-gates=-pkg.translator.prometheus.NormalizeName command: - /otelcontribcol env: