Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
PhantomJS in Grafana add-on -- feature request #6
@guiumb commented on Aug 8, 2018, 1:08 PM UTC:
Grafana add-on allows you to create very readable panels and is a easy way to monitor all the data collected by Home Assistant.
I think that sould be nice to have the Grafana export png capability also available in Hass.io platform.
Steps to reproduce
Error log proveded by Grafana during a PNG export:
addons-assistant[bot] commented on Aug 8, 2018, 1:08 PM UTC:
Thanks, but we don't need to reproduce this as it isn't really an issue (if it is, it's at least a known issue). Grafana ditched PhantomJS because that project is abandoned. A new solution is in the works (upstream, it's actually a Grafana issue which does not only affect this add-on) and should replace this dependency.
@frenck What are your thoughts on including Grafana Image Renderer? It's a backend plugin for Grafana and needs to be included in the build (uses Node.js). Here's a bit more background info: grafana/grafana#11966. Ofcourse it's not a perfect solution but might be better than including PhantomJS.
I'm not sure about Phantomjs... as it is not provided by the official Docker images of Grafana as well and, as mentioned by @tjorim, the PhantomJS project has been abandoned.
The "Grafana Image Renderer" is kinda new and I'm unsure if this is the direction Grafana is heading for at this point. So it is kinda hard to decide how to move forward on this issue at this point.
Maybe just install PhantomJS for now and see what the future brings?