grafana_mail
grafana_mail copied to clipboard
Update to Grafana 5.0 - width/height issue
Thanks for the neat script.
I upgraded to Grafana 5.1.2 and rendered dashboards are now being cropped in the email. Tried adjusting the default width/height to no avail.
Worked previously in v 4.6.3 https://mygrafanaserver/render/dashboard/db/gateway-app-servers?width=1700&height=500&timeout=240
Attaching cropped dashboard image as taken from the email..
A quick workaround is to add ?orgId=1 to the url, like so.
https://mygrafanaserver/render/dashboard/db/gateway-app-servers?orgId=1&width=1700&height=500&timeout=240
But then you need to play with the height and width to get it right, whereas before the number of rows didn't matter, the default height/width you used would auto adjust the image and squeeze everything in.