action #103380
Updated by okurz about 1 month ago
https://progress.opensuse.org/issues/103380 Configure retention/downsampling policy for specific monitoring data stored within InfluxDB ## Motivation See #94492 - as part of this ticket a retention period for the entire `telegraf` database has been set (to remove data older than two years). It would still be desirable to setup more fine grained retention policies and down-sampling for specific monitoring data. This was not done because **it seems** InfluxDB only let's one create retention policies per database (and we store all of our monitoring data in the single database `telegraf`). Additionally, downsampling needs to be taken care of per field so setting it up for the entire database would be a lot of work (and one needed to extend it every time a new field is added). ## Suggestions * Read comments in #94492 (but with a grain of salt since I might have missed some possibilities). * *Likely* we needed to move data we want to retain shorter than two years or downsample into another database (and ensure we use that database for reading/writing data). * Check if we have global retention enabled * Look into if maybe influxdb (v.1) vs. influxdb2 (separate package) is of any help here