Only include cpu's in the Prometheus metrics endpoint that were used. In recent kernels the cpuacct.statcpus behavior has changed to include all possible cpu's. This can results in a high number of stale metrics in the Prometheus endpoint. |
||
---|---|---|
.. | ||
testdata | ||
prometheus_test.go | ||
prometheus.go |