osd: increase priority in certain OSD perf counters
There are reports from users missing stats in dashboard/prometheus mgr modules about the following perf counters:
"bluestore_compressed", "bluestore_compressed_allocated", "bluestore_compressed_original",They all are tagged as priority 0 (PRIO_DEBUGONLY), and ceph-mgr filters (by default) out any perf counter below 5 (PRIO_USEFUL). There are 2 possible approaches here:
- Ad-hoc fix by increasing the priority for these specific perf counters from 0 to 5.
- Longer term one: by providing a mgr option to cherry-pick perf counters of lower than default priority and export them.
#4 Updated by Ernesto Puerta about 4 years ago
Neha Ojha wrote:
Ernesto, while we are at it, are there any other specific stats that you've gotten requests for?
Neha, not that I know of. This comes from a downstream BZ (https://bugzilla.redhat.com/show_bug.cgi?id=1679924) and a customer ticket. Perhaps, we could move the discussion to users & customer facing experts, as they would probably know better what stats they missed in Prometheus/Dashboard. I'll send a mail to ceph-users on this regard. Nevertheless, I think we can go with this as it is.
Thanks a lot for taking care of it!