Closed vijayansarathy closed 2 years ago
Thanks for your pull request. In general, exporters should avoid doing calculations like this. Instead, they should provide necessary metrics so that this can be computed in PromQL.
Yes, this is not how things are handled in Prometheus exporters.
Added a new metric to compute CPU utilization as a percentage. This is done along the same logic as in here