Provisioning: Add feature toggle (#96891)

pull/96902/head
Ryan McKinley 6 months ago committed by GitHub
parent c63305a700
commit 53245e2742
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
  2. 1
      packages/grafana-data/src/types/featureToggles.gen.ts
  3. 7
      pkg/services/featuremgmt/registry.go
  4. 1
      pkg/services/featuremgmt/toggles_gen.csv
  5. 4
      pkg/services/featuremgmt/toggles_gen.go
  6. 13
      pkg/services/featuremgmt/toggles_gen.json

@ -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;

@ -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",

@ -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

@ -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"

@ -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",

Loading…
Cancel
Save