Allow graceful failure in hwmon collector #427

Merged
merged 1 commit into from Jan 17, 2017

Projects

None yet

2 participants

@mdlayher
Contributor
$ ./node_exporter -web.listen-address 192.168.1.1:9100 -collectors.enabled hwmon -log.level debug
INFO[0000] Starting node_exporter (version=, branch=, revision=)  source="node_exporter.go:136"
INFO[0000] Build context (go=go1.7.4, user=, date=)      source="node_exporter.go:137"
INFO[0000] Enabled collectors:                           source="node_exporter.go:156"
INFO[0000]  - hwmon                                      source="node_exporter.go:158"
INFO[0000] Listening on 192.168.1.1:9100                 source="node_exporter.go:176"
DEBU[0001] hwmon collector metrics are not available for this system  source="hwmon_linux.go:404"
DEBU[0001] OK: hwmon collector succeeded after 0.002255s.  source="node_exporter.go:95"

Fixes #426

@mdlayher mdlayher Allow graceful failure in hwmon collector
dfd661a
@grobie
grobie approved these changes Jan 17, 2017 View changes

Thanks!

@grobie grobie merged commit 0429a4f into prometheus:master Jan 17, 2017

2 checks passed

ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@mdlayher mdlayher deleted the mdlayher:hwmon-silent-fail branch Jan 17, 2017
@SuperQ SuperQ referenced this pull request Jan 19, 2017
Closed

Error with hwmon collector #430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment