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

GrafanaBootConfig class

Signature

typescript
export declare class GrafanaBootConfig implements GrafanaConfig 

Import

typescript
import { GrafanaBootConfig } from '@grafana/runtime';

Constructors

ConstructorModifiersDescription
constructor(options)Constructs a new instance of the GrafanaBootConfig class

Properties

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

constructor(options)

Constructs a new instance of the GrafanaBootConfig class

Signature

typescript
constructor(options: GrafanaBootConfig);

Parameters

ParameterTypeDescription
optionsGrafanaBootConfig

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;

datasources property

Signature

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

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;

ldapEnabled property

Signature

typescript
ldapEnabled: boolean;

licenseInfo property

Signature

typescript
licenseInfo: LicenseInfo;

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[];

rendererAvailable property

Signature

typescript
rendererAvailable: boolean;

samlEnabled property

Signature

typescript
samlEnabled: boolean;

theme property

Signature

typescript
theme: GrafanaTheme;

verifyEmailEnabled property

Signature

typescript
verifyEmailEnabled: boolean;

viewersCanEdit property

Signature

typescript
viewersCanEdit: boolean;

windowTitlePrefix property

Signature

typescript
windowTitlePrefix: string;