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

FeatureToggles interface

Describes available feature toggles in Grafana. These can be configured via conf/custom.ini to enable features under development or not yet available in stable version.

Only enabled values will be returned in this interface

Signature

typescript
export interface FeatureToggles 

Import

typescript
import { FeatureToggles } from '@grafana/data';

Properties

PropertyTypeDescription
“accesscontrol-builtins”boolean
“live-config”boolean
“live-pipeline”boolean
“live-service-web-worker”boolean
accesscontrolboolean
alertProvisioningboolean
annotationCommentsboolean
azureMonitorResourcePickerForMetricsboolean
dashboardCommentsboolean
dashboardPreviewsboolean
dashboardPreviewsAdminboolean
dashboardPreviewsSchedulerboolean
database_metricsboolean
datasourceQueryMultiStatusboolean
disable_http_request_histogramboolean
envelopeEncryptionboolean
explore2Dashboardboolean
featureHighlightsboolean
httpclientprovider_azure_authboolean
influxdbBackendMigrationboolean
lokiBackendModeboolean
lokiLiveboolean
migrationLockingboolean
newNavigationboolean
panelTitleSearchboolean
persistNotificationsboolean
prometheus_azure_authboolean
queryOverLiveboolean
saveDashboardDrawerboolean
serviceAccountsboolean
showFeatureFlagsInUIboolean
storageboolean
storageLocalUploadboolean
swaggerUiboolean
tempoBackendSearchboolean
tempoSearchboolean
tempoServiceGraphboolean
tracingboolean
trimDefaultsboolean
validatedQueriesboolean

“accesscontrol-builtins” property

Signature

typescript
['accesscontrol-builtins']?: boolean;

“live-config” property

Signature

typescript
['live-config']?: boolean;

“live-pipeline” property

Signature

typescript
['live-pipeline']?: boolean;

“live-service-web-worker” property

Signature

typescript
['live-service-web-worker']?: boolean;

accesscontrol property

Signature

typescript
accesscontrol?: boolean;

alertProvisioning property

Signature

typescript
alertProvisioning?: boolean;

annotationComments property

Signature

typescript
annotationComments?: boolean;

azureMonitorResourcePickerForMetrics property

Signature

typescript
azureMonitorResourcePickerForMetrics?: boolean;

dashboardComments property

Signature

typescript
dashboardComments?: boolean;

dashboardPreviews property

Signature

typescript
dashboardPreviews?: boolean;

dashboardPreviewsAdmin property

Signature

typescript
dashboardPreviewsAdmin?: boolean;

dashboardPreviewsScheduler property

Signature

typescript
dashboardPreviewsScheduler?: boolean;

database_metrics property

Signature

typescript
database_metrics?: boolean;

datasourceQueryMultiStatus property

Signature

typescript
datasourceQueryMultiStatus?: boolean;

disable_http_request_histogram property

Signature

typescript
disable_http_request_histogram?: boolean;

envelopeEncryption property

Signature

typescript
envelopeEncryption?: boolean;

explore2Dashboard property

Signature

typescript
explore2Dashboard?: boolean;

featureHighlights property

Signature

typescript
featureHighlights?: boolean;

httpclientprovider_azure_auth property

Signature

typescript
httpclientprovider_azure_auth?: boolean;

influxdbBackendMigration property

Signature

typescript
influxdbBackendMigration?: boolean;

lokiBackendMode property

Signature

typescript
lokiBackendMode?: boolean;

lokiLive property

Signature

typescript
lokiLive?: boolean;

migrationLocking property

Signature

typescript
migrationLocking?: boolean;

newNavigation property

Signature

typescript
newNavigation?: boolean;

panelTitleSearch property

Signature

typescript
panelTitleSearch?: boolean;

persistNotifications property

Signature

typescript
persistNotifications?: boolean;

prometheus_azure_auth property

Signature

typescript
prometheus_azure_auth?: boolean;

queryOverLive property

Signature

typescript
queryOverLive?: boolean;

saveDashboardDrawer property

Signature

typescript
saveDashboardDrawer?: boolean;

serviceAccounts property

Signature

typescript
serviceAccounts?: boolean;

showFeatureFlagsInUI property

Signature

typescript
showFeatureFlagsInUI?: boolean;

storage property

Signature

typescript
storage?: boolean;

storageLocalUpload property

Signature

typescript
storageLocalUpload?: boolean;

swaggerUi property

Signature

typescript
swaggerUi?: boolean;

tempoBackendSearch property

Signature

typescript
tempoBackendSearch?: boolean;

tempoSearch property

Signature

typescript
tempoSearch?: boolean;

tempoServiceGraph property

Signature

typescript
tempoServiceGraph?: boolean;

tracing property

Signature

typescript
tracing?: boolean;

trimDefaults property

Signature

typescript
trimDefaults?: boolean;

validatedQueries property

Signature

typescript
validatedQueries?: boolean;