You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add cpuinfo_avg_freq to list of CPU frequency metrics #822
I'm fine with exposing this from procfs, but I'm not sure this is going to be useful for the node_exporter.
The existing scaling_cur_freq provides good enough information and given that these values are only accurate at "a few milliseconds" time range they're never going to provide "accurate" data at a typical 15-60s scrape interval.
I understand the concerns regarding accuracy at long scrape intervals, but I believe adding support for cpuinfo_avg_freq remains valuable. In our environment, we have several servers where scaling_cur_freq is either missing at the kernel level or inaccessible to node_exporter due to unprivileged user permissions.
While investigating why scaling_cur_freq appeared stagnant at 1GHz during high-load stress tests, we found that cpuinfo_avg_freq provided much more representative data. Even if these metrics don't offer millisecond-level precision, they are sufficient for us to verify that the scaling governor isn't incorrectly pinning our CPUs to their lowest frequency state.
For context, we are observing this on OpenSUSE Leap 15.6 (kernel 6.4.0-[######].23.81-default) using the intel_pstate driver with the powersave governor. Having this data available in node_exporter would be a helpful troubleshooting aid for these specific configurations.
Activity
SuperQ commentedon Jun 23, 2026
I'm fine with exposing this from procfs, but I'm not sure this is going to be useful for the node_exporter.
The existing
scaling_cur_freqprovides good enough information and given that these values are only accurate at "a few milliseconds" time range they're never going to provide "accurate" data at a typical 15-60s scrape interval.mrobbert commentedon Jun 23, 2026
I understand the concerns regarding accuracy at long scrape intervals, but I believe adding support for
cpuinfo_avg_freqremains valuable. In our environment, we have several servers wherescaling_cur_freqis either missing at the kernel level or inaccessible to node_exporter due to unprivileged user permissions.While investigating why
scaling_cur_freqappeared stagnant at 1GHz during high-load stress tests, we found thatcpuinfo_avg_freqprovided much more representative data. Even if these metrics don't offer millisecond-level precision, they are sufficient for us to verify that the scaling governor isn't incorrectly pinning our CPUs to their lowest frequency state.For context, we are observing this on OpenSUSE Leap 15.6 (kernel 6.4.0-[######].23.81-default) using the intel_pstate driver with the powersave governor. Having this data available in node_exporter would be a helpful troubleshooting aid for these specific configurations.