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 808935d95e3..2b145e6dd1d 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -159,3 +159,4 @@ The following toggles require explicitly setting Grafana's [app mode]({{< relref | `externalServiceAuth` | Starts an OAuth2 authentication provider for external services | | `idForwarding` | Generate signed id token for identity that can be forwarded to plugins and external services | | `externalServiceAccounts` | Automatic service account and token setup for plugins | +| `panelTitleSearchInV1` | Enable searching for dashboards using panel title in search v1 | diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index 89d6b15eb2d..1d5983471d1 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -141,4 +141,5 @@ export interface FeatureToggles { recoveryThreshold?: boolean; awsDatasourcesNewFormStyling?: boolean; cachingOptimizeSerializationMemoryUsage?: boolean; + panelTitleSearchInV1?: boolean; } diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 4c07e7f7276..c36c3da27e0 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -860,5 +860,12 @@ var ( Owner: grafanaOperatorExperienceSquad, FrontendOnly: false, }, + { + Name: "panelTitleSearchInV1", + Description: "Enable searching for dashboards using panel title in search v1", + RequiresDevMode: true, + Stage: FeatureStageExperimental, + Owner: grafanaBackendPlatformSquad, + }, } ) diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 5be1fc47466..c5a9bdd9b70 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -122,3 +122,4 @@ navAdminSubsections,experimental,@grafana/grafana-frontend-platform,false,false, recoveryThreshold,experimental,@grafana/alerting-squad,false,false,true,false awsDatasourcesNewFormStyling,experimental,@grafana/aws-datasources,false,false,false,true cachingOptimizeSerializationMemoryUsage,experimental,@grafana/grafana-operator-experience-squad,false,false,false,false +panelTitleSearchInV1,experimental,@grafana/backend-platform,true,false,false,false diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index 34d091734f4..2c89102fbb5 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -498,4 +498,8 @@ const ( // FlagCachingOptimizeSerializationMemoryUsage // 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. FlagCachingOptimizeSerializationMemoryUsage = "cachingOptimizeSerializationMemoryUsage" + + // FlagPanelTitleSearchInV1 + // Enable searching for dashboards using panel title in search v1 + FlagPanelTitleSearchInV1 = "panelTitleSearchInV1" )