Commit Graph

13 Commits

Author SHA1 Message Date
Yue Zhu
170a989eed Add pool metric unfound_objects_total 2020-09-10 14:35:28 -04:00
Joshua Baergen
2db91decdb pool: Eliminate bad assumption about crush rule ordering.
We had assumed that the "take" step came first, but that's not
necessarily the case.
2020-07-13 15:18:40 -06:00
Joshua Baergen
6d60780b7f pool: Include the crush root as a label on pool metrics.
This makes it fairly simply to match up pools with OSDs, for example, in
queries.
2020-07-13 11:07:29 -06:00
Joshua Baergen
f51c648bd3 pool: Fix logic of falling back to replicated expansion in computation of ExpansionFactor.
The code was assuming that the command would succeed with empty output
if a non-EC profile was given, when in fact it fails. Re-work the code
to properly handle this case.
2020-07-10 13:58:54 -06:00
Joshua Baergen
b812df30ad pool: Fix "osd erasure-code-profile get" syntax. 2020-07-10 13:58:49 -06:00
Cody Breedlove
3dce1cf69c
Merge pull request #150 from digitalocean/cbreedlove/CEPH-114
CEPH-114 Added expansion_factor metric
2020-06-17 10:11:36 -04:00
Cody Breedlove
6856d7cda9 CEPH-114 Added expansion_factor metric
Added the expansion factor metric which will compute the multiplier for data expansion for EC clusters. Will return the pool size if it is not an EC pool
2020-06-16 14:06:42 -04:00
ssobolewski
0327480c54
Add additional labels to all osd metrics (#147)
* Add additional labels to all osd metrics
* Small fix per PR review (add additional test case and fix typos)
2020-06-15 09:43:59 -06:00
Yue Zhu
f31a0e9c39 Add a counter for objects backfill for each OSD 2019-09-27 16:47:04 -04:00
Yue Zhu
c5f32826d4 Address comments 2019-09-26 10:26:39 -04:00
Yue Zhu
cc479e019a Add metric ceph_pg_objects_recovered_total 2019-09-23 17:56:20 -04:00
Yue Zhu
6b4bbc8724 Add support for PG query 2019-09-19 17:19:04 -04:00
Vaibhav Bhembre
9cda67d44a Add Ceph Exporter 2016-01-06 13:27:16 -05:00