Commit Graph

11 Commits

Author SHA1 Message Date
Jan Fajerski 4fc19fbc03 collectors: Reset metric vectors; pools and daemons can vanish
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-09-13 14:19:35 +02:00
Tim Serong ac1d8a93e2 pool: remove error log when no pools present
If there's no pools created yet (which can be true after a ceph
cluster is initially created, but before any pools are present),
there'll be a log every minute "[ERROR] failed collecting pool
usage metrics: no pools found in the cluster to report stats on".

IMO that's not actually an error, it's just the way things are,
so doesn't really need to be reported.

Signed-off-by: Tim Serong <tserong@suse.com>
2017-08-18 15:22:28 +10:00
ssobolewski f67a9a0f7f Add multicluster support to ceph_exporter. This change allows one instance to monitor multipl ceph clusters and report to the same prometheus instance 2017-03-28 15:58:27 -06:00
Vaibhav Bhembre b58fdf7666 pool: fix read/write counters 2016-11-01 15:02:21 -04:00
Calin Cristian Andrei ab0e9d64d3 add support for osd usage varianc and pool raw bytes, dirty objects and read + write bytes 2016-10-19 09:45:05 +00:00
Kai Storbeck 92f0bedd20 Remaining points
- subSystem configured in one place
- poolLabel configured in one place
- float64 use in the json decoding
2016-06-06 16:40:50 +02:00
Kai Storbeck e24a5a51a6 even out all subsystems for the metrics 2016-06-01 21:22:12 +02:00
Kai Storbeck a3e30d7c67 Expose max_avail field in pool_usage instead 2016-05-31 22:04:08 +02:00
Vaibhav Bhembre 55fc70308a Testing improvements to cluster and pool stats.
* Adds testing for extraneous and invalid cases.
2016-01-22 04:46:29 +00:00
Matt Layher 526d3fb634 Add doc comments, clarify error log messages, use collectors package name 2016-01-10 15:36:54 -05:00
Vaibhav Bhembre 9cda67d44a Add Ceph Exporter 2016-01-06 13:27:16 -05:00