Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

Configure feature toggles

You use feature toggles, also known as feature flags, to enable or disable features in Grafana. You can turn on feature toggles to try out new functionality in development or test environments.

This page contains a list of available feature toggles. To learn how to turn on feature toggles, refer to our Configure Grafana documentation. Feature toggles are also available to Grafana Cloud Advanced customers. If you use Grafana Cloud Advanced, you can open a support ticket and specify the feature toggles and stack for which you want them enabled.

Feature toggles

Some features are enabled by default. You can disable these feature by setting the feature flag to “false” in the configuration.

Feature toggle nameDescriptionEnabled by default
disableEnvelopeEncryptionDisable envelope encryption (emergency only)
featureHighlightsHighlight Grafana Enterprise features
dataConnectionsConsoleEnables 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.Yes
cloudWatchCrossAccountQueryingEnables cross-account querying in CloudWatch datasourcesYes
redshiftAsyncQueryDataSupportEnable async query data support for RedshiftYes
athenaAsyncQueryDataSupportEnable async query data support for AthenaYes
newPanelChromeUIShow updated look and feel of grafana-ui PanelChrome: panel header, icons, and menuYes
nestedFolderPickerEnables the new folder picker to work with nested folders. Requires the folderPicker feature flagYes
accessTokenExpirationCheckEnable OAuth access_token expiration check and token refresh using the refresh_token
emptyDashboardPageEnable the redesigned user interface of a dashboard page that includes no panelsYes
disablePrometheusExemplarSamplingDisable Prometheus exemplar sampling
logsContextDatasourceUiAllow datasource to provide custom UI for context viewYes
gcomOnlyExternalOrgRoleSyncProhibits a user from changing organization roles synced with Grafana Cloud auth provider
prometheusMetricEncyclopediaAdds the metrics explorer component to the Prometheus query builder as an option in metric selectYes
prometheusResourceBrowserCacheDisplays browser caching options in Prometheus data source configurationYes
prometheusDataplaneChanges responses to from Prometheus to be compliant with the dataplane specification. In particular it sets the numeric Field.Name from ‘Value’ to the value of the __name__ label when present.Yes
lokiMetricDataplaneChanges metric responses from Loki to be compliant with the dataplane specification.Yes
dataplaneFrontendFallbackSupport dataplane contract field name change for transformations and field name matchers where the name is differentYes
alertingNotificationsPoliciesMatchingInstancesEnables the preview of matching instances for notification policiesYes
useCachingServiceWhen turned on, the new query and resource caching implementation using a wire service inject will be used in place of the previous middleware implementation
advancedDataSourcePickerEnable a new data source picker with contextual information, recently used order and advanced modeYes
transformationsRedesignEnables the transformations redesignYes
azureMonitorDataplaneAdds dataplane compliant frame metadata in the Azure Monitor datasourceYes

Preview feature toggles

Feature toggle nameDescription
trimDefaultsUse cue schema to remove values that will be applied automatically
panelTitleSearchSearch for dashboards using panel title
publicDashboardsEnables public access to dashboards
migrationLockingLock database during migrations
correlationsCorrelations page
newDBLibraryUse jmoiron/sqlx rather than xorm for a few backend services
validateDashboardsOnSaveValidate dashboard JSON POSTed to api/dashboards/db
autoMigrateOldPanelsMigrate old angular panels to supported versions (graph, table-old, worldmap, etc)
disableAngularDynamic flag to disable angular at runtime. The preferred method is to set angular_support_enabled to false in the [security] settings, which allows you to change the state at runtime.
grpcServerRun the GRPC server
accessControlOnCallAccess control primitives for OnCall
nestedFoldersEnable folder nesting for dashboards and alerts. Note that managed alert rules aren’t supported for nested folders. This feature is only supported for test and development environments.
alertingNoNormalStateStop maintaining state of alerts that are not firing
influxdbBackendMigrationQuery InfluxDB InfluxQL without the proxy
renderAuthJWTUses JWT-based auth for rendering instead of relying on remote cache
refactorVariablesTimeRangeRefactor time range variables flow to reduce number of API calls made when query variables are chained
enableElasticsearchBackendQueryingEnable the processing of queries and responses in the Elasticsearch data source through backend
faroDatasourceSelectorEnable the data source selector within the Frontend Apps section of the Frontend Observability
enableDatagridEditingEnables the edit functionality in the datagrid panel
dataSourcePageHeaderApply new pageHeader UI in data source edit page
sqlDatasourceDatabaseSelectionEnables previous SQL data source dataset dropdown behavior
splitScopesSupport faster dashboard and folder search by splitting permission scopes into parts

