]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/devicehealth: scrape at scrape_interval intervals
authorSage Weil <sage@redhat.com>
Wed, 15 Aug 2018 16:27:43 +0000 (11:27 -0500)
committerSage Weil <sage@redhat.com>
Sun, 26 Aug 2018 20:28:06 +0000 (15:28 -0500)
commit5da1018373c54c61a074f1199fe18cd97e07edfb
treea70597f11e72c8c505235bcb7e84dc574a6073d1
parent4431665e3316ac884ff6d56b6562b7b62dff0da0
mgr/devicehealth: scrape at scrape_interval intervals

Also, align the timing to the interval to avoid drift, and restructure
the loop so that we do the work immediately on startup without an initial
sleep.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/devicehealth/module.py