You can also enable compression on the WAL
with --storage.tsdb.wal-compression.

On Fri, Feb 21, 2020 at 11:05 PM Florin Andrei <[email protected]>
wrote:

> Awesome! Thank you, got it, will upgrade.
>
>
> On Friday, February 21, 2020 at 1:59:50 PM UTC-8, Dhiman Barman wrote:
>>
>>
>> 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/f4bf8508-78a5-4eb8-aa77-ebde4533a842%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/f4bf8508-78a5-4eb8-aa77-ebde4533a842%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/CABbyFmpbnkcfKdyLHQGm_Cn1rMwW0pD7Jr9mA0npheRhntZ3HQ%40mail.gmail.com.

Reply via email to