Commit Graph

10 Commits

Author SHA1 Message Date
Yue Zhu 0242f191c2 Add pool metric unfound_objects_total
(cherry picked from commit 170a989eed)
2020-09-10 16:29:05 -04:00
Joshua Baergen 090bb6a09d collectors: Remove the unused performPGQuery() and supporting code. 2020-08-28 08:56:45 -06:00
Joshua Baergen ee46165576 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:19:00 -06:00
Joshua Baergen c0a214d0d8 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 10:32:38 -06:00
Joshua Baergen 32de4574a5 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 14:58:12 -06:00
Joshua Baergen dc4541a398 pool: Fix "osd erasure-code-profile get" syntax. 2020-07-10 14:58:12 -06:00
Cody Breedlove c6aff7d922 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-17 13:38:05 -04:00
ssobolewski df1d1cb738
Port over lumoinous changes for labels to nautilus branch (#149) 2020-06-16 11:59:15 -06:00
Sasha Krutiy 6622c2f7a3 Fixing metrics to be compatible with nautilus: modified struct for pg dump pgs_brief command, fixing pg_objects_recovered, osd_scrub_state, and osd recovery rate/pg query functionality that was added into luminous 2019-12-10 15:28:18 -05:00
Vaibhav Bhembre 9cda67d44a Add Ceph Exporter 2016-01-06 13:27:16 -05:00