Use the following Apify code to (easily) programmatically generate Grafana Dashboard snapshots:
To use, edit the Grafana login URL in the source and re-build the act. Then call the API with valid Grafana credentials and target report URL in the body.
The output will be the snapshot URL. This act must use image with Puppeteer (Node.js 8 + Puppeteer on Debian).