This is part of what Federation is designed to do. You federate the stuff you want to keep longer, and reduce the retention for the raw collector.
On Thu, Mar 19, 2020 at 3:55 PM sam j <[email protected]> wrote: > Thanks. So there is no way to set retention times for raw and aggregated > metrics differently? e.g. I want to keep the agg metrics for 1 month but > discard raw metrics everyday. > > On Thursday, March 19, 2020 at 5:03:14 AM UTC-4, Brian Candler wrote: >> >> The original metrics are stored as well as the aggregated ones. This is >> so that (for example) you can run alerting rule queries directly on the >> original metrics. >> >> If you are federating, then you can set a short retention period - say 1 >> day. This will apply to everything, both raw and aggregated metrics. >> > -- > 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/44c6dc44-4ecb-4e7b-bf4a-487c9f33c99f%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/44c6dc44-4ecb-4e7b-bf4a-487c9f33c99f%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/CABbyFmr83zbWw7yzwYGnCmGM8Q4amFzWQ091LANixb_hBXYwDg%40mail.gmail.com.

