Skip to main content

Environment data source

The Environment data source is a plugin for Grafana that returns environment variables to display on your dashboard or use as Variables in your code.

Environment Variables displayed on the Grafana dashboard.
Environment Variables displayed on the Grafana dashboard.

Requirements

  • Environment data source 4.X requires Grafana 10 or Grafana 11.
  • Environment data source 3.X requires Grafana 9 or Grafana 10.
  • Environment data source 2.X requires Grafana 8.5 or Grafana 9.
  • Environment data source 1.X requires Grafana 8.

Getting Started

Environment data source is not included in the Grafana Catalog. It can be installed directly from GitHub.

Signed version

Signed to http://localhost:3000/ version can be used behind the proxy server (NGINX).

grafana cli --pluginUrl https://github.com/VolkovLabs/volkovlabs-env-datasource/releases/download/v4.1.0/volkovlabs-env-datasource-4.1.0.zip plugins install volkovlabs-env-datasource

Unsigned version

Can be used with any Grafana instance. Requires to add the environment data source to the allowed unsigned plugin configuration.

grafana cli --pluginUrl https://github.com/VolkovLabs/volkovlabs-env-datasource/releases/download/v4.1.0/volkovlabs-env-datasource-4.1.0.unsigned.zip plugins install volkovlabs-env-datasource

Highlights

  • Returns Environment Variables.
  • Allows filtering unnecessary or secured variables using Regex.
  • Supports Dashboard Variables.

Tutorial

The topic of variables in Grafana has generated a myriad of questions lately. We created this video to structure the subject and speed up the learning curve for Grafana enthusiasts.

Dashboard, Global and Environment variables.

Documentation

SectionDescription
DeploymentExplains deployment options for the data source.
FeaturesDemonstrates data source features.
ProvisioningDemonstrates how to automatically provision the data Source.
Release NotesStay up to date with the latest features and updates.

License

Apache License Version 2.0, see LICENSE.

Always happy to hear from you