node_exporter
node_exporter copied to clipboard
Missing powersupplyclass metrics
Host operating system: 5.4.0-110-generic #124-Ubuntu SMP
node_exporter version: 1.3.1
Are you running node_exporter in Docker: Yes
Issue:
I am trying to get the metrics of the power supply class, and for some reason it isn't being exported. When I tried this on Windows it worked, and the log had 74 references when I CTRL+F "Power", but on Ubunut & Mac I only get 3.
What did you expect to see?
Power supply logs
What did you see instead?
Nothing
The log for ubuntu, and a screenshot of the working log on windows are below, it is the same version of node_exporter on both systems. I am not sure what is missing, I hope someone can assist me, Thanks in advance!
System specs:
CPU family: 6 Model: 15 Model name: Intel(R) Xeon(R) CPU Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Ubuntu Version: 5.4.0-110-generic #124-Ubuntu SMP
More Info:
Node Exporter Log:
Node exporter log.txt
Screenshot of windows log:

It's probably a kernel version thing, we just expose what we find in /sys/class/power_supply