Merge pull request #359 from CloudAndHeat/feature/hwmon_chip_name_metric

hwmon: Provide annotation metric to link chip sysfs paths to human-readable chip types
This commit is contained in:
Johannes 'fish' Ziemke 2017-01-03 14:38:43 +01:00 committed by GitHub
commit b68a9ec7af
2 changed files with 47 additions and 0 deletions

View file

@ -549,6 +549,11 @@ node_filefd_maximum 1.631329e+06
# HELP node_forks Total number of forks.
# TYPE node_forks counter
node_forks 26442
# HELP node_hwmon_chip_names Annotation metric for human-readable chip names
# TYPE node_hwmon_chip_names gauge
node_hwmon_chip_names{chip="nct6779",chip_name="nct6779"} 1
node_hwmon_chip_names{chip="platform_coretemp_0",chip_name="coretemp"} 1
node_hwmon_chip_names{chip="platform_coretemp_1",chip_name="coretemp"} 1
# HELP node_hwmon_fan_alarm Hardware sensor alarm status (fan)
# TYPE node_hwmon_fan_alarm gauge
node_hwmon_fan_alarm{chip="nct6779",sensor="fan2"} 0