From a13ef17fe1ea5fab0981afc8429fefe937206565 Mon Sep 17 00:00:00 2001 From: Jo Date: Mon, 11 Dec 2023 15:16:38 +0100 Subject: [PATCH] Anon: Enable anon stats by default (#79314) * enable anon stats by default * update docs * update flag --- .../setup-grafana/configure-grafana/feature-toggles/index.md | 2 +- pkg/services/featuremgmt/registry.go | 3 ++- pkg/services/featuremgmt/toggles_gen.csv | 2 +- 3 files changed, 4 insertions(+), 3 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 38f29ae5d0c..03f12c45f57 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -53,6 +53,7 @@ Some features are enabled by default. You can disable these feature by setting t | `newBrowseDashboards` | New browse/manage dashboards UI | 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 @@ -151,7 +152,6 @@ Experimental features might be changed or removed without prior notice. | `awsDatasourcesNewFormStyling` | Applies new form styling for configuration and query editors in AWS plugins | | `cachingOptimizeSerializationMemoryUsage` | If enabled, the caching backend gradually serializes query responses for the cache, comparing against the configured `[caching]max_value_mb` value as it goes. This can can help prevent Grafana from running out of memory while attempting to cache very large query responses. | | `pluginsInstrumentationStatusSource` | Include a status source label for plugin request metrics and logs | -| `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 1661c6620cd..86ff96c9f0d 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -901,9 +901,10 @@ var ( { Name: "displayAnonymousStats", Description: "Enables anonymous stats to be shown in the UI for Grafana", - Stage: FeatureStageExperimental, FrontendOnly: true, Owner: grafanaAuthnzSquad, + Stage: FeatureStageGeneralAvailability, + Expression: "true", // enabled by default }, } ) diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index e093ef942dd..dd21fa8f56b 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -127,4 +127,4 @@ cachingOptimizeSerializationMemoryUsage,experimental,@grafana/grafana-operator-e panelTitleSearchInV1,experimental,@grafana/backend-platform,true,false,false,false pluginsInstrumentationStatusSource,experimental,@grafana/plugins-platform-backend,false,false,false,false panelFilterVariable,experimental,@grafana/dashboards-squad,false,false,false,true -displayAnonymousStats,experimental,@grafana/grafana-authnz-team,false,false,false,true +displayAnonymousStats,GA,@grafana/grafana-authnz-team,false,false,false,true