I’d like to write an article for my website including some graphs from Grafana, but I’d like to post them as static SVG (so that they look nice no matter the screen resolution) instead of screenshotting them manually and upload them as PNG.
Is there a way to do it?
I don’t know how to export in SVG, but you can export it as a PDF using the Grafana Cloud version. Just follow the given steps:
Once it is downloaded as a PDF, you can convert it to SVG with the help of Google.
I forgot to mention I’m using the self-hosted install.
This feature is not available in the self-hosted version.
And there are no other options?
Not within grafana, but I think you can do it with chrome as a workaround.
chrome --headless --disable-gpu --screenshot https://grafana.example.com/