mahendrapaipuri / grafana-dashboard-reporter-app

A Grafana plugin app to create PDF reports of dashboards
Apache License 2.0
47 stars 4 forks source link

Use `chromedp` to generate PDFs #5

Closed mahendrapaipuri closed 6 months ago

mahendrapaipuri commented 7 months ago

Currently the plugin using texlive to generate PDF reports. We can improve it by using chromedp to generate PDF reports. The plugin needs grafana-image-renderer plugin to generate PNGs and that plugin indirectly depends on chromium. So, we can leverage that chromium to generate PDF reports.

The idea is same as current one but instead of templating a .tex file we will do it with .html file and generate PDF report from that index.html file.