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
“live-config”boolean
“live-pipeline”boolean
“live-service-web-worker”boolean
“service-accounts”boolean
accesscontrolboolean
dashboardPreviewsboolean
database_metricsboolean
disable_http_request_histogramboolean
envelopeEncryptionboolean
featureHighlightsboolean
fullRangeLogsVolumeboolean
httpclientprovider_azure_authboolean
migrationLockingboolean
newNavigationboolean
prometheus_azure_authboolean
queryOverLiveboolean
showFeatureFlagsInUIboolean
swaggerUiboolean
tempoBackendSearchboolean
tempoSearchboolean
tempoServiceGraphboolean
trimDefaultsboolean
validatedQueriesboolean

“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;

“service-accounts” property

Signature

typescript
['service-accounts']?: boolean;

accesscontrol property

Signature

typescript
accesscontrol?: boolean;

dashboardPreviews property

Signature

typescript
dashboardPreviews?: boolean;

database_metrics property

Signature

typescript
database_metrics?: boolean;

disable_http_request_histogram property

Signature

typescript
disable_http_request_histogram?: boolean;

envelopeEncryption property

Signature

typescript
envelopeEncryption?: boolean;

featureHighlights property

Signature

typescript
featureHighlights?: boolean;

fullRangeLogsVolume property

Signature

typescript
fullRangeLogsVolume?: boolean;

httpclientprovider_azure_auth property

Signature

typescript
httpclientprovider_azure_auth?: boolean;

migrationLocking property

Signature

typescript
migrationLocking?: boolean;

newNavigation property

Signature

typescript
newNavigation?: boolean;

prometheus_azure_auth property

Signature

typescript
prometheus_azure_auth?: boolean;

queryOverLive property

Signature

typescript
queryOverLive?: boolean;

showFeatureFlagsInUI property

Signature

typescript
showFeatureFlagsInUI?: 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;

trimDefaults property

Signature

typescript
trimDefaults?: boolean;

validatedQueries property

Signature

typescript
validatedQueries?: boolean;