Search: Add feature toggle for panel title search (#76525)
Add feature toggle for panel title search
This commit is contained in:
@@ -159,3 +159,4 @@ The following toggles require explicitly setting Grafana's [app mode]({{< relref
|
|||||||
| `externalServiceAuth` | Starts an OAuth2 authentication provider for external services |
|
| `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 |
|
| `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 |
|
| `externalServiceAccounts` | Automatic service account and token setup for plugins |
|
||||||
|
| `panelTitleSearchInV1` | Enable searching for dashboards using panel title in search v1 |
|
||||||
|
|||||||
@@ -141,4 +141,5 @@ export interface FeatureToggles {
|
|||||||
recoveryThreshold?: boolean;
|
recoveryThreshold?: boolean;
|
||||||
awsDatasourcesNewFormStyling?: boolean;
|
awsDatasourcesNewFormStyling?: boolean;
|
||||||
cachingOptimizeSerializationMemoryUsage?: boolean;
|
cachingOptimizeSerializationMemoryUsage?: boolean;
|
||||||
|
panelTitleSearchInV1?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -860,5 +860,12 @@ var (
|
|||||||
Owner: grafanaOperatorExperienceSquad,
|
Owner: grafanaOperatorExperienceSquad,
|
||||||
FrontendOnly: false,
|
FrontendOnly: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Name: "panelTitleSearchInV1",
|
||||||
|
Description: "Enable searching for dashboards using panel title in search v1",
|
||||||
|
RequiresDevMode: true,
|
||||||
|
Stage: FeatureStageExperimental,
|
||||||
|
Owner: grafanaBackendPlatformSquad,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -122,3 +122,4 @@ navAdminSubsections,experimental,@grafana/grafana-frontend-platform,false,false,
|
|||||||
recoveryThreshold,experimental,@grafana/alerting-squad,false,false,true,false
|
recoveryThreshold,experimental,@grafana/alerting-squad,false,false,true,false
|
||||||
awsDatasourcesNewFormStyling,experimental,@grafana/aws-datasources,false,false,false,true
|
awsDatasourcesNewFormStyling,experimental,@grafana/aws-datasources,false,false,false,true
|
||||||
cachingOptimizeSerializationMemoryUsage,experimental,@grafana/grafana-operator-experience-squad,false,false,false,false
|
cachingOptimizeSerializationMemoryUsage,experimental,@grafana/grafana-operator-experience-squad,false,false,false,false
|
||||||
|
panelTitleSearchInV1,experimental,@grafana/backend-platform,true,false,false,false
|
||||||
|
|||||||
|
@@ -498,4 +498,8 @@ const (
|
|||||||
// FlagCachingOptimizeSerializationMemoryUsage
|
// 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.
|
// 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"
|
FlagCachingOptimizeSerializationMemoryUsage = "cachingOptimizeSerializationMemoryUsage"
|
||||||
|
|
||||||
|
// FlagPanelTitleSearchInV1
|
||||||
|
// Enable searching for dashboards using panel title in search v1
|
||||||
|
FlagPanelTitleSearchInV1 = "panelTitleSearchInV1"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user