You can use the -storage.local.retention flag to set *how long* data
is kept around. Data points older than that will eventually be removed
(this is fuzzy).
This is not a limit "by size", and how retention time translates to
time depends on the number and shape of your time series. As soon as
you know after how many days you run out of space, set the retention
to a little less and it should hover around an acceptable size.
The additional benefit for you is that you don't need to start empty
every time – you will have a rolling window of data.
/MR
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
prometheus-devel...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Matthias Rampke
Engineer
SoundCloud Ltd. | Rheinsberger Str. 76/77, 10115 Berlin, Germany | +49
173 6395215
Managing Director: Alexander Ljung | Incorporated in England & Wales
with Company No. 6343600 | Local Branch Office | AG Charlottenburg |
HRB 110657B