You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
rozetko 9a48b1df67 Merge pull request 'Unique API key names' (#19) from unique-api-key-names into master 11 months ago
.config copy panel from the panel repo 1 year ago
cypress/integration grafana app boilerplate 1 year ago
src generate unique API key names 11 months ago
.eslintrc grafana app boilerplate 1 year ago
.gitignore config page (#1) 1 year ago
.nvmrc grafana app boilerplate 1 year ago
.prettierrc.js grafana app boilerplate 1 year ago
CHANGELOG.md grafana app boilerplate 1 year ago
LICENSE grafana app boilerplate 1 year ago
README.md upd links 11 months ago
docker-compose.yaml grafana app boilerplate 1 year ago
jest.config.js grafana app boilerplate 1 year ago
package.json 1.0.9 11 months ago
tsconfig.json grafana app boilerplate 1 year ago
webpack.config.ts config page (#1) 1 year ago
yarn.lock generate unique API key names 11 months ago

README.md

Grafana Data Exporter App

Grafana plugin for exporting data from Grafana panels as CSV.

Supported datasources:

  • MySQL
  • PostgreSQL

Prerequisites

Plugin installation

The easiest way to install plugins is by using the grafana-cli tool which is bundled with Grafana. See Using grafana-cli paragraph.

If there is no grafana-cli tool in your system, plugins can be installed manually.

Table of contents

Using grafana-cli

Grafana docs about plugin installation: https://grafana.com/docs/grafana/latest/cli/#plugins-commands.

Install / update plugin

grafana-cli --pluginUrl "https://code.corpglory.net/attachments/a5b15fd8-b675-46b3-ae56-6c68e22dfcd6" plugins install corpglory-dataexporter-app
sudo systemctl restart grafana-server

Manual installation

  • Navigate to Grafana plugins directory:

    • For Grafana installed from .deb/.rpm package:
      • /var/lib/grafana/plugins
    • For Grafana installed using Standalone Linux Binaries or source:
      • <GRAFANA_PATH>/data/plugins
  • Download corpglory-dataexporter-app

wget https://code.corpglory.net/attachments/1e475686-fe9c-43dc-89cb-01ccee4fc4b3 -O corpglory-dataexporter-app.tar.gz
  • Unpack downloaded files
tar -zxvf corpglory-dataexporter-app.tar.gz
  • Restart Grafana
    • For Grafana installed from .deb/.rpm package:
      • systemctl restart grafana-server
    • For Grafana installed using Standalone Linux Binaries or source:
      • Stop any running instances of grafana-server
      • Start grafana-server: cd <GRAFANA_PATH> && ./bin/grafana-server

Docker installation

You can install Data Exporter App to Grafana in Docker passing it as the environment variable.

docker run \
  -p 3000:3000 \
  -e "GF_INSTALL_PLUGINS=https://code.corpglory.net/attachments/a5b15fd8-b675-46b3-ae56-6c68e22dfcd6;corpglory-dataexporter-app" \
  grafana/grafana

Plugin Configuration

  • In Grafana, go to Configuration -> Plugins -> Data Exporter App
  • Fill "DataExporter backend URL" field with the Data Exporter URL (Please note: the URL should be accessible by Grafana Server)
  • Click Connect
  • If Grafana connects to the Data Exporter successfully, you'll see this message: "Plugin is connected! You can now go to a dashboard and add the DataExporter panel there."
  • After this:
    • go to a dashboard you'd like to export data from
    • click "Add panel"
    • select Data Exporter Panel

Support and Consulting

Commercial support, professional services or any help — send us your inquiry at ping@corpglory.com

About CorpGlory Inc.

Grafana Data Exporter is developed by CorpGlory Inc., a company which provides high quality software development, data visualization, Grafana and monitoring consulting.