Actions
Bug #44590
closedprometheus metrics wrongly reports scrubbing pgs
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
prometheus module
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
mimic,nautilus,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
After change of ceph_pg_* in ceph 14.2.8 metrics ceph_pg_active and ceph_pg_clean do not count groups that are scrubbing
So cluster with all active and clean groups but with 3 scrubs pending will have:
ceph_pg_total{pool_id="26"} 2048.0 ceph_pg_active{pool_id="26"} 2044.0 ceph_pg_clean{pool_id="26"} 2044.0 ceph_pg_scrubbing{pool_id="26"} 0.0
while:
ceph pg dump|grep "^26\."|awk '{ print $12; }' | sort|uniq -c 2044 active+clean 2 active+clean+scrubbing 2 active+clean+scrubbing+deep
Actions