]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/influx: Set the default interval to 30 seconds
authorWido den Hollander <wido@42on.com>
Wed, 31 Jan 2018 13:30:47 +0000 (14:30 +0100)
committerWido den Hollander <wido@42on.com>
Tue, 20 Feb 2018 08:20:17 +0000 (09:20 +0100)
A interval of 5 seconds (previous default) provides a high
resolution, but also a very large number of entries in the Influx
database.

By setting the default 30 seconds the amount of entries is reduced to
1/6th of that and thus saves storage and other resources.

If users want they can change the interval to anything they like.

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

index a5d50a2d8d565e3d6c1588109a1abce391f0410c..d2cce6347507a812322a35b4e269757f0132702e 100644 (file)
@@ -45,7 +45,7 @@ class Module(MgrModule):
         'database': 'ceph',
         'username': None,
         'password': None,
-        'interval': 5,
+        'interval': 30,
         'ssl': 'false',
         'verify_ssl': 'true'
     }