Can't monitor CPU frequency

84 views
Skip to first unread message

Matthias Seiler

unread,
Apr 17, 2021, 12:23:41 PM4/17/21
to gce-discussion

Hello all,

I'm using VMs for a research project that conducts benchmarks of distributed stream processing systems. For this I need to monitor the CPU frequency with Prometheus, however, I'm unable to find /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq, from which Prometheus' Node Exporter usually scrapes the data.

Does anyone know how I can expose this metric?

Cheers,
Matthias

Wilfred L. (Cloud Platform Support)

unread,
Apr 18, 2021, 4:00:11 PM4/18/21
to gce-discussion

Hello, I think the path is depending on your distro. Have you tried "$ cat /proc/cpuinfo" ?
Reply all
Reply to author
Forward
0 new messages