Skip to main content

Environment Data Source

Grafana 9 Language grade: JavaScript CI codecov

Introduction

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

Requirements

  • Grafana 8.5+, Grafana 9.0+ is required for version 2.X.
  • Grafana 8.0+ is required for version 1.X.

Getting Started

Because of the security reasons Environment data source can not be included in the Grafana Marketplace and can be installed manually from our private repository or downloaded directly from the GitHub repository:

grafana-cli --repo https://volkovlabs.io/plugins plugins install volkovlabs-env-datasource

Features

  • Returns Environment Variables.
  • Allows to filter unnecessary or secured variables using Regex.

Provisioning

Grafana supports managing data sources by adding one or more YAML config files in the provisioning/datasources folder.

Example of provisioning the Environment Data Source with a filter GF_ to return only Grafana related variables.

datasources:
- name: Environment
type: volkovlabs-env-datasource
access: proxy
isDefault: true
orgId: 1
version: 1
editable: true
jsonData:
filter: GF_

Feedback

We love to hear from users, developers, and the whole community interested in this plugin. These are various ways to get in touch with us:

  • Ask a question, request a new feature, and file a bug with GitHub issues.
  • Star the repository to show your support.

License

  • Apache License Version 2.0, see LICENSE.