Comment on Presenting ilias, yet another dashboard because obviously the world needed one more
papelitofeliz@lemmy.world 1 week ago
I’m sorry if this is a dumb question, I am on my phone and did not check much of the repo. I was thinking of adding a dashboard to my stack, and was thinking about Prometheus + grafana because of versatility but the main con is the complexity. How are the graphs generated on your example? Are they static images generated manually?
halfdane@piefed.social 1 week ago
I love grafana, but it’s a resource hog, and my machine isn’t powerful. Prometheus/node_exporter however is as lightweight as it can get.
So I made a little Python script that fetches the data from Prometheus and uses mathplotlib to generate a graph.
The dashboard calls that python script for every configured graph and embeds the image so it looks nice.
You can find the script in one of my other repos (Prometheus-renderer probably), but there are dozen similar ones: search github for Prometheus renderer and you’ll see
If there are other things unclear, please don’t hesitate to ask