Skip to content

How to use hwmon labels? #631

@cmsj

Description

@cmsj

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" :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions