WAL configuration to extend retention window

44 views
Skip to first unread message

sri L

unread,
Oct 18, 2024, 12:34:56 AM10/18/24
to Prometheus Users
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

Brian Candler

unread,
Oct 18, 2024, 3:50:46 AM10/18/24
to Prometheus Users
I'm not aware that you can. The issue regarding the limitation is still open:
which is linked from here:
"This is currently limited to a two-hour buffer only, similar to non-agent Prometheus, hopefully unblocked soon." (written in Nov 2021)

Brian Candler

unread,
Oct 18, 2024, 10:20:01 AM10/18/24
to Prometheus Users
You could have a look at using Grafana Alloy to buffer prometheus remote_write:

It has its own WAL with adjustable retention:

I have not tested this, but it might be worth investigating.
Reply all
Reply to author
Forward
0 new messages