I am having issues with WAL directory. I have the tsdb retention size to 
175 GB, but the WAL size is increasing huge. now its 281 GB.

ExecStart=/apps/prometheus/prometheus_server/prometheus
–config.file=/apps/prometheus/prometheus_server/prometheus.yml
–storage.tsdb.path=/apps/prometheus/prometheus_data
–storage.tsdb.retention.size=175GB
–storage.tsdb.retention.time=180d

du -sh wal
281G wal

Is there any setting I can make to control the WAL space?

Prometheus version is

prometheus, version 2.31.0 (branch: HEAD, revision: 
d4c83da6d252d4edfdbd639fb817ebdb8e9ab2e4)
build user: root395d507f537a
build date: 20211102-10:28:54
go version: go1.17.2
platform: linux/amd64

due to this the restart of Prometheus takes huge amount of time. 


-- 
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/1be39e2b-e3f5-434e-b75c-f9e974c33b22n%40googlegroups.com.

Reply via email to