]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commit
mon: updated for logging and additional metrics collected for rbd and osd hosts
authorPaul Cuzner <pcuzner@redhat.com>
Mon, 26 Jun 2017 05:12:23 +0000 (17:12 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Mon, 26 Jun 2017 05:12:23 +0000 (17:12 +1200)
commit6feefaf650ea9a167417e762479220c67dacbd05
treeefc29cbe8d9bc772333198f9eb5929a377c3ab46
parent26b202d7895569803682e76e9f4293d911b65c41
mon: updated for logging and additional metrics collected for rbd and osd hosts

collector class now scans the cluster to determine the count of RBDs. Each monitor
will pick a discrete set of pools to scan, so the overall load is shared across monitors.

In addition, since the osd tree command is used to determine the up/down state of
the OSDs, the same output is used to determine the number of osd hosts in the
configuration. Prior to this change the determination was inferred through a
graphite query.
collectors/mon.py