Add expose path for blocky /metrics

Not sure if it's needed
This commit is contained in:
IamTheFij 2022-11-11 13:37:09 -08:00
parent a30749f357
commit da70aa74ca
1 changed files with 10 additions and 0 deletions

View File

@ -57,6 +57,16 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" {
proxy {
local_service_port = 8080
# TODO: Do I need this?
expose {
path {
path = "/metrics"
protocol = "http"
local_path_port = 8080
listener_port = "metrics"
}
}
upstreams {
destination_name = "mysql-server"
local_bind_port = 6060