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
appUrlstring
authProxyEnabledboolean
autoAssignOrgboolean
awsAllowedAuthProvidersstring[]
awsAssumeRoleEnabledboolean
bootDataany
buildInfoBuildInfo
customThemeany
datasources{
[str: string]: DataSourceInstanceSettings;
}
dateFormatsSystemDateFormatSettings
defaultDatasourcestring
disableLoginFormboolean
disableSanitizeHtmlboolean
disableUserSignUpboolean
editorsCanAdminboolean
exploreEnabledboolean
expressionsEnabledboolean
externalUserMngInfostring
externalUserMngLinkNamestring
externalUserMngLinkUrlstring
featureTogglesFeatureToggles
http2Enabledboolean
ldapEnabledboolean
licenseInfoLicenseInfo
loginErrorany
loginHintany
marketplaceUrlstring
minRefreshIntervalstring
navTreeany
newPanelTitlestring
oauthany
panels{
[key: string]: PanelPluginMeta;
}
passwordHintany
pluginsToPreloadstring[]
rendererAvailableboolean
samlEnabledboolean
sentry{
enabled: boolean;
dsn: string;
customEndpoint: string;
sampleRate: number;
}
sigV4AuthEnabledboolean
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;

appUrl property

Signature

typescript
appUrl: string;

authProxyEnabled property

Signature

typescript
authProxyEnabled: boolean;

autoAssignOrg property

Signature

typescript
autoAssignOrg: boolean;

awsAllowedAuthProviders property

Signature

typescript
awsAllowedAuthProviders: string[];

awsAssumeRoleEnabled property

Signature

typescript
awsAssumeRoleEnabled: 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;

expressionsEnabled property

Signature

typescript
expressionsEnabled: 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;

loginError property

Signature

typescript
loginError: any;

loginHint property

Signature

typescript
loginHint: any;

marketplaceUrl property

Signature

typescript
marketplaceUrl?: string;

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;

sentry property

Signature

typescript
sentry: {
        enabled: boolean;
        dsn: string;
        customEndpoint: string;
        sampleRate: number;
    };

sigV4AuthEnabled property

Signature

typescript
sigV4AuthEnabled: 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;