Displays environment variables on your Grafana dashboards

Overview

Displays environment variables on your Grafana dashboards

Dashboard

Grafana 8 CI codecov Language grade: JavaScript

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.0 is required.

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.

Contributing

  • Fork the repository.
  • Find an issue to work on and submit a pull request.
  • Could not find an issue? Look for documentation, bugs, typos, and missing features.

License

  • Apache License Version 2.0, see LICENSE.
You might also like...

Nepkit Connector – Build Dashboards & Admin Tools in minutes

Nepkit Connector Use Nepkit Connector to connect Nepkit Dashboard Builder to the database on your server or local machine. Supported databases: Postgr

Jun 3, 2022

Balena Application plugin for @grafana.

Balena Application plugin for @grafana.

Balena Application plugin for Grafana Introduction The Balena Application plugin for Grafana allows to display device information and manage services

Jan 2, 2023

Apache ECharts Panel plugin for Grafana

Apache ECharts Panel plugin for Grafana

Apache ECharts Panel plugin for Grafana Introduction The ECharts Panel is a plugin for Grafana that allows to visualize Apache ECharts on your Grafana

Dec 23, 2022

Add GeoIP && UA-Parser support for Grafana Loki

Add GeoIP && UA-Parser support for Grafana Loki

loki-enhance-middleware loki-enhance-middleware hijacks log push requests sent to loki and modifies it. Deploy docker-compose.yaml services: loki:

Dec 10, 2022

Palette plugin using CSS variables for TailwindCSS

 Palette plugin using CSS variables for TailwindCSS

Palette plugin using CSS variables for TailwindCSS Adds a color palette (from 100 to 900) for each color of your tailwind configuration while using CS

Dec 28, 2022

An action intended to run on pull request and post a comment summarizing any changes to DevCycle variables.

An action intended to run on pull request and post a comment summarizing any changes to DevCycle variables.

Overview With this Github action, information on which DevCycle features have been added or removed in a code change will be shown directly on each Pu

Jun 14, 2022

A JavaScript library to apply light-dark theme in web pages with the help of css variables

A JavaScript  library to apply light-dark theme in web pages with the help of css variables

Theme Changer The simplest JavaScript library to apply light - dark theme in your website. First Check Out One Example How to use Files index.html sty

Dec 20, 2022

Beautiful UI-Range input component, highly customisable, based on CSS variables.

Beautiful UI-Range input component, highly customisable, based on CSS variables.

Beautiful UI-Range input component, highly customisable, based on CSS variables. including a floating output value, min & max values on the sides & ticks according to the steps

Dec 27, 2022

Read Storage Variables On-The-Go

EVM-Storage-Slot-Reader Read Storage Variables On-The-Go TODO basic types ☑️ 🔲 static arrays (1D) ☑️ 🔲 dynamic arrays (1D) ☑️ 🔲 bytes 🔲 🔲 mapping

