From 09587dff6ce6c63ef2167255bb20abdd6be8581c Mon Sep 17 00:00:00 2001 From: Ruben Vargas Date: Mon, 22 Apr 2024 23:08:41 -0600 Subject: [PATCH] Change feature gate to alpha and one metrics name Signed-off-by: Ruben Vargas --- pkg/crdmetrics/consts.go | 2 +- pkg/featuregate/featuregate.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/crdmetrics/consts.go b/pkg/crdmetrics/consts.go index 513e0e2fce..5c357bb3b2 100644 --- a/pkg/crdmetrics/consts.go +++ b/pkg/crdmetrics/consts.go @@ -26,5 +26,5 @@ const ( exporters = prefix + "exporters" processors = prefix + "processors" extensions = prefix + "extensions" - mode = prefix + "mode" + mode = prefix + "info" ) diff --git a/pkg/featuregate/featuregate.go b/pkg/featuregate/featuregate.go index 19ef595fc9..cdd254ad90 100644 --- a/pkg/featuregate/featuregate.go +++ b/pkg/featuregate/featuregate.go @@ -64,7 +64,7 @@ var ( // EnableCRMetrics is the feature gate that enables metrics about the collectors managed by this operator. EnableCRMetrics = featuregate.GlobalRegistry().MustRegister( "operator.crmetrics", - featuregate.StageBeta, + featuregate.StageAlpha, featuregate.WithRegisterDescription("enables metrics about the collectors CRs and how they are used"), featuregate.WithRegisterFromVersion("v0.99.0"), )