increase prometheus retention

This commit is contained in:
vincent 2023-10-23 19:16:27 +02:00
parent cf53b72179
commit 0e4d6c30d1

View File

@ -241,7 +241,7 @@ EOH
args = [
"--config.file=/etc/prometheus/prometheus.yml",
"--storage.tsdb.path=/prometheus",
"--storage.tsdb.retention.time=1m",
"--storage.tsdb.retention.time=40d",
]
volumes = [
"local/nomad-alert-rules.yml:/etc/prometheus/nomad-alert-rules.yml",
@ -263,7 +263,6 @@ EOH
"homer.target=_blank",
"homer.url=http://${NOMAD_ADDR_prometheus_ui}",
]
port = "prometheus_ui"