Nov 28, 2022
Comments
  • I don't see data source after restart

    I don't see data source after restart

    Hi, I'm on last version of Grafana on my docker machine...(v9.2.6 (8ba6f0f1a8)) and I followed all the installation commands + restart. grafana-cli --repo https://volkovlabs.io/plugins plugins install volkovlabs-env-datasource but I didn't see any data source "env-datasource" I try also filtering simply "env".. but nothing appears to me. Is it compatible with the last Grafana version?

    ALEN

    question 
    opened by acappelletti 6
  • Unable to load env-datasource plugin after install, signature problem results in status invalid.

    Unable to load env-datasource plugin after install, signature problem results in status invalid.

    Hello,

    I have been unable to load and use the volkovlabs-env-datasource after install. I first attempted the README install command which overrides the default repo but it results in a 404 not found error.

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

    I also attempted to install with a grafana-cli --pluginUrl command referencing the newest zip file which succeeds to install but I cannot resolve the following error:

    msg="Skipping loading plugin due to problem with signature" pluginID=volkovlabs-env-datasource status=invalid

    I have added the allow_loading_unsigned_plugins=volkovlabs-env-datasource value to the grafana.ini but this does not resolve the signature issue. I tested with both 2.1.0 and 2.0.0 versions.

    I was attempting to add the plugin to both Grafana version 9.0.7 and 9.1.0.

    Appreciate any help, thank you.

    question 
    opened by Double-G 3
  • Cannot install plugin to k8s instance of grafana

    Cannot install plugin to k8s instance of grafana

    Hello. I could not install volkovlabs-env-datasource, can you please help. While string grafana I'got

    logger=plugin.loader t=2022-11-23T07:09:16.316292106Z level=info msg="Plugin registered" pluginID=input
    logger=plugin.loader t=2022-11-23T07:09:16.334529842Z level=warn msg="Could not find root URL that matches running application URL" plugin=volkovlabs-env-datasource appUrl=https://grafana.preview30.k8s-cluster02.mydomain.com/ rootUrls=[http://localhost:3000/]
    logger=plugin.loader t=2022-11-23T07:09:16.334574642Z level=warn msg="Skipping loading plugin due to problem with signature" pluginID=volkovlabs-env-datasource status=invalid
    

    Grafana configuration is changing using env variables:

    - name: GF_DEFAULT_APP_MODE
      value: development
    - name: GF_SERVER_DOMAIN
      value: grafana.preview30.k8s-cluster02.appulate.dev
    - name: GF_SERVER_ROOT_URL
      value: https://grafana.preview30.k8s-cluster02.appulate.dev
    - name: GF_SERVER_HTTP_PORT
      value: '3000'
    - name: GF_SECURITY_ADMIN_PASSWORD
      value: foobar
    - name: GF_USERS_ALLOW_SIGN_UP
      value: 'false'
    - name: GF_SECURITY_CSRF_TRUSTED_ORIGINS
      value: https://grafana.preview30.k8s-cluster02.appulate.dev
    - name: GF_SECURITY_CSRF_ADDITIONAL_HEADERS
      value: X-Forwarded-Host
    - name: GF_INSTALL_PLUGINS
      value: "https://github.com/VolkovLabs/volkovlabs-env-datasource/releases/download/v2.2.0/volkovlabs-env-datasource-2.2.0.zip;volkovlabs-env-datasource"
    - name: GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS
      value: volkovlabs-env-datasource
    

    Can you help to do it right way? =)

    question 
    opened by nrukavkov 2
Releases(v2.2.0)
Owner
Volkov Labs
Custom plugin development for Grafana
Volkov Labs
A custom action for setting GitHub Workflow environment variables with YAML configuration files.

yaml-env-action - A custom action for setting GitHub Workflow environment variables with YAML configuration files. Introduction yaml-env-action is a c

Piper Dougherty 3 Dec 13, 2022
✨ A tool for versioning, securing and easily sharing environment variables

ev a tool for versioning, securing and easily sharing environment variables initializing • commands • using in your project Features ⏱ Version control

henrycunh 62 Dec 14, 2022
A package to enable feature-flag support on Next.js via cookies and environment variables

next-feature-flags Add support for feature flags on Next.js based on cookies + environment variables. How it works It reads from cookies and Next.js's

Alexandre Santos 10 Aug 10, 2022
Loads environment variables from .env for nodejs projects.

dotenv Written in typescript, full testing. It can loads environment variables from a .env file into process.env or parse <key>=<value> string Install

Berlin 102 Sep 23, 2022
🔑 Loads environment variables from .env for nodejs projects with safe

env-safe env-safe is module that loads that loads environment variables from a .env file into process.env with type-safe. And can also validate the ty

Creatrip 9 Dec 28, 2022
mirrord lets you easily mirror traffic from your production environment to your development environment.

mirrord lets you easily mirror traffic from your Kubernetes cluster to your development environment. It comes as both Visual Studio Code extension and a CLI tool.

MetalBear 2.1k Dec 24, 2022
RSS/Atom data source plugin for @grafana.

RSS/Atom data source plugin for Grafana Introduction The RSS/Atom data source is a plugin for Grafana that retrieves RSS/Atom feeds and allows to visu

Volkov Labs 9 Jan 2, 2023
Eth-explorers-extension - Chrome extension to open Ethereum addresses & transaction hash from any page on popular explorers + dashboards

eth-explorers-extension(s) This repository contains two folders with two extensions that work for address and transactions respectively. 1. eth-addres

Apoorv Lathey 71 Jan 6, 2023
The Trino datasource allows to query and visualize Trino data from within Grafana.

Trino Grafana Data Source Plugin The Trino datasource allows to query and visualize Trino data from within Grafana. Getting started Drop this into Gra

Starburst 13 Nov 3, 2022
Data Manipulation Form panel plugin for @grafana.

Data Manipulation Form panel plugin for Grafana Introduction The Data Manipulation Form Panel is a plugin for Grafana that can be used to insert, upda

Volkov Labs 25 Dec 28, 2022