2022-04-01 01:32:00 -05: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 12:02:52 +01:00
// twice to generate and validate the feature flag files
2022-04-01 01:32:00 -05:00
2022-01-26 09:44:20 -08:00
package featuremgmt
var (
// Register each toggle here
standardFeatureFlags = [] FeatureFlag {
{
Name : "trimDefaults" ,
Description : "Use cue schema to remove values that will be applied automatically" ,
State : FeatureStateBeta ,
},
{
2022-05-24 10:34:47 +02:00
Name : "disableEnvelopeEncryption" ,
Description : "Disable envelope encryption (emergency only)" ,
State : FeatureStateStable ,
2022-01-26 09:44:20 -08:00
},
{
Name : "database_metrics" ,
Description : "Add prometheus metrics for database tables" ,
State : FeatureStateStable ,
},
{
Name : "dashboardPreviews" ,
Description : "Create and show thumbnails for dashboard search results" ,
State : FeatureStateAlpha ,
},
2022-02-10 22:45:00 +04:00
{
2022-04-25 01:55:10 +04:00
Name : "dashboardPreviewsAdmin" ,
Description : "Manage the dashboard previews crawler process from the UI" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
2022-02-17 12:34:07 +04:00
},
2022-01-26 09:44:20 -08:00
{
Name : "live-config" ,
Description : "Save grafana live configuration in SQL tables" ,
State : FeatureStateAlpha ,
},
{
Name : "live-pipeline" ,
Description : "enable a generic live processing pipeline" ,
State : FeatureStateAlpha ,
},
{
Name : "live-service-web-worker" ,
Description : "This will use a webworker thread to processes events rather than the main thread" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
},
{
Name : "queryOverLive" ,
Description : "Use grafana live websocket to execute backend queries" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
},
2022-02-15 10:26:03 -08:00
{
2022-05-02 23:01:29 +04:00
Name : "panelTitleSearch" ,
Description : "Search for dashboards using panel title" ,
State : FeatureStateAlpha ,
2022-02-15 10:26:03 -08:00
},
2022-06-09 17:56:15 +01:00
{
Name : "tempoApmTable" ,
Description : "Show APM table" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
},
2022-05-30 08:43:32 -07:00
{
Name : "prometheusAzureOverrideAudience" ,
Description : "Experimental. Allow override default AAD audience for Azure Prometheus endpoint" ,
State : FeatureStateBeta ,
},
2022-02-09 18:26:16 +00:00
{
Name : "influxdbBackendMigration" ,
Description : "Query InfluxDB InfluxQL without the proxy" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
},
2022-01-26 09:44:20 -08:00
{
Name : "showFeatureFlagsInUI" ,
Description : "Show feature flags in the settings UI" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
},
2022-04-07 10:30:19 -08:00
{
2022-06-30 20:10:30 -03:00
Name : "publicDashboards" ,
Description : "enables public access to dashboards" ,
State : FeatureStateAlpha ,
2022-04-07 10:30:19 -08:00
},
2022-03-01 14:46:52 -08:00
{
Name : "lokiLive" ,
Description : "support websocket streaming for loki (early prototype)" ,
State : FeatureStateAlpha ,
},
2022-06-13 08:33:46 +02:00
{
Name : "lokiDataframeApi" ,
Description : "use experimental loki api for websocket streaming (early prototype)" ,
State : FeatureStateAlpha ,
},
2022-02-08 14:38:43 +02:00
{
Name : "swaggerUi" ,
Description : "Serves swagger UI" ,
State : FeatureStateBeta ,
},
2022-02-03 13:53:23 +02:00
{
Name : "featureHighlights" ,
Description : "Highlight Enterprise features" ,
State : FeatureStateStable ,
},
2022-02-22 10:47:42 +03:00
{
Name : "dashboardComments" ,
Description : "Enable dashboard-wide comments" ,
State : FeatureStateAlpha ,
},
{
Name : "annotationComments" ,
Description : "Enable annotation comments" ,
State : FeatureStateAlpha ,
},
2022-02-15 18:54:27 +02:00
{
Name : "migrationLocking" ,
Description : "Lock database during migrations" ,
State : FeatureStateBeta ,
},
2022-03-17 10:19:23 -07:00
{
Name : "storage" ,
Description : "Configurable storage for dashboards, datasources, and resources" ,
State : FeatureStateAlpha ,
},
2022-07-14 15:36:17 -07:00
{
2022-07-28 23:26:44 -07:00
Name : "dashboardsFromStorage" ,
Description : "Load dashboards from the generic storage interface" ,
State : FeatureStateAlpha ,
RequiresDevMode : true , // Also a gate on automatic git storage (for now)
2022-07-14 15:36:17 -07:00
},
2022-04-25 16:59:18 -07:00
{
Name : "export" ,
Description : "Export grafana instance (to git, etc)" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
},
2022-03-14 15:07:45 -04:00
{
Name : "azureMonitorResourcePickerForMetrics" ,
Description : "New UI for Azure Monitor Metrics Query" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
FrontendOnly : true ,
},
2022-04-07 09:26:01 +01:00
{
Name : "explore2Dashboard" ,
Description : "Experimental Explore to Dashboard workflow" ,
State : FeatureStateBeta ,
FrontendOnly : true ,
},
2022-04-26 14:31:27 +01:00
{
Name : "tracing" ,
Description : "Adds trace ID to error notifications" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
},
2022-04-21 16:50:34 -05:00
{
Name : "commandPalette" ,
Description : "Enable command palette" ,
State : FeatureStateAlpha ,
},
2022-04-29 11:43:04 +02:00
{
Name : "cloudWatchDynamicLabels" ,
Description : "Use dynamic labels instead of alias patterns in CloudWatch datasource" ,
State : FeatureStateStable ,
},
2022-05-03 18:02:20 +02:00
{
Name : "datasourceQueryMultiStatus" ,
Description : "Introduce HTTP 207 Multi Status for api/ds/query" ,
State : FeatureStateAlpha ,
},
2022-05-05 14:46:18 -06:00
{
Name : "traceToMetrics" ,
Description : "Enable trace to metrics links" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
},
2022-05-13 14:28:54 -04:00
{
Name : "prometheusStreamingJSONParser" ,
Description : "Enable streaming JSON parser for Prometheus datasource" ,
2022-05-25 12:51:09 -04:00
State : FeatureStateBeta ,
2022-05-13 14:28:54 -04:00
},
2022-07-28 14:26:51 +02:00
{
Name : "prometheusStreamingJSONParserTest" ,
Description : "Run both old and streaming requests and log differences" ,
State : FeatureStateBeta ,
},
2022-05-21 20:44:12 -04:00
{
Name : "validateDashboardsOnSave" ,
Description : "Validate dashboard JSON POSTed to api/dashboards/db" ,
State : FeatureStateAlpha ,
RequiresRestart : true ,
},
2022-06-10 17:12:56 -07:00
{
Name : "autoMigrateGraphPanels" ,
Description : "Replace the angular graph panel with timeseries" ,
State : FeatureStateBeta ,
FrontendOnly : true ,
},
2022-05-24 16:17:11 -04:00
{
Name : "prometheusWideSeries" ,
Description : "Enable wide series responses in the Prometheus datasource" ,
State : FeatureStateAlpha ,
},
2022-05-31 14:03:34 -05:00
{
Name : "canvasPanelNesting" ,
Description : "Allow elements nesting" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
},
2022-07-07 08:53:02 +02:00
{
Name : "scenes" ,
Description : "Experimental framework to build interactive dashboards" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
},
2022-06-23 11:48:28 -07:00
{
Name : "useLegacyHeatmapPanel" ,
Description : "Continue to use the angular/flot based heatmap panel" ,
State : FeatureStateStable ,
},
2022-06-09 06:56:32 -07:00
{
Name : "cloudMonitoringExperimentalUI" ,
Description : "Use grafana-experimental UI in Cloud Monitoring" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
},
2022-07-12 17:27:37 -03:00
{
Name : "disableSecretsCompatibility" ,
Description : "Disable duplicated secret storage in legacy tables" ,
State : FeatureStateAlpha ,
RequiresRestart : true ,
},
2022-06-10 10:56:55 +02:00
{
Name : "logRequestsInstrumentedAsUnknown" ,
Description : "Logs the path for requests that are instrumented as unknown" ,
2022-06-10 12:13:31 +02:00
},
{
Name : "dataConnectionsConsole" ,
Description : "Enables a new top-level page called Data Connections. This page is an experiment for better grouping of installing / configuring data sources and other plugins." ,
2022-06-10 10:56:55 +02:00
State : FeatureStateAlpha ,
},
2022-06-10 12:02:52 +01:00
{
Name : "internationalization" ,
Description : "Enables work-in-progress internationalization" ,
State : FeatureStateAlpha ,
},
2022-06-20 16:25:43 +02:00
{
Name : "topnav" ,
Description : "New top nav and page layouts" ,
State : FeatureStateAlpha ,
},
2022-06-22 17:05:52 +02:00
{
Name : "customBranding" ,
Description : "Replaces whitelabeling with the new custom branding feature" ,
State : FeatureStateAlpha ,
},
2022-01-26 09:44:20 -08:00
}
)