Skip to content

Commit 6949128

Browse files
committed
Increase retention time to avoid data removal
1 parent bcf6686 commit 6949128

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ CMD sh -c "\
4040
prometheus \
4141
--config.file=/etc/prometheus/prometheus.yml \
4242
--storage.tsdb.path=/prometheus \
43+
--storage.tsdb.retention.time=3650d \
4344
--web.enable-lifecycle & \
4445
java -jar /prometheus-service.jar \
4546
"

0 commit comments

Comments
 (0)