]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: fix pool_objects_repaired and daemon_health_metrics format 51090/head
authorbanuchka <tyrchenok@gmail.com>
Sat, 15 Apr 2023 20:56:05 +0000 (21:56 +0100)
committerbanuchka <tyrchenok@gmail.com>
Thu, 27 Apr 2023 20:08:40 +0000 (21:08 +0100)
commit95d5303e11d6cba5ec4e71716af8931bcc2b9767
tree49349a1a0e5c67a864f9d23ee8ea8e24646be832
parent7dd23978a66cc1c97c0f7244a036fadd9bdf2fd0
mgr/prometheus: fix pool_objects_repaired and daemon_health_metrics format

mgr/prometheus: fix pool_objects_repaired and daemon_health_metrics format

- fix "error reading metrics for http://****:***/metrics: reading text format failed: text format parsing error in line 2010: second HELP line for metric name "ceph_pool_objects_repaired" error

- rename label name "poolid" to "pool_id" like all other metrics
- change type for the "daemon_health_metrics" to gauge

Fixes: https://tracker.ceph.com/issues/59505
Signed-off-by: banuchka <tyrchenok@gmail.com>
src/pybind/mgr/prometheus/module.py