Exporting Grafana graph from backend

Hi,

I am working with Grafana with Promethus as storage. I have cpu and memory graph and wanted these graph (Line chart) to export without going to grafana UI.
Can these can be export from backend using PromQL and Grafana CLI options. If yes , then how?

Hi @tharejagayatri, currently you aren’t able to do this with the Grafana CLI or the API if you’re using the Open Source version of Grafana. However, Grafana Enterprise 7.0+ offers a Reporting feature where you can schedule exports of your dashboards and it has an experimental API feature.

Please note that you do need to purchase a Grafana Enterprise license for the reporting functionality to work:
Grafana Enterprise Reporting docs: https://grafana.com/docs/grafana/latest/enterprise/reporting/
Grafana Enterprise Reporting API docs: https://grafana.com/docs/grafana/latest/http_api/reporting/