diff --git a/nomad-job/prometheus.nomad b/nomad-job/prometheus.nomad index 7dd2141..9b4b6fe 100644 --- a/nomad-job/prometheus.nomad +++ b/nomad-job/prometheus.nomad @@ -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"