Node Graph seems to be a very promising plugin, but with it’s strict requirements on the data frames is awkward to use. I think I understand why it is that way and I was able to make my services expose Prometheus metrics just the way it wants them.
The only thing that I am missing is support for statistics (mainstat etc.). I wanted to pick the brains of the community so I understand better the design of Node Graph.
Node Graph will not pick up values from a time series even if I name it correctly (e.g. mainstat
). There is no way (that I know of) in PromQL to put timeseries data into a label. It seems that the only option is for the monitored service to put value into label just like with nodes and edges, but… it’s rare that process reporting the metric knows something that is globally useful. Example:
I’d like to scale the node/circle size based on number of pods of a given deployment. No one pod knows that information as they do not talk to each other. It is easy to get stats like number of pods, sum of requests processed etc. but it’s based on data from many pods and so no one pod can generate it in arc_ or mainstat label.
In the end it seems to me that the ability to use regular metric values for stats inside Node Graph would be very useful.
I hope that this post does is not too much of a rambling mess and does not come across as me being ungrateful to the great OSS project that Grafana is.