-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(README): grafana support matrix (#7)
- Loading branch information
1 parent
9219435
commit 925b427
Showing
1 changed file
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |