https://github.com/smarkm/grafana-email
Create an Email Setting dashboard using grafana-email-panel
Create datasource name as 'EmailAPI' and url
fill like http://localhost:8001/
Add a link to a dashboard that needs to be emailed, you need to add the following information d/PhwEouqVk/emailsetting?orgId=${__org}&uid=${__dashboard.uid}&user=${__user.login}
,PhwEouqVk
and emailsetting
get from #1 dashboard path
Download server-side exec grafana-email
Config Email serviceconfig.json
in same folder with grafana-email
exec
left
, center
, right
Font
Start email service using grafana-email
exec
EmailAPI
data source is already configured and points to the grafana-email
backend-served URL./api/datasources/proxy/${datasourceID}/api/schedule/pdf?orgId=${__org}&uid=${__dashboard.uid}&user=${__user.login}
, and replace ${datasourceID}
to the data source EmailAPI
ID.Server side exec grafana-email
with 2 email schedules limit for the test
For training or customized support please contact Twitter(X) [@indexVolador](<https://twitter.com/indexVolador>)
or WeChat scan
**config.json**
sample
{
"grafanaBaseUrl": "<http://localhost:3001>",
"orgAPIKeys": {
"1": "eyJrIjoiVnVEbGhodlh2bHllV3J6bkFCcjN5TEZiUkFhY01RNkkiLCJuIjoiYSIsImlkIjoxfQ==",
"2":""
},
"emailFrom": "",
"emailUserName": "",
"emailPassword": "",
"smtpHost": "smtp.qq.com",
"smtpPort": 587,
"debugModel":false,
"pdfTitleAlign":"left",
"fontPath":"",
"dbUser":"root",
"dbPassword":"1234",
"dbHost":"localhost:3306",
"database":"test",
"httpPort": 8001
}