Experimental feature toggles

These features are early in their development lifecycle and so are not yet supported in Grafana Cloud. Experimental features might be changed or removed without prior notice.

Feature toggle nameDescription
live-service-web-workerThis will use a webworker thread to processes events rather than the main thread
queryOverLiveUse Grafana Live WebSocket to execute backend queries
lokiExperimentalStreamingSupport new streaming approach for loki (prototype, needs special loki build)
storageConfigurable storage for dashboards, datasources, and resources
datasourceQueryMultiStatusIntroduce HTTP 207 Multi Status for api/ds/query
traceToMetricsEnable trace to metrics links
prometheusWideSeriesEnable wide series responses in the Prometheus datasource
canvasPanelNestingAllow elements nesting
scenesExperimental framework to build interactive dashboards
disableSecretsCompatibilityDisable duplicated secret storage in legacy tables
logRequestsInstrumentedAsUnknownLogs the path for requests that are instrumented as unknown
showDashboardValidationWarningsShow warnings when dashboards do not validate against the schema
mysqlAnsiQuotesUse double quotes to escape keyword in a MySQL query
alertingBacktestingRule backtesting API for alerting
editPanelCSVDragAndDropEnables drag and drop for CSV and Excel files
lokiQuerySplittingSplit large interval queries into subqueries with smaller time intervals
lokiQuerySplittingConfigGive users the option to configure split durations for Loki queries
individualCookiePreferencesSupport overriding cookie preferences per user
timeSeriesTableEnable time series table transformer & sparkline cell type
clientTokenRotationReplaces the current in-request token rotation so that the client initiates the rotation
lokiLogsDataplaneChanges logs responses from Loki to be compliant with the dataplane specification.
disableSSEDataplaneDisables dataplane specific processing in server side expressions.
alertStateHistoryLokiSecondaryEnable Grafana to write alert state history to an external Loki instance in addition to Grafana annotations.
alertStateHistoryLokiPrimaryEnable a remote Loki instance as the primary source for state history reads.
alertStateHistoryLokiOnlyDisable Grafana alerts from emitting annotations when a remote Loki instance is available.
unifiedRequestLogWrites error logs to the request logger
pyroscopeFlameGraphChanges flame graph to pyroscope one
extraThemesEnables extra themes
lokiPredefinedOperationsAdds predefined query operations to Loki query editor
pluginsFrontendSandboxEnables the plugins frontend sandbox
dashboardEmbedAllow embedding dashboard for external use in Code editors
frontendSandboxMonitorOnlyEnables monitor only in the plugin frontend sandbox (if enabled)
lokiFormatQueryEnables the ability to format Loki queries
cloudWatchLogsMonacoEditorEnables the Monaco editor for CloudWatch Logs queries
exploreScrollableLogsContainerImproves the scrolling behavior of logs in Explore
recordedQueriesMultiEnables writing multiple items from a single query within Recorded Queries
pluginsDynamicAngularDetectionPatternsEnables fetching Angular detection patterns for plugins from GCOM and fallback to hardcoded ones
alertingLokiRangeToInstantRewrites eligible loki range queries to instant queries
elasticToggleableFiltersEnable support to toggle filters off from the query through the Logs Details component
vizAndWidgetSplitSplit panels between visualizations and widgets
prometheusIncrementalQueryInstrumentationAdds RudderStack events to incremental queries
logsExploreTableVisualisationA table visualisation for logs in Explore
awsDatasourcesTempCredentialsSupport temporary security credentials in AWS plugins for Grafana Cloud customers
toggleLabelsInLogsUIEnable toggleable filters in log details view
mlExpressionsEnable support for Machine Learning in server-side expressions
traceQLStreamingEnables response streaming of TraceQL queries of the Tempo data source
grafanaAPIServerEnable Kubernetes API Server for Grafana resources
featureToggleAdminPageEnable admin page for managing feature toggles from the Grafana front-end
awsAsyncQueryCachingEnable caching for async queries for Redshift and Athena. Requires that the useCachingService feature toggle is enabled and the datasource has caching and async query support enabled
permissionsFilterRemoveSubqueryAlternative permission filter implementation that does not use subqueries for fetching the dashboard folder
prometheusConfigOverhaulAuthUpdate the Prometheus configuration page with the new auth component

Development feature toggles

The following toggles require explicitly setting Grafana’s app mode to ‘development’ before you can enable this feature toggle. These features tend to be experimental.

Feature toggle nameDescription
entityStoreSQL-based entity store (requires storage flag also)
externalServiceAuthStarts an OAuth2 authentication provider for external services