From dc64c9d1d0c668fad49cfa4840400b9cec389a11 Mon Sep 17 00:00:00 2001 From: Carl Bergquist Date: Mon, 6 Feb 2023 22:01:04 +0100 Subject: [PATCH] featureflag: removes unused feature flag (#62983) Signed-off-by: bergquist --- .../setup-grafana/configure-grafana/feature-toggles/index.md | 1 - packages/grafana-data/src/types/featureToggles.gen.ts | 1 - pkg/services/featuremgmt/registry.go | 5 ----- pkg/services/featuremgmt/toggles_gen.go | 4 ---- 4 files changed, 11 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 a2deca3e512..361bd8e3ccd 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -83,7 +83,6 @@ Alpha features might be changed or removed without prior notice. | `flameGraph` | Show the flame graph | | `redshiftAsyncQueryDataSupport` | Enable async query data support for Redshift | | `athenaAsyncQueryDataSupport` | Enable async query data support for Athena | -| `increaseInMemDatabaseQueryCache` | Enable more in memory caching for database queries | | `newPanelChromeUI` | Show updated look and feel of grafana-ui PanelChrome: panel header, icons, and menu | | `showDashboardValidationWarnings` | Show warnings when dashboards do not validate against the schema | | `mysqlAnsiQuotes` | Use double quotes to escape keyword in a MySQL query | diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index 58cfcf7d887..605a18a177b 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -67,7 +67,6 @@ export interface FeatureToggles { cloudWatchCrossAccountQuerying?: boolean; redshiftAsyncQueryDataSupport?: boolean; athenaAsyncQueryDataSupport?: boolean; - increaseInMemDatabaseQueryCache?: boolean; newPanelChromeUI?: boolean; queryLibrary?: boolean; showDashboardValidationWarnings?: boolean; diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index f5f6b26f871..f4103b5b7a9 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -289,11 +289,6 @@ var ( State: FeatureStateAlpha, FrontendOnly: true, }, - { - Name: "increaseInMemDatabaseQueryCache", - Description: "Enable more in memory caching for database queries", - State: FeatureStateAlpha, - }, { Name: "newPanelChromeUI", Description: "Show updated look and feel of grafana-ui PanelChrome: panel header, icons, and menu", diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index c4155aa6227..f27f9a4d20b 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -211,10 +211,6 @@ const ( // Enable async query data support for Athena FlagAthenaAsyncQueryDataSupport = "athenaAsyncQueryDataSupport" - // FlagIncreaseInMemDatabaseQueryCache - // Enable more in memory caching for database queries - FlagIncreaseInMemDatabaseQueryCache = "increaseInMemDatabaseQueryCache" - // FlagNewPanelChromeUI // Show updated look and feel of grafana-ui PanelChrome: panel header, icons, and menu FlagNewPanelChromeUI = "newPanelChromeUI"