rozetko
5952d799df
|
2 years ago | |
---|---|---|
.config | 2 years ago | |
cypress/integration | 2 years ago | |
src | 2 years ago | |
.eslintrc | 2 years ago | |
.gitignore | 2 years ago | |
.nvmrc | 2 years ago | |
.prettierrc.js | 2 years ago | |
CHANGELOG.md | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
docker-compose.yaml | 2 years ago | |
jest.config.js | 2 years ago | |
package.json | 2 years ago | |
tsconfig.json | 2 years ago | |
webpack.config.ts | 2 years ago | |
yarn.lock | 2 years ago |
README.md
Grafana Data Exporter App
Grafana plugin for exporting data from Grafana panels as CSV.
Supported datasources:
- MySQL
- PostgreSQL
Prerequisites
- Grafana 9.0.0+
- Grafana Data Exporter
- set Grafana
app_mode
asdevelopment
(it won't be necessary after we sign the plugin):- find the configuration file: https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#configuration-file-location
- change
app_mode = production
toapp_mode = development
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/plugins/installation/#installing-plugins.
Install / update plugin
grafana-cli --pluginUrl "https://code.corpglory.net/attachments/89ae5865-2ae7-474c-a6f0-f29d19e6b1dd" 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
- For Grafana installed from
-
Download corpglory-dataexporter-app
wget http://code.corpglory.net/attachments/5f1c5e28-544b-416a-a425-7cdf49fa60ac -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
- For Grafana installed from
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/89ae5865-2ae7-474c-a6f0-f29d19e6b1dd;corpglory-dataexporter-app" \
grafana/grafana
Useful links
- Grafana docs about Docker installation: https://docs.grafana.org/installation/docker/#installing-plugins-from-other-sources
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.