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

BuildInfo interface

Describes the build information that will be available via the Grafana configuration.

Signature

typescript
export interface BuildInfo 

Import

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

Properties

PropertyTypeDescription
commitstring
editionGrafanaEdition
envstring
hasUpdateboolean
hideVersionboolean
isEnterprisebooleanIs set to true when running Grafana Enterprise edition.
latestVersionstring
versionstring

commit property

Signature

typescript
commit: string;

edition property

Signature

typescript
edition: GrafanaEdition;

env property

Signature

typescript
env: string;

hasUpdate property

Signature

typescript
hasUpdate: boolean;

hideVersion property

Signature

typescript
hideVersion: boolean;

isEnterprise property

Is set to true when running Grafana Enterprise edition.

Signature

typescript
isEnterprise: boolean;

latestVersion property

Signature

typescript
latestVersion: string;

version property

Signature

typescript
version: string;