]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/influx: Print (in debug) time it takes to send data to Influx 19229/head
authorWido den Hollander <wido@42on.com>
Mon, 11 Dec 2017 14:44:05 +0000 (15:44 +0100)
committerWido den Hollander <wido@42on.com>
Mon, 11 Dec 2017 14:44:05 +0000 (15:44 +0100)
commit3f07636bc235ace8da3f2f07aefd56e53085ea0e
tree11c6a35d98579fc46ecebecab40d60b0a5b32c30
parent429718af1cb30de49e8c7550b04bd788010ba1a4
mgr/influx: Print (in debug) time it takes to send data to Influx

On large clusters it might take a very long time to send data to Influx
due to the gathering and parsing of statistics.

By keeping a counter and printing it admins can adjust the interval if it
becomes to heavy for their cluster.

Signed-off-by: Wido den Hollander <wido@42on.com>
src/pybind/mgr/influx/module.py