|
|
@ -27,7 +27,7 @@ replayed when the Prometheus server restarts. Write-ahead log files are stored
|
|
|
|
in the `wal` directory in 128MB segments. These files contain raw data that
|
|
|
|
in the `wal` directory in 128MB segments. These files contain raw data that
|
|
|
|
has not yet been compacted; thus they are significantly larger than regular block
|
|
|
|
has not yet been compacted; thus they are significantly larger than regular block
|
|
|
|
files. Prometheus will retain a minimum of three write-ahead log files.
|
|
|
|
files. Prometheus will retain a minimum of three write-ahead log files.
|
|
|
|
High-traffic servers may retain more than three WAL files in order to to keep at
|
|
|
|
High-traffic servers may retain more than three WAL files in order to keep at
|
|
|
|
least two hours of raw data.
|
|
|
|
least two hours of raw data.
|
|
|
|
|
|
|
|
|
|
|
|
A Prometheus server's data directory looks something like this:
|
|
|
|
A Prometheus server's data directory looks something like this:
|
|
|
|