Commit Graph

351 Commits

Author SHA1 Message Date
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
Vaibhav Bhembre 2649185010 health: fix osd_down metric 2016-12-01 13:23:05 +05:30
Vaibhav Bhembre 0cf254f41d Merge pull request #32 from magicrobotmonkey/add_cache_rate
health: expose metrics for cache tier pool operations
2016-11-10 12:26:30 -05:00
Aaron Bassett 95567c9d9d lint comments 2016-11-10 11:58:15 -05:00
Aaron Bassett 52a64526a0 health: expose metrics for cache tier pool operations
- cache flush and evict io rates
 - cache promote iops
 - I don't know why promote is only iops but flush and evict are data rates
 - TODO: expose when the urgent eviction rate kicks in (I belive this shows up as (high) on the cache io line)
2016-11-05 16:57:25 -04:00
Vaibhav Bhembre 32e8779ae4 Merge pull request #31 from digitalocean/fix_counters
pool: fix read/write counters
2016-11-01 16:17:57 -04:00
Vaibhav Bhembre b58fdf7666 pool: fix read/write counters 2016-11-01 15:02:21 -04:00
Vaibhav Bhembre c6a80e0795 Merge pull request #30 from cristicalin/master
add support for additional metrics
2016-10-19 16:35:33 -04:00
Cristian Calin a5d81fa886 fix test for pools with incorrectly computed metrics 2016-10-19 22:31:40 +03:00
Cristian Calin 14df4b9516 add tests for the osd variance, pool raw bytes, dirty objects and read bytes and write bytes 2016-10-19 22:23:48 +03: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
Vaibhav Bhembre 8ed9d1aa48 Merge pull request #29 from digitalocean/add_ceph_release_note
readme: add a note about testing with ceph versions
2016-08-31 13:43:10 -04:00
Vaibhav Bhembre 851b5ac587 readme: add a note about testing with ceph versions 2016-08-31 11:20:47 -04:00
Vaibhav Bhembre 95e41e62eb Merge pull request #26 from AcalephStorage/feature/osd
ceph osd metrics
2016-07-29 15:45:18 -04:00
madzfe a548fe25b4 Osd to OSD. 2016-07-29 11:04:55 +08:00
madzfe 068d1afb80 change metrics name. make bytes appear as suffix 2016-07-27 21:05:10 +08:00
madzfe e7c27252a5 fix golint errors. change kb to bytes. change ms to sec. add comments 2016-07-27 17:48:54 +08:00
madzfe 62705b90b2 added apt-get update back 2016-07-26 11:32:45 +08:00
madzfe 335e7be325 change import back to digitalocean 2016-07-26 11:19:26 +08:00
madzfe bdd822efb8 continue to next osd. pgs is not avaailable in ceph hammer. 2016-07-21 17:30:58 +08:00
madz fc0bef724a clean up 2016-07-20 20:16:11 +08:00
madz c65d11d6c1 add logs 2016-07-15 17:37:38 +08:00
madz 4699d24605 add osd metrics in ceph exporter 2016-07-14 13:01:19 +08:00