-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use hwmon labels? #631
Comments
This is by design, as labels are not available for all sensors. If all you sensors have a label, you can do something like this to join them:
|
It appears this is a question and the question has been answered, so closing. Feel free to re-open if I am mistaken. |
For other people googling how to join them when some of the sensors do NOT have labels, I've asked that question here: |
``` TCP, TCP6, UDP, and UDP6 are dynamically changing, and when we read these files, we should read them all at once. there will be data consistency issues if using line by lin reading fix: prometheus/procfs#576 ``` Signed-off-by: weidongkl <weidong@uniontech.com>
…metheus#633) This reverts commit 987bedc.
Host operating system: output of
uname -a
Linux nucker 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
node_exporter version: output of
node_exporter -version
node_exporter, version 0.14.0 (branch: master, revision: 840ba5d)
build user: root@bb6d0678e7f3
build date: 20170321-12:12:54
go version: go1.7.5
Are you running node_exporter in Docker?
No
What did you do that produced an error?
Not an error as such, but I'm looking at the hwmon values for this machine and struggling to get decent labels.
What did you expect to see?
node_hwmon_sensor_label{chip="platform_coretemp_0",label="core_0",sensor="temp1"} 1
node_hwmon_temp_celsius{chip="platform_coretemp_0",sensor="temp1",name="core_0"} 46
What did you see instead?
node_hwmon_sensor_label{chip="platform_coretemp_0",label="core_0",sensor="temp1"} 1
node_hwmon_temp_celsius{chip="platform_coretemp_0",sensor="temp1"} 46
ie what I'm asking for here would be to include the label value for each sensor as part of its metadata.
(it's also possible that I am being stupid and there is a great way to relate these things together so my Grafana legends can have "core_0" instead of "temp1" :)
The text was updated successfully, but these errors were encountered: