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 06:02:52 -05:00
// twice to generate and validate the feature flag files
2022-04-01 01:32:00 -05:00
2022-01-26 11:44:20 -06: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 03:34:47 -05:00
Name : "disableEnvelopeEncryption" ,
Description : "Disable envelope encryption (emergency only)" ,
State : FeatureStateStable ,
2022-01-26 11:44:20 -06: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 12:45:00 -06:00
{
2022-04-24 16:55:10 -05:00
Name : "dashboardPreviewsAdmin" ,
Description : "Manage the dashboard previews crawler process from the UI" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
2022-02-17 02:34:07 -06:00
} ,
2022-01-26 11:44:20 -06: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 12:26:03 -06:00
{
2022-05-02 14:01:29 -05:00
Name : "panelTitleSearch" ,
Description : "Search for dashboards using panel title" ,
State : FeatureStateAlpha ,
2022-02-15 12:26:03 -06:00
} ,
2022-01-26 11:44:20 -06:00
{
Name : "tempoServiceGraph" ,
Description : "show service" ,
State : FeatureStateBeta ,
FrontendOnly : true ,
} ,
2022-06-09 11:56:15 -05:00
{
Name : "tempoApmTable" ,
Description : "Show APM table" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
} ,
2022-01-26 11:44:20 -06:00
{
Name : "prometheus_azure_auth" ,
2022-04-01 06:26:49 -05:00
Description : "Experimental. Azure authentication for Prometheus datasource" ,
2022-01-26 11:44:20 -06:00
State : FeatureStateBeta ,
} ,
2022-05-30 10:43:32 -05:00
{
Name : "prometheusAzureOverrideAudience" ,
Description : "Experimental. Allow override default AAD audience for Azure Prometheus endpoint" ,
State : FeatureStateBeta ,
} ,
2022-02-09 12:26:16 -06:00
{
Name : "influxdbBackendMigration" ,
Description : "Query InfluxDB InfluxQL without the proxy" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
} ,
2022-01-26 11:44:20 -06:00
{
Name : "showFeatureFlagsInUI" ,
Description : "Show feature flags in the settings UI" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
} ,
2022-04-07 13:30:19 -05:00
{
2022-06-30 18:10:30 -05:00
Name : "publicDashboards" ,
Description : "enables public access to dashboards" ,
State : FeatureStateAlpha ,
2022-04-07 13:30:19 -05:00
} ,
2022-03-01 16:46:52 -06:00
{
Name : "lokiLive" ,
Description : "support websocket streaming for loki (early prototype)" ,
State : FeatureStateAlpha ,
} ,
2022-06-13 01:33:46 -05:00
{
Name : "lokiDataframeApi" ,
Description : "use experimental loki api for websocket streaming (early prototype)" ,
State : FeatureStateAlpha ,
} ,
2022-02-08 06:38:43 -06:00
{
Name : "swaggerUi" ,
Description : "Serves swagger UI" ,
State : FeatureStateBeta ,
} ,
2022-02-03 05:53:23 -06:00
{
Name : "featureHighlights" ,
Description : "Highlight Enterprise features" ,
State : FeatureStateStable ,
} ,
2022-02-22 01:47:42 -06:00
{
Name : "dashboardComments" ,
Description : "Enable dashboard-wide comments" ,
State : FeatureStateAlpha ,
} ,
{
Name : "annotationComments" ,
Description : "Enable annotation comments" ,
State : FeatureStateAlpha ,
} ,
2022-02-15 10:54:27 -06:00
{
Name : "migrationLocking" ,
Description : "Lock database during migrations" ,
State : FeatureStateBeta ,
} ,
2022-03-17 12:19:23 -05:00
{
Name : "storage" ,
Description : "Configurable storage for dashboards, datasources, and resources" ,
State : FeatureStateAlpha ,
} ,
2022-04-25 18:59:18 -05:00
{
Name : "export" ,
Description : "Export grafana instance (to git, etc)" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
} ,
2022-03-17 12:19:23 -05:00
{
Name : "storageLocalUpload" ,
Description : "allow uploads to local storage" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
} ,
2022-03-14 14:07:45 -05:00
{
Name : "azureMonitorResourcePickerForMetrics" ,
Description : "New UI for Azure Monitor Metrics Query" ,
State : FeatureStateAlpha ,
RequiresDevMode : true ,
FrontendOnly : true ,
} ,
2022-04-07 03:26:01 -05:00
{
Name : "explore2Dashboard" ,
Description : "Experimental Explore to Dashboard workflow" ,
State : FeatureStateBeta ,
FrontendOnly : true ,
} ,
2022-04-26 08:31:27 -05: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 04:43:04 -05:00
{
Name : "cloudWatchDynamicLabels" ,
Description : "Use dynamic labels instead of alias patterns in CloudWatch datasource" ,
State : FeatureStateStable ,
} ,
2022-05-03 11:02:20 -05:00
{
Name : "datasourceQueryMultiStatus" ,
Description : "Introduce HTTP 207 Multi Status for api/ds/query" ,
State : FeatureStateAlpha ,
} ,
2022-05-04 08:54:09 -05:00
{
2022-06-09 13:24:48 -05:00
Name : "azureMonitorExperimentalUI" ,
Description : "Use grafana-experimental UI in Azure Monitor" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
2022-05-04 08:54:09 -05:00
} ,
2022-05-05 15:46:18 -05:00
{
Name : "traceToMetrics" ,
Description : "Enable trace to metrics links" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
} ,
2022-05-13 13:28:54 -05:00
{
Name : "prometheusStreamingJSONParser" ,
Description : "Enable streaming JSON parser for Prometheus datasource" ,
2022-05-25 11:51:09 -05:00
State : FeatureStateBeta ,
2022-05-13 13:28:54 -05:00
} ,
2022-05-21 19:44:12 -05:00
{
Name : "validateDashboardsOnSave" ,
Description : "Validate dashboard JSON POSTed to api/dashboards/db" ,
State : FeatureStateAlpha ,
RequiresRestart : true ,
} ,
2022-06-10 19:12:56 -05:00
{
Name : "autoMigrateGraphPanels" ,
Description : "Replace the angular graph panel with timeseries" ,
State : FeatureStateBeta ,
FrontendOnly : true ,
} ,
2022-05-24 15:17:11 -05: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 01:53:02 -05:00
{
Name : "scenes" ,
Description : "Experimental framework to build interactive dashboards" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
} ,
2022-06-23 13:48:28 -05:00
{
Name : "useLegacyHeatmapPanel" ,
Description : "Continue to use the angular/flot based heatmap panel" ,
State : FeatureStateStable ,
} ,
2022-06-09 08:56:32 -05:00
{
Name : "cloudMonitoringExperimentalUI" ,
Description : "Use grafana-experimental UI in Cloud Monitoring" ,
State : FeatureStateAlpha ,
FrontendOnly : true ,
} ,
2022-06-10 03:56:55 -05:00
{
Name : "logRequestsInstrumentedAsUnknown" ,
Description : "Logs the path for requests that are instrumented as unknown" ,
2022-06-10 05:13:31 -05: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 03:56:55 -05:00
State : FeatureStateAlpha ,
} ,
2022-06-10 06:02:52 -05:00
{
Name : "internationalization" ,
Description : "Enables work-in-progress internationalization" ,
State : FeatureStateAlpha ,
} ,
2022-06-20 09:25:43 -05:00
{
Name : "topnav" ,
Description : "New top nav and page layouts" ,
State : FeatureStateAlpha ,
} ,
2022-06-22 10:05:52 -05:00
{
Name : "customBranding" ,
Description : "Replaces whitelabeling with the new custom branding feature" ,
State : FeatureStateAlpha ,
} ,
2022-01-26 11:44:20 -06:00
}
)