Node_exporter: collector 'cpu' not available

Created on 19 Jun 2017  路  3Comments  路  Source: prometheus/node_exporter

Host operating system: output of uname -a

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: 840ba5dcc71a084a3bc63cb6063003c1f94435a6)
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?

node_exporter --collectors.enabled cpu

What did you expect to see?

node_exporter starting up as normal

What did you see instead?

FATA[0000] Couldn't load collectors: collector 'cpu' not available source="node_exporter.go:157"

All 3 comments

The linux CPU collector has only been added after 0.14.0. The first release including it will be 0.15.0.

I also bumped into this error because was consulting upstream README from master for configuration options..

It should be possible to release a 0.15.0 soon. I think the only thing we may want to change before 0.15.0 is the flag library as Prometheus is standardizing on kingpin.

Was this page helpful?
0 / 5 - 0 ratings