I’m trying to use the official dashboard for grafana. But my nodes does not expose all the metrics that this dashboard needs. How can I fix that? Here you can see the output for the metrics of a node:
You need to add a custom metric in Promethius. For example, I wanted to track adapools rank, so I had a simple python script that pulls the adarank then posts it to a text file.
In Promethius on the server itself, update the scrapconfig / job
How can I do that if I’m using a k8s cluster?
K8s is just the container hosting infrastructure. You have to have Prometheus installed within the container itself.