Yes, the kernel permissions for rapl changed. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.4.77&id=19f6d91bdad42200aac557a683c17b1f65ee6c94
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8694 On Sat, Aug 14, 2021 at 2:22 PM Brian Candler <[email protected]> wrote: > I presume you're running the latest version 1.2.2? > > Maybe strace will help you understand what's going on: > > strace -f -s128 -p <pid-of-node-exporter> 2>strace.out > > You can see which files it's trying to access and whether it's getting > permission errors. > > FWIW, I just tried running node_exporter as root and normal users, and I > got 3906 and 3900 lines of metrics respectively. The only ones which were > missing were: > > # HELP node_rapl_core_joules_total Current RAPL core value in joules > # TYPE node_rapl_core_joules_total counter > node_rapl_core_joules_total{index="0"} 79345.889568 > # HELP node_rapl_package_joules_total Current RAPL package value in joules > # TYPE node_rapl_package_joules_total counter > node_rapl_package_joules_total{index="0"} 129630.134976 > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/582e7741-9a88-48cd-8c2a-2256678f8f8an%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/582e7741-9a88-48cd-8c2a-2256678f8f8an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmrWatBv%2B0SoEJSXN6wjaG3HiZfkdZtz8dV%3DO7zfOwrfuA%40mail.gmail.com.

