Skip to content

Commit 5bc3cda

Browse files
committed
services/nomad/monitoring: Use alloc address_mode
1 parent 7aced07 commit 5bc3cda

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/nomad/monitoring/grafana.nomad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ job "grafana" {
3333

3434
check {
3535
type = "http"
36-
address_mode = "host"
36+
address_mode = "alloc"
3737
path = "/healthz"
3838
timeout = "30s"
3939
interval = "15s"

services/nomad/monitoring/prometheus.nomad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ job "prometheus" {
3030

3131
check {
3232
type = "http"
33-
address_mode = "host"
33+
address_mode = "alloc"
3434
path = "/-/healthy"
3535
timeout = "30s"
3636
interval = "15s"
@@ -47,7 +47,7 @@ job "prometheus" {
4747
}
4848

4949
config {
50-
image = "prom/prometheus:v2.47.2"
50+
image = "prom/prometheus:v3.2.1"
5151
args = [
5252
"--config.file=/local/prometheus.yml",
5353
"--storage.tsdb.path=/prometheus",

0 commit comments

Comments
 (0)