InfluxDB: how to limit disk usage

639 views
Skip to first unread message

Danilo Cianciulli

unread,
Nov 7, 2016, 4:41:01 AM11/7/16
to cloudify-users
Hi,
I'm facing with a problem with InfluxDB.
In my test environment on OpenStack, InfluxDB uses all the available space on the manager's VM disk. This already led me to reinstall the manager a couple of times, since I found no way to recover the manager's services when the disk is full.
Is there a way to limit the InfluxDB disk usage (e.g. max 10 GB)? It would be nice if I can tell InfluxDB to store series only for the last (for example) 7 days. 

Regards.
Danilo

Trammell -

unread,
Nov 7, 2016, 9:01:05 AM11/7/16
to cloudify-users
yes you can configure influx retention policies, which by default are configured like this: https://github.com/cloudify-cosmo/cloudify-manager-blueprints/blob/master/components/influxdb/config/retention.json

Danilo Cianciulli

unread,
Nov 8, 2016, 6:59:17 AM11/8/16
to cloudify-users
I'm using cloudify manager version 3.4.0.2. Retention policies are not defined. Should I upgrade to a newer version, or is it possible to apply retention policies in another way?
Thanks

Trammell -

unread,
Nov 9, 2016, 6:43:53 AM11/9/16
to cloudify-users
There is not a GA for the newer version yet. Expect 4.0 in Q1 2017.
You can change an existing influxdb config and restart it and it should use them.

Reply all
Reply to author
Forward
0 new messages