https://github.com/wiremind/grafana-pdf-exporter
Export a Grafana dashboard as PDF
https://github.com/wiremind/grafana-pdf-exporter
Last synced: 5 months ago
JSON representation
Export a Grafana dashboard as PDF
- Host: GitHub
- URL: https://github.com/wiremind/grafana-pdf-exporter
- Owner: wiremind
- Created: 2021-06-18T15:27:36.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-16T11:54:53.000Z (almost 2 years ago)
- Last Synced: 2024-08-16T12:47:30.201Z (almost 2 years ago)
- Language: Shell
- Size: 20.5 KB
- Stars: 15
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grafana-pdf-exporter
Export a Grafana dashboard as PDF
## How to run
Exported dashboards can be sent using SendGrid, in order to do this, one has to set these environment variables:
- FROM_NAME
- FROM_EMAIL
- SENDGRID_API_KEY
```sh
sh sendgridSendEmail.sh -t 'to1@gmail.com;to2@gmail.com' -s 'FINAL SCRIPT' -o '\
Email body goes here\<\/p\>' -a '/tmp/test.sh;/tmp/test2.sh'
```
## Supported Grafana versions
| Release | Grafana versions |
| :-------- | :--------------: |
| v1.7.0 | >= 8 |
## Contribution
Thanks to @salv for the original nodejs implementation