mirror of
https://github.com/grafana/grafana.git
synced 2025-09-26 16:04:16 +08:00
Elasticsearch: Add feature toggle for backend migration (#58585)
* Elasticsearch: Add feature toggle for backend migration * Update
This commit is contained in:
@ -80,4 +80,5 @@ export interface FeatureToggles {
|
|||||||
datasourceLogger?: boolean;
|
datasourceLogger?: boolean;
|
||||||
accessControlOnCall?: boolean;
|
accessControlOnCall?: boolean;
|
||||||
nestedFolders?: boolean;
|
nestedFolders?: boolean;
|
||||||
|
elasticsearchBackendMigration?: boolean;
|
||||||
}
|
}
|
||||||
|
@ -357,5 +357,10 @@ var (
|
|||||||
State: FeatureStateAlpha,
|
State: FeatureStateAlpha,
|
||||||
RequiresDevMode: true,
|
RequiresDevMode: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Name: "elasticsearchBackendMigration",
|
||||||
|
Description: "Use Elasticsearch as backend data source",
|
||||||
|
State: FeatureStateAlpha,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
@ -262,4 +262,8 @@ const (
|
|||||||
// FlagNestedFolders
|
// FlagNestedFolders
|
||||||
// Enable folder nesting
|
// Enable folder nesting
|
||||||
FlagNestedFolders = "nestedFolders"
|
FlagNestedFolders = "nestedFolders"
|
||||||
|
|
||||||
|
// FlagElasticsearchBackendMigration
|
||||||
|
// Use Elasticsearch as backend data source
|
||||||
|
FlagElasticsearchBackendMigration = "elasticsearchBackendMigration"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user