]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/influx: Set a default retention of 8 weeks on database
authorWido den Hollander <wido@42on.com>
Wed, 31 Jan 2018 13:36:21 +0000 (14:36 +0100)
committerWido den Hollander <wido@42on.com>
Tue, 20 Feb 2018 08:20:18 +0000 (09:20 +0100)
commitd743b11ee62a8a2585607cc56b1d8e8ade2c3e58
tree4b2bd9efc13b5ca8bd49eb26bdfeb23440e63c00
parentb6a20a3a6817218d621d7edffdcd029c2fbd2dc1
mgr/influx: Set a default retention of 8 weeks on database

Without a retention policy it is up to the administrator to set
a retention policy on the data.

This can easily be forgotten resulting in a ever growing InfluxDB
database.

Users can change the retention policy if they want to afterwards,
this is just the default policy set by the InfluxDB module when
it initially creates the database.

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