diff options
author | Rene Treffer <treffer+github@measite.de> | 2016-10-06 17:33:24 +0200 |
---|---|---|
committer | Brian Brazil <brian-brazil@users.noreply.github.com> | 2016-10-06 16:33:24 +0100 |
commit | 081ecc5db0aa0ffddd2afe783efd087e6fbc143f (patch) | |
tree | 6202d9219a12e661000e610c5c6eedde8f25ede4 /node_exporter.go | |
parent | cf3710191a6c6d845320f264c1c7796cc339dbb8 (diff) | |
download | prometheus_node_collector-081ecc5db0aa0ffddd2afe783efd087e6fbc143f.tar.bz2 prometheus_node_collector-081ecc5db0aa0ffddd2afe783efd087e6fbc143f.tar.xz prometheus_node_collector-081ecc5db0aa0ffddd2afe783efd087e6fbc143f.zip |
Add hwmon /sensors support (#278)
* Add hwmon support (mainly known from lm-sensors)
This commit adds initial support for linux hardware sensors, exported
through sysfs.
Details of the interface can be found at
https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface
* Add end-to-end test with some real life data
* Cleanup comments on hwmon collector
* Drop raw sensor name from hwmon output
* Let the sensor label be "sensor"
* Add hwmon short description to README.
Diffstat (limited to 'node_exporter.go')
-rw-r--r-- | node_exporter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_exporter.go b/node_exporter.go index 1e5594a..52d76b4 100644 --- a/node_exporter.go +++ b/node_exporter.go | |||
@@ -31,7 +31,7 @@ import ( | |||
31 | ) | 31 | ) |
32 | 32 | ||
33 | const ( | 33 | const ( |
34 | defaultCollectors = "conntrack,cpu,diskstats,entropy,filefd,filesystem,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,vmstat" | 34 | defaultCollectors = "conntrack,cpu,diskstats,entropy,filefd,filesystem,hwmon,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,vmstat" |
35 | ) | 35 | ) |
36 | 36 | ||
37 | var ( | 37 | var ( |