Skip to content

Commit 92b5784

Browse files
authored
Merge pull request #66138 from mletalie/OSDOCS-8154
[OSDOCS-8154]:15 Days of Retention Needs to Be Changed to 11 Days
2 parents 9b43b40 + 6ca8e66 commit 92b5784

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/monitoring-modifying-retention-time-and-size-for-prometheus-metrics-data.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="modifying-retention-time-and-size-for-prometheus-metrics-data_{context}"]
77
= Modifying the retention time and size for Prometheus metrics data
88

9-
By default, Prometheus automatically retains metrics data for 15 days. You can modify the retention time for
9+
By default, Prometheus automatically retains metrics data for 11 days. You can modify the retention time for
1010
ifndef::openshift-dedicated,openshift-rosa[]
1111
Prometheus
1212
endif::openshift-dedicated,openshift-rosa[]
@@ -21,7 +21,7 @@ Note the following behaviors of these data retention settings:
2121
* Data in the `/wal` and `/head_chunks` directories counts toward the retention size limit, but Prometheus never purges data from these directories based on size- or time-based retention policies.
2222
Thus, if you set a retention size limit lower than the maximum size set for the `/wal` and `/head_chunks` directories, you have configured the system not to retain any data blocks in the `/prometheus` data directories.
2323
* The size-based retention policy is applied only when Prometheus cuts a new data block, which occurs every two hours after the WAL contains at least three hours of data.
24-
* If you do not explicitly define values for either `retention` or `retentionSize`, retention time defaults to 15 days, and retention size is not set.
24+
* If you do not explicitly define values for either `retention` or `retentionSize`, retention time defaults to 11 days, and retention size is not set.
2525
* If you define values for both `retention` and `retentionSize`, both values apply.
2626
If any data blocks exceed the defined retention time or the defined size limit, Prometheus purges these data blocks.
2727
* If you define a value for `retentionSize` and do not define `retention`, only the `retentionSize` value applies.

0 commit comments

Comments
 (0)