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

GrafanaConfig interface

Describes all the different Grafana configuration values available for an instance.

Signature

typescript
export interface GrafanaConfig 

Import

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

Properties

PropertyTypeDescription
alertingEnabledboolean
alertingErrorOrTimeoutstring
alertingMinIntervalnumber
alertingNoDataOrNullValuesstring
allowOrgCreateboolean
appSubUrlstring
authProxyEnabledboolean
autoAssignOrgboolean
bootDataany
buildInfoBuildInfo
customThemeany
datasources{
[str: string]: DataSourceInstanceSettings;
}
dateFormatsSystemDateFormatSettings
defaultDatasourcestring
disableLoginFormboolean
disableSanitizeHtmlboolean
disableUserSignUpboolean
editorsCanAdminboolean
exploreEnabledboolean
externalUserMngInfostring
externalUserMngLinkNamestring
externalUserMngLinkUrlstring
featureTogglesFeatureToggles
http2Enabledboolean
ldapEnabledboolean
licenseInfoLicenseInfo
liveEnabledboolean
loginErrorany
loginHintany
minRefreshIntervalstring
navTreeany
newPanelTitlestring
oauthany
panels{
[key: string]: PanelPluginMeta;
}
passwordHintany
pluginsToPreloadstring[]
samlEnabledboolean
sentrySentryConfig
sigV4AuthEnabledboolean
themeGrafanaTheme
theme2GrafanaTheme2
verifyEmailEnabledboolean
viewersCanEditboolean
windowTitlePrefixstring

alertingEnabled property

Signature

typescript
alertingEnabled: boolean;

alertingErrorOrTimeout property

Signature

typescript
alertingErrorOrTimeout: string;

alertingMinInterval property

Signature

typescript
alertingMinInterval: number;

alertingNoDataOrNullValues property

Signature

typescript
alertingNoDataOrNullValues: string;

allowOrgCreate property

Signature

typescript
allowOrgCreate: boolean;

appSubUrl property

Signature

typescript
appSubUrl: string;

authProxyEnabled property

Signature

typescript
authProxyEnabled: boolean;

autoAssignOrg property

Signature

typescript
autoAssignOrg: boolean;

bootData property

Signature

typescript
bootData: any;

buildInfo property

Signature

typescript
buildInfo: BuildInfo;

customTheme property

Signature

typescript
customTheme?: any;

datasources property

Signature

typescript
datasources: {
        [str: string]: DataSourceInstanceSettings;
    };

dateFormats property

Signature

typescript
dateFormats?: SystemDateFormatSettings;

defaultDatasource property

Signature

typescript
defaultDatasource: string;

disableLoginForm property

Signature

typescript
disableLoginForm: boolean;

disableSanitizeHtml property

Signature

typescript
disableSanitizeHtml: boolean;

disableUserSignUp property

Signature

typescript
disableUserSignUp: boolean;

editorsCanAdmin property

Signature

typescript
editorsCanAdmin: boolean;

exploreEnabled property

Signature

typescript
exploreEnabled: boolean;

externalUserMngInfo property

Signature

typescript
externalUserMngInfo: string;

externalUserMngLinkName property

Signature

typescript
externalUserMngLinkName: string;

externalUserMngLinkUrl property

Signature

typescript
externalUserMngLinkUrl: string;

featureToggles property

Signature

typescript
featureToggles: FeatureToggles;

http2Enabled property

Signature

typescript
http2Enabled: boolean;

ldapEnabled property

Signature

typescript
ldapEnabled: boolean;

licenseInfo property

Signature

typescript
licenseInfo: LicenseInfo;

liveEnabled property

Signature

typescript
liveEnabled: boolean;

loginError property

Signature

typescript
loginError: any;

loginHint property

Signature

typescript
loginHint: any;

minRefreshInterval property

Signature

typescript
minRefreshInterval: string;

Signature

typescript
navTree: any;

newPanelTitle property

Signature

typescript
newPanelTitle: string;

oauth property

Signature

typescript
oauth: any;

panels property

Signature

typescript
panels: {
        [key: string]: PanelPluginMeta;
    };

passwordHint property

Signature

typescript
passwordHint: any;

pluginsToPreload property

Signature

typescript
pluginsToPreload: string[];

samlEnabled property

Signature

typescript
samlEnabled: boolean;

sentry property

Signature

typescript
sentry: SentryConfig;

sigV4AuthEnabled property

Signature

typescript
sigV4AuthEnabled: boolean;

theme property

Signature

typescript
theme: GrafanaTheme;

theme2 property

Signature

typescript
theme2: GrafanaTheme2;

verifyEmailEnabled property

Signature

typescript
verifyEmailEnabled: boolean;

viewersCanEdit property

Signature

typescript
viewersCanEdit: boolean;

windowTitlePrefix property

Signature

typescript
windowTitlePrefix: string;