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.
Currently the plugin using
texlive
to generate PDF reports. We can improve it by using chromedp to generate PDF reports. The plugin needsgrafana-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 thatindex.html
file.