From ce79bbba87e08220974d8994a1bbe34197ff7b2d Mon Sep 17 00:00:00 2001 From: Jo Date: Mon, 11 Dec 2023 15:17:50 +0100 Subject: [PATCH] Anon: Enable anon stats by default (#79312) * enable anon stats by default * update flag --- .../configure-grafana/feature-toggles/index.md | 2 +- pkg/services/featuremgmt/registry.go | 14 ++++++++------ pkg/services/featuremgmt/toggles_gen.csv | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md index 32c5fe089b5..9134c843167 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -51,6 +51,7 @@ Some features are enabled by default. You can disable these feature by setting t | `prometheusConfigOverhaulAuth` | Update the Prometheus configuration page with the new auth component | Yes | | `alertingInsights` | Show the new alerting insights landing page | Yes | | `cloudWatchWildCardDimensionValues` | Fetches dimension values from CloudWatch to correctly label wildcard dimensions | Yes | +| `displayAnonymousStats` | Enables anonymous stats to be shown in the UI for Grafana | Yes | ## Preview feature toggles @@ -166,7 +167,6 @@ Experimental features might be changed or removed without prior notice. | `logRowsPopoverMenu` | Enable filtering menu displayed when text of a log line is selected | | `pluginsSkipHostEnvVars` | Disables passing host environment variable to plugin processes | | `regressionTransformation` | Enables regression analysis transformation | -| `displayAnonymousStats` | Enables anonymous stats to be shown in the UI for Grafana | ## Development feature toggles diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 0330391a3da..888585b564a 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -1251,12 +1251,14 @@ var ( Created: time.Date(2023, time.November, 24, 12, 0, 0, 0, time.UTC), }, { - Name: "displayAnonymousStats", - Description: "Enables anonymous stats to be shown in the UI for Grafana", - Stage: FeatureStageExperimental, - FrontendOnly: true, - Owner: identityAccessTeam, - Created: time.Date(2023, time.November, 29, 12, 0, 0, 0, time.UTC), + Name: "displayAnonymousStats", + Description: "Enables anonymous stats to be shown in the UI for Grafana", + Stage: FeatureStageGeneralAvailability, + FrontendOnly: true, + Owner: identityAccessTeam, + Created: time.Date(2023, time.November, 29, 12, 0, 0, 0, time.UTC), + AllowSelfServe: falsePtr, + Expression: "true", // enabled by default }, } ) diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 69ea390b652..ae04f86a0f0 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -148,4 +148,4 @@ alertingSimplifiedRouting,experimental,@grafana/alerting-squad,2023-11-10,false, logRowsPopoverMenu,experimental,@grafana/observability-logs,2023-11-16,false,false,false,true pluginsSkipHostEnvVars,experimental,@grafana/plugins-platform-backend,2023-11-15,false,false,false,false regressionTransformation,experimental,@grafana/grafana-bi-squad,2023-11-24,false,false,false,true -displayAnonymousStats,experimental,@grafana/identity-access-team,2023-11-29,false,false,false,true +displayAnonymousStats,GA,@grafana/identity-access-team,2023-11-29,false,false,false,true