BuildInfo interface

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

Signature

  1. export interface BuildInfo

Import

  1. 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

  1. commit: string;

edition property

Signature

  1. edition: GrafanaEdition;

env property

Signature

  1. env: string;

hasUpdate property

Signature

  1. hasUpdate: boolean;

hideVersion property

Signature

  1. hideVersion: boolean;

isEnterprise property

Is set to true when running Grafana Enterprise edition.

Signature

  1. isEnterprise: boolean;

latestVersion property

Signature

  1. latestVersion: string;

version property

Signature

  1. version: string;