ceph_exporter/collectors
craigchi 74439767fb osd: fix parsing invalid json produced by Ceph after 10.2.5 when OSD is out
Due to http://tracker.ceph.com/issues/18239 Ceph will generate invalid
json output when there is any of OSD out of the cluster. Since it is
invalid, golang is unable to unmarshal the json and can result in
confusing metrics. Replacing -nan to 0 is certainly a workaround,
but this can temporarily prevent wrong metrics.

Fixes: https://github.com/digitalocean/ceph_exporter/issues/48
2017-04-21 09:34:16 +08:00
..
cluster_usage.go 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
cluster_usage_test.go 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
conn.go Add Ceph Exporter 2016-01-06 13:27:16 -05:00
doc.go Add doc comments, clarify error log messages, use collectors package name 2016-01-10 15:36:54 -05:00
health.go 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
health_test.go 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
monitors.go 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
monitors_test.go 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
osd.go osd: fix parsing invalid json produced by Ceph after 10.2.5 when OSD is out 2017-04-21 09:34:16 +08:00
osd_test.go osd: fix parsing invalid json produced by Ceph after 10.2.5 when OSD is out 2017-04-21 09:34:16 +08:00
pool_usage.go 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
pool_usage_test.go 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