]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Add recovery metrics to prometheus exporter 26880/head
authorPaul Cuzner <pcuzner@redhat.com>
Mon, 11 Mar 2019 00:46:18 +0000 (13:46 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Mon, 11 Mar 2019 00:46:18 +0000 (13:46 +1300)
commit83c52b83bf4d457535155c80e379c7710fdde417
tree21bfe4ae76dfb7f161dcbb422c65a19964fb8968
parentb915fcee4ff09f8d5c72fb3cb85c2c9bd7df5520
Add recovery metrics to prometheus exporter

Recovery information was missing from the exporter
stats. The source of the info is osd pool stats,
which was moved to mgr in the Mimic release. This
change adds recovery rates by pool, and also
includes a scrape_duration_seconds metric to track
latency of the exporter

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/prometheus/module.py