Skip to content

Commit

Permalink
chore(README): grafana support matrix (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime1907 authored Aug 16, 2024
1 parent 9219435 commit 925b427
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
# grafana-pdf-exporter

Export a Grafana dashboard as PDF

Emails (exported dashboards) can be sent using SendGrid, in order to do this, one has to set FROM_NAME, FROM_EMAIL and SENDGRID_API_KEY environment variables.
## 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 '\<p\>Email body goes here\<\/p\>' -a '/tmp/test.sh;/tmp/test2.sh'
```

Thanks to @salv for the original nodejs implementation
## Supported Grafana versions

| Release | Grafana versions |
| :-------- | :--------------: |
| v1.7.0 | >= 8 |

## Contribution

Thanks to @salv for the original nodejs implementation

0 comments on commit 925b427

Please sign in to comment.