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.
sanke1
298a1d1fe0
|
6 years ago | |
---|---|---|
build | 6 years ago | |
exported | 6 years ago | |
src | 6 years ago | |
.gitignore | 6 years ago | |
Dockerfile | 6 years ago | |
README.md | 6 years ago | |
api-keys-example.json | 6 years ago | |
package.json | 6 years ago | |
tsconfig.json | 6 years ago |
README.md
Grafana data exporter
Server for fetching data from Grafana datasources
Why would you use it
- To export your metrics on a very big range for analysis
- To migrate from one datasource to another
Quick start
Running on 8000 port in Docker container.
Dockerfile has 2 volumes:
/var/www/api-keys.json
(required, contains API keys for your Grafana hosts, see example)/var/www/exported
(optional, directory which contains exported csv files and info about them)
Build
npm install
npm run build
Run
npm start
Development
You should have nodemon
module installed to run development server.
npm i -g nodemon
npm run dev
Changelog
[0.3.1] - 2018-05-14
Added
- Show confirmation modal on task delete.
[0.3.0] - 2018-05-10
Added
- Save user that initialized export.
- Support different grafana URLs.
- Delete tasks.
[0.2.0] - 2018-05-09
Added
- Fetch data from Grafana API and save it to CSV.
- Endpoint for showing task status in Simple-JSON datasource format.
- CSV download URL on task finish.