I'm not aware that you can. The issue regarding the limitation is still open: https://github.com/prometheus/prometheus/issues/9607
which is linked from here: https://prometheus.io/blog/2021/11/16/agent/ "This is currently limited to a two-hour buffer only, similar to non-agent Prometheus, hopefully unblocked soon." (written in Nov 2021) On Friday 18 October 2024 at 05:34:56 UTC+1 sri L wrote: > Hi all, > > I am looking for options in configuration which helps WAL to store data > for more than 2 hours in Prometheus. So that, incase of any issues with > remotewrite we have data available for more than 2hours. > > Please suggest the parameters that we can use WAL configuration to achieve > this > -- 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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/b9f6ffb7-83fd-4756-80be-bc860f2c8768n%40googlegroups.com.