Skip to content

Commit

Permalink
Update prometheus retention period for 3 years
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 committed Aug 16, 2024
1 parent 9fb6fc7 commit 89f03ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm-charts/support/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ prometheus:
# those as well as appropriate
- "rm -rvf /data/wal/* && \
exec /bin/prometheus \
--storage.tsdb.retention.time=366d \
--storage.tsdb.retention.time=1098d \
--config.file=/etc/config/prometheus.yml \
--storage.tsdb.path=/data \
--web.console.libraries=/etc/prometheus/console_libraries \
Expand All @@ -179,7 +179,7 @@ prometheus:
extraFlags:
- web.enable-lifecycle
# retention MUST BE UPDATED in prometheus.server.defaultFlagsOverride as well
retention: 366d # Keep data for at least 1 year
retention: 1098d # Keep data for at least 3 years

ingress:
ingressClassName: nginx
Expand Down

0 comments on commit 89f03ab

Please sign in to comment.