Update some metrics
This commit is contained in:
parent
f9d46faae9
commit
1fad6b691c
@ -23,7 +23,8 @@ job "blocky" {
|
||||
}
|
||||
|
||||
port "api" {
|
||||
host_network = "loopback"
|
||||
# TODO: This may be broken. It seems we're exposing the loopback address which can't be reached
|
||||
# host_network = "loopback"
|
||||
to = "4000"
|
||||
}
|
||||
}
|
||||
@ -48,7 +49,7 @@ job "blocky" {
|
||||
connect {
|
||||
sidecar_service {
|
||||
proxy {
|
||||
local_service_port = 400
|
||||
local_service_port = 4000
|
||||
|
||||
expose {
|
||||
path {
|
||||
|
@ -76,6 +76,14 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" {
|
||||
}
|
||||
}
|
||||
|
||||
check {
|
||||
port = "metrics"
|
||||
type = "http"
|
||||
path = "/health"
|
||||
interval = "10s"
|
||||
timeout = "3s"
|
||||
}
|
||||
|
||||
meta {
|
||||
metrics_addr = "$${NOMAD_ADDR_metrics}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user