Skip to content

Commit

Permalink
Update docs/storage.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ayoub Mrini <ayoubmrini424@gmail.com>
Signed-off-by: Nishant Singh <nishant@heim.id>
  • Loading branch information
tesla59 and machine424 committed Apr 27, 2024
1 parent 5e638b7 commit 8013149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/storage.md
Expand Up @@ -85,7 +85,7 @@ Prometheus has several flags that configure local storage. The most important ar

- `--storage.tsdb.path`: Where Prometheus writes its database. Defaults to `data/`.
- `--storage.tsdb.retention.time`: How long to retain samples in storage. When this flag is
set it overrides `storage.tsdb.retention`. If neither this flag nor `storage.tsdb.retention`
set, it overrides `storage.tsdb.retention`. If neither this flag nor `storage.tsdb.retention`
nor `storage.tsdb.retention.size` is set, the retention time defaults to `15d`.
Units Supported: y, w, d, h, m, s, ms.
- `--storage.tsdb.retention.size`: The maximum number of bytes of storage blocks to retain.
Expand Down

0 comments on commit 8013149

Please sign in to comment.