Add expose path for blocky /metrics
Not sure if it's needed
This commit is contained in:
parent
a30749f357
commit
da70aa74ca
@ -57,6 +57,16 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" {
|
|||||||
proxy {
|
proxy {
|
||||||
local_service_port = 8080
|
local_service_port = 8080
|
||||||
|
|
||||||
|
# TODO: Do I need this?
|
||||||
|
expose {
|
||||||
|
path {
|
||||||
|
path = "/metrics"
|
||||||
|
protocol = "http"
|
||||||
|
local_path_port = 8080
|
||||||
|
listener_port = "metrics"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
upstreams {
|
upstreams {
|
||||||
destination_name = "mysql-server"
|
destination_name = "mysql-server"
|
||||||
local_bind_port = 6060
|
local_bind_port = 6060
|
||||||
|
Loading…
x
Reference in New Issue
Block a user