]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commit
rgw: look for the admin_socket on each call
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 23 Aug 2017 02:58:34 +0000 (14:58 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Wed, 23 Aug 2017 02:58:34 +0000 (14:58 +1200)
commit7760bbfcae60e46f6cc13c840c907d966bbdc921
tree36b9ab07d080921be92cd1abcaf3734f9e6d5935
parente827702b7fd2f0586fc303e003b2bf5f33351575
rgw: look for the admin_socket on each call

The admin_socket name for rgw is not fixed, unlike mon/osds. Therefore
to account for svc restarts and name changes the socket name is
determined at each get_stats cycle. If the socket isn't there, the
collector just passes back the version of radosgw to the caller and
will send stats again once a socket is detected on the host
collectors/rgw.py