Commit Graph

123 Commits

Author SHA1 Message Date
ssobolewski
9a39cc64ed
Add tracking of scrub/deep scrub on a per osd basis (#91)
* Add tracking of scrub/deep scrub on a per osd basis

* Changes per code review comments/discussion
2018-06-14 12:40:46 -06:00
Vaibhav Bhembre
ccd6b7135b
Merge pull request #88 from digitalocean/fix_stuck_requests
health: add visibility for stuck requests
2018-05-10 13:52:14 -04:00
Vaibhav Bhembre
c887505a42 health: add visibility for stuck requests 2018-05-10 13:04:52 -04:00
Vaibhav Bhembre
1b91b5bf2d
Merge pull request #87 from digitalocean/add_slow_request_osd
health: capture slow request per osd
2018-05-10 12:11:50 -04:00
Vaibhav Bhembre
219fb69bde health: capture slow request per osd 2018-05-10 11:55:39 -04:00
Vaibhav Bhembre
afd5a2c4bf update travis go to 1.9.2 2018-01-23 21:04:24 +05:30
Vaibhav Bhembre
5f702bc55f
Merge pull request #76 from digitalocean/luminous-switch-json
luminous: move health stats to be extracted from status json
2017-11-14 16:09:58 -05:00
Vaibhav Bhembre
9c40ffc620 luminous: pick correct value from health status after compat warning is removed 2017-11-13 15:27:20 -05:00
Vaibhav Bhembre
96785e82b1 luminous: move luminous stats to be extracted from json 2017-11-13 15:26:20 -05:00
Vaibhav Bhembre
c41f6ae85c
Merge pull request #59 from AcalephStorage/multi-stage-build
Dockerfile with multi-stage build
2017-11-10 16:47:08 -05:00
Vaibhav Bhembre
3828da2b24
Merge pull request #71 from tserong/wip-add-promhttp-to-vendor
Add promhttp to vendor directory
2017-11-10 16:34:04 -05:00
Tim Serong
66a684fbce Add promhttp to vendor directory
This adds promhttp (required by 4c70969) to the vendor directory.

Signed-off-by: Tim Serong <tserong@suse.com>
2017-09-23 17:16:34 +02:00
Vaibhav Bhembre
ac79cf743b Merge pull request #69 from utkarshmani1997/feature_issue#68_exporter
update /metrics handler to promhttp.Handler()
2017-09-14 08:12:40 -04:00
utkarshmani1997
4c70969940 update /metrics handler to promhttp.Handler() 2017-09-14 17:09:52 +05:30
Vaibhav Bhembre
f870fc3254 Merge pull request #67 from fitschn/fix-metrics-recovery-client-io-luminous
health: expose client io and recovery io for luminous
2017-09-02 11:43:51 -04:00
Vaibhav Bhembre
bb62aa1b76 Merge pull request #66 from fitschn/fix-metrics-slow-request-luminous
health: expose slow requests for luminous
2017-08-23 21:55:48 -04:00
Mathias Nohr
b2f520b9aa health: expose client io and recovery io for luminous
An update to ceph luminous breaks the metrics for recovery and client io, because of the new output format for ceph status.

The updates are still compatible to older versions of ceph.
2017-08-23 15:22:26 +02:00
Mathias Nohr
8ba20e8cb3 osd: expose slow requests for luminous
Extract slow request information from health checks in ceph luminous. It's still compatible to older versions of ceph.

It's possible to add additional luminous metrics, i.e. stucked pgs, in the same way.
2017-08-23 11:39:48 +02:00
Vaibhav Bhembre
f2a4404e28 Merge pull request #64 from tserong/remove-no-pools-error
pool: remove error log when no pools present
2017-08-18 09:48:20 -04: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
Hunter Nield
5121d03b6f Update Dockerfile with multistage build
- Gets the image size down to around 60MB
- Bumps up the base image to 16.04
2017-06-13 12:58:18 +08:00
Vaibhav Bhembre
80aa3ff0d0 Merge pull request #53 from skloeckner/master
Added docker-compose for quick test environment and brief description…
2017-05-02 12:03:24 -04:00
Sean Kloeckner
650b6febc9 various edits to README and docker-compose 2017-05-01 16:35:28 -07:00
Sean Kloeckner
2b31f59864 added docker volumes, adjusted README 2017-05-01 16:13:27 -07:00
Vaibhav Bhembre
b21e8cc7e3 Merge pull request #54 from tserong/vendor-deps
Vendor all dependencies
2017-05-01 08:42:11 -04:00
Tim Serong
2f7282626e Vendor all dependencies
This was done using https://github.com/kardianos/govendor, as that's
the same tool used to vendor prometheus' dependencies.

Signed-off-by: Tim Serong <tserong@suse.com>
2017-04-28 13:54:14 +10:00
Sean Kloeckner
544c99c7b3 Added docker-compose for quick test environment and brief description in Readme. 2017-04-25 21:54:58 -07:00
Vaibhav Bhembre
eccbe70449 Merge pull request #52 from craig08/add_slow_requests
health: add slow requests
2017-04-25 18:40:41 -04:00
Craig Chi
fe7675050b health: add slow requests
Slow requests information can be extracted from summary section

Fixes: https://github.com/digitalocean/ceph_exporter/issues/22
2017-04-25 09:38:44 +08:00
Vaibhav Bhembre
cd59493963 Merge pull request #51 from craig08/add_pg_scrubbing
health: add scrubbing and deep-scrubbing pgs
2017-04-23 12:03:04 -04:00
Craig Chi
71563b1293 health: add scrubbing and deep-scrubbing pgs
Parse pg statuses from ceph status and sum up the numbers of pgs
that have "scrubbing" or "scrubbing+deep" state name.

Fixes: https://github.com/digitalocean/ceph_exporter/issues/22
2017-04-23 23:44:04 +08:00
Vaibhav Bhembre
4407414149 Merge pull request #49 from craig08/fix_osd_out_invalid_json
Fix parsing invalid json produced by Ceph after 10.2.5 when OSD is out
2017-04-21 07:56:40 -04:00
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
ssobolewski
470908e239 Merge pull request #46 from digitalocean/ssobolewski/multi_cluster_labels
Add multicluster support to ceph_exporter.  This allows one ceph_exporter image to monitor multiple ceph clusters by configuring the exporter.yml  to point at the ceph configs and labels to use.
2017-03-29 12:25:40 -06: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
8bb9e09349 Merge pull request #44 from digitalocean/add_default_path
travis: fix docker push, add default page
2016-12-31 15:58:14 -05:00
Vaibhav Bhembre
2d86f232a4 travis: fix docker push, add default page 2016-12-29 18:00:50 -05:00
Vaibhav Bhembre
d5a8c64171 Merge pull request #43 from digitalocean/fix_ceph_connection
bug: fix installation of ceph libraries, add docker tags
2016-12-29 15:57:59 -05:00
Vaibhav Bhembre
07a5392a80 bug: fix installation of ceph libraries, add docker tags 2016-12-29 13:45:46 -05:00
Vaibhav Bhembre
0475cf4e94 Merge pull request #41 from xiboy/master
Support ceph user other than admin
2016-12-28 09:45:05 -05:00
root
e921602291 Remove unecessary flag usage 2016-12-28 14:31:37 +00:00
root
5451d4c28d Gofmt 2016-12-28 14:27:54 +00:00
root
3875fb97bb CSupport ceph user other than admin 2016-12-28 12:56:41 +00:00
Vaibhav Bhembre
59c1c75615 Merge pull request #39 from digitalocean/update_readme
readme: add link to image on dockerhub
2016-12-20 11:29:16 -05:00
Vaibhav Bhembre
fb7ea60514 readme: add link to image on dockerhub 2016-12-20 11:07:04 -05:00
Vaibhav Bhembre
725a4a671e Merge pull request #38 from digitalocean/add_registry
ci: add ability to push to registry on success
2016-12-16 12:22:05 -05:00
Vaibhav Bhembre
52028d20ad ci: add ability to push to registry on success 2016-12-16 12:16:38 -05:00
Vaibhav Bhembre
4ba5f3e1db Merge pull request #35 from digitalocean/fix_osd_down
health: fix osd_down metric
2016-12-01 22:43:55 +05:30
Vaibhav Bhembre
8ee4531088 Merge pull request #37 from digitalocean/fix_object_pg_count
health: add total pg count
2016-12-01 22:34:59 +05:30
Vaibhav Bhembre
f477b37494 health: add total pg count 2016-12-01 21:06:22 +05:30