increase prometheus retention
This commit is contained in:
parent
cf53b72179
commit
0e4d6c30d1
@ -241,7 +241,7 @@ EOH
|
|||||||
args = [
|
args = [
|
||||||
"--config.file=/etc/prometheus/prometheus.yml",
|
"--config.file=/etc/prometheus/prometheus.yml",
|
||||||
"--storage.tsdb.path=/prometheus",
|
"--storage.tsdb.path=/prometheus",
|
||||||
"--storage.tsdb.retention.time=1m",
|
"--storage.tsdb.retention.time=40d",
|
||||||
]
|
]
|
||||||
volumes = [
|
volumes = [
|
||||||
"local/nomad-alert-rules.yml:/etc/prometheus/nomad-alert-rules.yml",
|
"local/nomad-alert-rules.yml:/etc/prometheus/nomad-alert-rules.yml",
|
||||||
@ -263,7 +263,6 @@ EOH
|
|||||||
"homer.target=_blank",
|
"homer.target=_blank",
|
||||||
"homer.url=http://${NOMAD_ADDR_prometheus_ui}",
|
"homer.url=http://${NOMAD_ADDR_prometheus_ui}",
|
||||||
|
|
||||||
|
|
||||||
]
|
]
|
||||||
port = "prometheus_ui"
|
port = "prometheus_ui"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user