In 2.15.0 <https://github.com/prometheus/prometheus/releases/tag/v2.15.0> [ENHANCEMENT] TSDB: WAL size is now used for size based retention calculation. https://github.com/prometheus/prometheus/pull/5886
On Fri, Feb 21, 2020 at 1:45 PM Florin Andrei <[email protected]> wrote: > To store Prometheus data, I have a volume with a given, fixed size. I need > to make sure usage level stays below 100%. > > I've already set storage.tsdb.retention.time, but this is not always very > effective. Sometimes large data spikes will fill up the volume. I cannot > reduce the retention time too much. > > I want to also use storage.tsdb.retention.size. But the problem is, this > doesn't take into account the WAL file size. > > Is there a way to estimate the size of WAL data? Are there any guidelines > for fitting the retention size in a given volume size? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/f6eb1c19-5721-4d84-8b50-0f2699ff3901%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/f6eb1c19-5721-4d84-8b50-0f2699ff3901%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CA%2BLhoFwP%2BdsNk%3D-wA2K_1pNMa%3DZGF%2BNqgKAo%2BLV03-2t9_6%2BbQ%40mail.gmail.com.

