Actions
action #66019
openConfigure downsampling and a retention policy for InfluxDB
Start date:
2020-04-23
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Motivation¶
When working on #64574 I've noticed that we don't have a retention policy and the default policy seems to be storing the data forever. That's likely something we want to adjust in the long term.
Acceptance criteria¶
- AC1: Downsampling and retention is enabled with at least some sensible settings on the influxdb on monitor.qa.suse.de
Suggestion¶
- Read https://docs.influxdata.com/influxdb/v2.0/process-data/common-tasks/downsample-data/ about downsampling
- Read https://docs.influxdata.com/influxdb/v2.0/reference/api/influxdb-1x/dbrp/ about retention
- Look into what mkittler has drafted so far (not tested): https://gitlab.suse.de/mkittler/salt-states-openqa/-/commit/1880714e73d467ac5ed9c0a5b5cec4467fc14a20
- Introduce the corresponding changes to limit the storage space used by influxdb, mainly to prevent the storage to run full
Actions