Provisioning: Add feature toggle (#96891)

This commit is contained in:
Ryan McKinley
2024-11-22 11:03:50 +02:00
committed by GitHub
parent c63305a700
commit 53245e2742
6 changed files with 27 additions and 0 deletions
@@ -157,6 +157,7 @@ Experimental features might be changed or removed without prior notice.
| `mlExpressions` | Enable support for Machine Learning in server-side expressions |
| `metricsSummary` | Enables metrics summary queries in the Tempo data source |
| `datasourceAPIServers` | Expose some datasources as apiservers. |
| `provisioning` | Next generation provisioning... and git |
| `permissionsFilterRemoveSubquery` | Alternative permission filter implementation that does not use subqueries for fetching the dashboard folder |
| `aiGeneratedDashboardChanges` | Enable AI powered features for dashboards to auto-summary changes when saving |
| `sseGroupByDatasource` | Send query to the same datasource in a single request when using server side expressions. The `cloudWatchBatchQueries` feature toggle should be enabled if this used with CloudWatch. |
@@ -86,6 +86,7 @@ export interface FeatureToggles {
metricsSummary?: boolean;
datasourceAPIServers?: boolean;
grafanaAPIServerWithExperimentalAPIs?: boolean;
provisioning?: boolean;
grafanaAPIServerEnsureKubectlAccess?: boolean;
featureToggleAdminPage?: boolean;
awsAsyncQueryCaching?: boolean;
+7
View File
@@ -509,6 +509,13 @@ var (
RequiresDevMode: true,
Owner: grafanaAppPlatformSquad,
},
{
Name: "provisioning",
Description: "Next generation provisioning... and git",
Stage: FeatureStageExperimental,
RequiresRestart: true,
Owner: grafanaAppPlatformSquad,
},
{
Name: "grafanaAPIServerEnsureKubectlAccess",
Description: "Start an additional https handler and write kubectl options",
+1
View File
@@ -67,6 +67,7 @@ traceQLStreaming,GA,@grafana/observability-traces-and-profiling,false,false,true
metricsSummary,experimental,@grafana/observability-traces-and-profiling,false,false,true
datasourceAPIServers,experimental,@grafana/grafana-app-platform-squad,false,true,false
grafanaAPIServerWithExperimentalAPIs,experimental,@grafana/grafana-app-platform-squad,true,true,false
provisioning,experimental,@grafana/grafana-app-platform-squad,false,true,false
grafanaAPIServerEnsureKubectlAccess,experimental,@grafana/grafana-app-platform-squad,true,true,false
featureToggleAdminPage,experimental,@grafana/grafana-operator-experience-squad,false,true,false
awsAsyncQueryCaching,GA,@grafana/aws-datasources,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
67 metricsSummary experimental @grafana/observability-traces-and-profiling false false true
68 datasourceAPIServers experimental @grafana/grafana-app-platform-squad false true false
69 grafanaAPIServerWithExperimentalAPIs experimental @grafana/grafana-app-platform-squad true true false
70 provisioning experimental @grafana/grafana-app-platform-squad false true false
71 grafanaAPIServerEnsureKubectlAccess experimental @grafana/grafana-app-platform-squad true true false
72 featureToggleAdminPage experimental @grafana/grafana-operator-experience-squad false true false
73 awsAsyncQueryCaching GA @grafana/aws-datasources false false false
+4
View File
@@ -279,6 +279,10 @@ const (
// Register experimental APIs with the k8s API server, including all datasources
FlagGrafanaAPIServerWithExperimentalAPIs = "grafanaAPIServerWithExperimentalAPIs"
// FlagProvisioning
// Next generation provisioning... and git
FlagProvisioning = "provisioning"
// FlagGrafanaAPIServerEnsureKubectlAccess
// Start an additional https handler and write kubectl options
FlagGrafanaAPIServerEnsureKubectlAccess = "grafanaAPIServerEnsureKubectlAccess"
+13
View File
@@ -2840,6 +2840,19 @@
"codeowner": "@grafana/observability-metrics"
}
},
{
"metadata": {
"name": "provisioning",
"resourceVersion": "1732265054297",
"creationTimestamp": "2024-11-22T08:44:14Z"
},
"spec": {
"description": "Next generation provisioning... and git",
"stage": "experimental",
"codeowner": "@grafana/grafana-app-platform-squad",
"requiresRestart": true
}
},
{
"metadata": {
"name": "publicDashboards",