2022-04-01 14:32:00 +08:00
// To change feature flags, edit:
// pkg/services/featuremgmt/registry.go
// Then run tests in:
// pkg/services/featuremgmt/toggles_gen_test.go
2022-06-10 19:02:52 +08:00
// twice to generate and validate the feature flag files
2022-04-01 14:32:00 +08:00
2022-01-27 01:44:20 +08:00
package featuremgmt
var (
// Register each toggle here
standardFeatureFlags = [ ] FeatureFlag {
2022-10-06 14:22:58 +08:00
{
Name : "alertingBigTransactions" ,
Description : "Use big transactions for alerting database writes" ,
State : FeatureStateAlpha ,
2023-03-09 00:03:06 +08:00
Owner : grafanaAlertingSquad ,
2022-10-06 14:22:58 +08:00
} ,
2022-01-27 01:44:20 +08:00
{
Name : "trimDefaults" ,
Description : "Use cue schema to remove values that will be applied automatically" ,
State : FeatureStateBeta ,
2023-03-08 23:38:52 +08:00
Owner : grafanaAsCodeSquad ,
2022-01-27 01:44:20 +08:00
} ,
{
2022-05-24 16:34:47 +08:00
Name : "disableEnvelopeEncryption" ,
Description : "Disable envelope encryption (emergency only)" ,
State : FeatureStateStable ,
2023-03-08 18:14:37 +08:00
Owner : grafanaAsCodeSquad ,
2022-01-27 01:44:20 +08:00
} ,
{
Name : "database_metrics" ,
2022-12-01 05:50:20 +08:00
Description : "Add Prometheus metrics for database tables" ,
2022-01-27 01:44:20 +08:00
State : FeatureStateStable ,
} ,
{
Name : "dashboardPreviews" ,
Description : "Create and show thumbnails for dashboard search results" ,
State : FeatureStateAlpha ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-01-27 01:44:20 +08:00
} ,
{
Name : "live-pipeline" ,
2022-12-01 05:50:20 +08:00
Description : "Enable a generic live processing pipeline" ,
2022-01-27 01:44:20 +08:00
State : FeatureStateAlpha ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-01-27 01:44:20 +08:00
} ,
{
Name : "live-service-web-worker" ,
Description : "This will use a webworker thread to processes events rather than the main thread" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-01-27 01:44:20 +08:00
} ,
{
Name : "queryOverLive" ,
2022-12-01 05:50:20 +08:00
Description : "Use Grafana Live WebSocket to execute backend queries" ,
2022-01-27 01:44:20 +08:00
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-01-27 01:44:20 +08:00
} ,
2022-02-16 02:26:03 +08:00
{
2022-05-03 03:01:29 +08:00
Name : "panelTitleSearch" ,
Description : "Search for dashboards using panel title" ,
2022-12-01 05:50:20 +08:00
State : FeatureStateBeta ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-02-16 02:26:03 +08:00
} ,
2022-05-30 23:43:32 +08:00
{
Name : "prometheusAzureOverrideAudience" ,
Description : "Experimental. Allow override default AAD audience for Azure Prometheus endpoint" ,
State : FeatureStateBeta ,
} ,
2022-04-08 02:30:19 +08:00
{
2022-07-01 07:10:30 +08:00
Name : "publicDashboards" ,
2022-12-01 05:50:20 +08:00
Description : "Enables public access to dashboards" ,
2022-07-01 07:10:30 +08:00
State : FeatureStateAlpha ,
2023-03-08 00:04:20 +08:00
Owner : grafanaDashboardsSquad ,
2022-04-08 02:30:19 +08:00
} ,
2023-01-04 03:45:15 +08:00
{
Name : "publicDashboardsEmailSharing" ,
2023-03-08 03:42:24 +08:00
Description : "Enables public dashboard sharing to be restricted to only allowed emails" ,
2023-01-04 03:45:15 +08:00
State : FeatureStateAlpha ,
RequiresLicense : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaDashboardsSquad ,
2023-01-04 03:45:15 +08:00
} ,
2022-03-02 06:46:52 +08:00
{
Name : "lokiLive" ,
2022-12-01 05:50:20 +08:00
Description : "Support WebSocket streaming for loki (early prototype)" ,
2022-03-02 06:46:52 +08:00
State : FeatureStateAlpha ,
2023-03-08 20:42:47 +08:00
Owner : grafanaObservabilityLogsSquad ,
2022-03-02 06:46:52 +08:00
} ,
2022-06-13 14:33:46 +08:00
{
Name : "lokiDataframeApi" ,
2022-12-01 05:50:20 +08:00
Description : "Use experimental loki api for WebSocket streaming (early prototype)" ,
2022-06-13 14:33:46 +08:00
State : FeatureStateAlpha ,
2023-03-08 20:42:47 +08:00
Owner : grafanaObservabilityLogsSquad ,
2022-06-13 14:33:46 +08:00
} ,
2022-02-03 19:53:23 +08:00
{
Name : "featureHighlights" ,
2022-12-01 05:50:20 +08:00
Description : "Highlight Grafana Enterprise features" ,
2022-02-03 19:53:23 +08:00
State : FeatureStateStable ,
2023-03-08 23:38:52 +08:00
Owner : grafanaAsCodeSquad ,
2022-02-03 19:53:23 +08:00
} ,
2022-02-22 15:47:42 +08:00
{
Name : "dashboardComments" ,
Description : "Enable dashboard-wide comments" ,
State : FeatureStateAlpha ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-02-22 15:47:42 +08:00
} ,
{
Name : "annotationComments" ,
Description : "Enable annotation comments" ,
State : FeatureStateAlpha ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-02-22 15:47:42 +08:00
} ,
2022-02-16 00:54:27 +08:00
{
Name : "migrationLocking" ,
Description : "Lock database during migrations" ,
State : FeatureStateBeta ,
2023-03-08 13:57:50 +08:00
Owner : grafanaBackendPlatformSquad ,
2022-02-16 00:54:27 +08:00
} ,
2022-03-18 01:19:23 +08:00
{
Name : "storage" ,
Description : "Configurable storage for dashboards, datasources, and resources" ,
State : FeatureStateAlpha ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-03-18 01:19:23 +08:00
} ,
2022-12-13 23:41:16 +08:00
{
Name : "k8s" ,
Description : "Explore native k8s integrations" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-12-13 23:41:16 +08:00
} ,
2022-07-15 06:36:17 +08:00
{
2022-07-29 14:26:44 +08:00
Name : "dashboardsFromStorage" ,
Description : "Load dashboards from the generic storage interface" ,
State : FeatureStateAlpha ,
RequiresDevMode : true , // Also a gate on automatic git storage (for now)
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-07-15 06:36:17 +08:00
} ,
2022-08-31 22:24:20 +08:00
{
Name : "exploreMixedDatasource" ,
Description : "Enable mixed datasource in Explore" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 19:45:45 +08:00
Owner : grafanaExploreSquad ,
2022-08-31 22:24:20 +08:00
} ,
2022-04-26 21:31:27 +08:00
{
Name : "tracing" ,
Description : "Adds trace ID to error notifications" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
} ,
2023-02-28 23:41:40 +08:00
{
Name : "newTraceView" ,
Description : "Shows the new trace view design" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 22:54:42 +08:00
Owner : grafanaObservabilityTracesAndProfilingSquad ,
2023-02-28 23:41:40 +08:00
} ,
2022-09-16 21:14:27 +08:00
{
Name : "correlations" ,
Description : "Correlations page" ,
State : FeatureStateAlpha ,
2023-03-08 19:45:45 +08:00
Owner : grafanaExploreSquad ,
2022-09-16 21:14:27 +08:00
} ,
2022-04-29 17:43:04 +08:00
{
Name : "cloudWatchDynamicLabels" ,
Description : "Use dynamic labels instead of alias patterns in CloudWatch datasource" ,
State : FeatureStateStable ,
2022-11-04 01:34:01 +08:00
Expression : "true" , // enabled by default
2022-04-29 17:43:04 +08:00
} ,
2022-05-04 00:02:20 +08:00
{
Name : "datasourceQueryMultiStatus" ,
Description : "Introduce HTTP 207 Multi Status for api/ds/query" ,
State : FeatureStateAlpha ,
2023-03-08 00:04:20 +08:00
Owner : grafanaPluginsPlatformSquad ,
2022-05-04 00:02:20 +08:00
} ,
2022-05-06 04:46:18 +08:00
{
Name : "traceToMetrics" ,
Description : "Enable trace to metrics links" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 22:54:42 +08:00
Owner : grafanaObservabilityTracesAndProfilingSquad ,
2022-05-06 04:46:18 +08:00
} ,
2022-10-26 09:20:41 +08:00
{
Name : "newDBLibrary" ,
Description : "Use jmoiron/sqlx rather than xorm for a few backend services" ,
State : FeatureStateBeta ,
2023-03-08 00:04:20 +08:00
Owner : grafanaBackendPlatformSquad ,
2022-10-26 09:20:41 +08:00
} ,
2022-05-22 08:44:12 +08:00
{
Name : "validateDashboardsOnSave" ,
Description : "Validate dashboard JSON POSTed to api/dashboards/db" ,
2022-12-01 05:50:20 +08:00
State : FeatureStateBeta ,
2022-05-22 08:44:12 +08:00
RequiresRestart : true ,
2023-03-08 23:38:52 +08:00
Owner : grafanaAsCodeSquad ,
2022-05-22 08:44:12 +08:00
} ,
2022-06-11 08:12:56 +08:00
{
Name : "autoMigrateGraphPanels" ,
Description : "Replace the angular graph panel with timeseries" ,
State : FeatureStateBeta ,
FrontendOnly : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaDatavizSquad ,
2022-06-11 08:12:56 +08:00
} ,
2022-05-25 04:17:11 +08:00
{
Name : "prometheusWideSeries" ,
Description : "Enable wide series responses in the Prometheus datasource" ,
State : FeatureStateAlpha ,
} ,
2022-06-01 03:03:34 +08:00
{
Name : "canvasPanelNesting" ,
Description : "Allow elements nesting" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaDatavizSquad ,
2022-06-01 03:03:34 +08:00
} ,
2022-07-07 14:53:02 +08:00
{
Name : "scenes" ,
Description : "Experimental framework to build interactive dashboards" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaDashboardsSquad ,
2022-07-07 14:53:02 +08:00
} ,
2022-07-13 04:27:37 +08:00
{
Name : "disableSecretsCompatibility" ,
Description : "Disable duplicated secret storage in legacy tables" ,
State : FeatureStateAlpha ,
RequiresRestart : true ,
} ,
2022-06-10 16:56:55 +08:00
{
Name : "logRequestsInstrumentedAsUnknown" ,
Description : "Logs the path for requests that are instrumented as unknown" ,
2022-12-01 05:50:20 +08:00
State : FeatureStateAlpha ,
2022-06-10 18:13:31 +08:00
} ,
{
Name : "dataConnectionsConsole" ,
2022-12-01 05:50:20 +08:00
Description : "Enables a new top-level page called Connections. This page is an experiment that provides a better experience when you install and configure data sources and other plugins." ,
2022-06-10 16:56:55 +08:00
State : FeatureStateAlpha ,
} ,
2022-06-10 19:02:52 +08:00
{
Name : "internationalization" ,
2022-11-23 22:23:26 +08:00
Description : "Enables internationalization" ,
State : FeatureStateStable ,
2022-12-02 00:27:52 +08:00
Expression : "true" , // enabled by default
2023-03-08 00:04:20 +08:00
Owner : grafanaUserEssentialsSquad ,
2022-06-10 19:02:52 +08:00
} ,
2022-06-20 22:25:43 +08:00
{
Name : "topnav" ,
2023-02-02 22:44:21 +08:00
Description : "Displays new top nav and page layouts" ,
State : FeatureStateBeta ,
2023-03-08 00:04:20 +08:00
Owner : grafanaUserEssentialsSquad ,
2022-06-20 22:25:43 +08:00
} ,
2022-08-25 00:57:59 +08:00
{
2022-09-27 04:25:34 +08:00
Name : "grpcServer" ,
Description : "Run GRPC server" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-10-07 03:48:53 +08:00
} ,
{
2022-12-01 06:52:15 +08:00
Name : "entityStore" ,
Description : "SQL-based entity store (requires storage flag also)" ,
2022-10-07 03:48:53 +08:00
State : FeatureStateAlpha ,
RequiresDevMode : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-10-07 03:48:53 +08:00
} ,
2022-11-28 19:39:12 +08:00
{
Name : "cloudWatchCrossAccountQuerying" ,
2023-01-28 05:46:08 +08:00
Description : "Enables cross-account querying in CloudWatch datasources" ,
State : FeatureStateStable ,
Expression : "true" , //enabled by default
2022-10-07 18:39:14 +08:00
} ,
2022-09-05 23:39:45 +08:00
{
Name : "redshiftAsyncQueryDataSupport" ,
Description : "Enable async query data support for Redshift" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
} ,
{
Name : "athenaAsyncQueryDataSupport" ,
Description : "Enable async query data support for Athena" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
} ,
2022-10-10 23:03:16 +08:00
{
Name : "newPanelChromeUI" ,
Description : "Show updated look and feel of grafana-ui PanelChrome: panel header, icons, and menu" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
} ,
2022-10-08 02:31:45 +08:00
{
Name : "queryLibrary" ,
Description : "Reusable query library" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaAppPlatformSquad ,
2022-10-08 02:31:45 +08:00
} ,
2022-10-14 21:51:05 +08:00
{
Name : "showDashboardValidationWarnings" ,
2022-12-01 05:50:20 +08:00
Description : "Show warnings when dashboards do not validate against the schema" ,
State : FeatureStateAlpha ,
2022-10-14 21:51:05 +08:00
} ,
2022-10-12 19:43:35 +08:00
{
Name : "mysqlAnsiQuotes" ,
2022-12-01 05:50:20 +08:00
Description : "Use double quotes to escape keyword in a MySQL query" ,
2022-10-12 19:43:35 +08:00
State : FeatureStateAlpha ,
2023-03-08 13:57:50 +08:00
Owner : grafanaBackendPlatformSquad ,
2022-10-12 19:43:35 +08:00
} ,
2022-10-20 00:10:09 +08:00
{
2023-01-05 00:52:08 +08:00
Name : "accessControlOnCall" ,
Description : "Access control primitives for OnCall" ,
State : FeatureStateBeta ,
2023-03-08 16:49:02 +08:00
Owner : grafanaAuthnzSquad ,
2022-10-20 00:10:09 +08:00
} ,
2022-10-26 22:15:14 +08:00
{
Name : "nestedFolders" ,
Description : "Enable folder nesting" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
2023-03-08 13:57:50 +08:00
Owner : grafanaBackendPlatformSquad ,
2022-10-26 22:15:14 +08:00
} ,
2022-11-14 23:47:46 +08:00
{
Name : "accessTokenExpirationCheck" ,
Description : "Enable OAuth access_token expiration check and token refresh using the refresh_token" ,
State : FeatureStateStable ,
2023-03-08 16:49:02 +08:00
Owner : grafanaAuthnzSquad ,
2022-11-14 23:47:46 +08:00
} ,
2022-11-10 23:35:15 +08:00
{
Name : "elasticsearchBackendMigration" ,
Description : "Use Elasticsearch as backend data source" ,
State : FeatureStateAlpha ,
2023-03-08 20:42:47 +08:00
Owner : grafanaObservabilityLogsSquad ,
2022-11-10 23:35:15 +08:00
} ,
2022-12-08 07:29:38 +08:00
{
Name : "datasourceOnboarding" ,
Description : "Enable data source onboarding page" ,
State : FeatureStateAlpha ,
} ,
2022-11-30 13:50:59 +08:00
{
Name : "secureSocksDatasourceProxy" ,
Description : "Enable secure socks tunneling for supported core datasources" ,
2022-12-01 05:50:20 +08:00
State : FeatureStateAlpha ,
2022-11-30 13:50:59 +08:00
} ,
2022-11-29 17:57:47 +08:00
{
Name : "authnService" ,
Description : "Use new auth service to perform authentication" ,
State : FeatureStateAlpha ,
2023-03-08 16:49:02 +08:00
Owner : grafanaAuthnzSquad ,
2022-11-29 17:57:47 +08:00
} ,
2022-12-19 23:00:15 +08:00
{
Name : "disablePrometheusExemplarSampling" ,
Description : "Disable Prometheus examplar sampling" ,
State : FeatureStateStable ,
} ,
2022-12-14 22:44:14 +08:00
{
Name : "alertingBacktesting" ,
Description : "Rule backtesting API for alerting" ,
State : FeatureStateAlpha ,
2023-03-09 00:03:06 +08:00
Owner : grafanaAlertingSquad ,
2022-12-14 22:44:14 +08:00
} ,
2023-01-24 17:43:44 +08:00
{
Name : "editPanelCSVDragAndDrop" ,
Description : "Enables drag and drop for CSV and Excel files" ,
FrontendOnly : true ,
State : FeatureStateAlpha ,
2023-03-08 00:04:20 +08:00
Owner : grafanaBiSquad ,
2023-01-24 17:43:44 +08:00
} ,
2023-01-14 07:29:29 +08:00
{
Name : "alertingNoNormalState" ,
Description : "Stop maintaining state of alerts that are not firing" ,
State : FeatureStateBeta ,
RequiresRestart : false ,
2023-03-09 00:03:06 +08:00
Owner : grafanaAlertingSquad ,
2023-01-14 07:29:29 +08:00
} ,
2023-01-28 00:30:25 +08:00
{
Name : "logsSampleInExplore" ,
Description : "Enables access to the logs sample feature in Explore" ,
State : FeatureStateStable ,
Expression : "true" , //turned on by default
FrontendOnly : true ,
2023-03-08 20:42:47 +08:00
Owner : grafanaObservabilityLogsSquad ,
2023-01-28 00:30:25 +08:00
} ,
2023-01-27 22:12:01 +08:00
{
Name : "logsContextDatasourceUi" ,
Description : "Allow datasource to provide custom UI for context view" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 20:42:47 +08:00
Owner : grafanaObservabilityLogsSquad ,
2023-01-27 22:12:01 +08:00
} ,
2023-02-10 01:27:02 +08:00
{
Name : "lokiQuerySplitting" ,
Description : "Split large interval queries into subqueries with smaller time intervals" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 20:42:47 +08:00
Owner : grafanaObservabilityLogsSquad ,
2023-02-10 01:27:02 +08:00
} ,
2023-02-21 18:19:07 +08:00
{
Name : "individualCookiePreferences" ,
Description : "Support overriding cookie preferences per user" ,
State : FeatureStateAlpha ,
} ,
2023-03-01 18:26:19 +08:00
{
Name : "drawerDataSourcePicker" ,
Description : "Changes the user experience for data source selection to a drawer." ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 00:04:20 +08:00
Owner : grafanaBiSquad ,
2023-03-01 18:26:19 +08:00
} ,
2023-03-07 00:31:08 +08:00
{
Name : "traceqlSearch" ,
Description : "Enables the 'TraceQL Search' tab for the Tempo datasource which provides a UI to generate TraceQL queries" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2023-03-08 22:54:42 +08:00
Owner : grafanaObservabilityTracesAndProfilingSquad ,
2023-03-07 00:31:08 +08:00
} ,
2023-03-08 02:41:05 +08:00
{
Name : "prometheusMetricEncyclopedia" ,
Description : "Replaces the Prometheus query builder metric select option with a paginated and filterable component" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
Owner : "O11y-metrics" ,
} ,
2022-01-27 01:44:20 +08:00
}
)