Expose traefik metrics
This commit is contained in:
parent
0c7f88d1ff
commit
3aeac1a0f2
@ -40,6 +40,10 @@ job "traefik" {
|
||||
port "syslog" {
|
||||
static = 514
|
||||
}
|
||||
|
||||
port "metrics" {
|
||||
to = 8989
|
||||
}
|
||||
}
|
||||
|
||||
ephemeral_disk {
|
||||
@ -51,6 +55,10 @@ job "traefik" {
|
||||
name = "traefik"
|
||||
port = "web"
|
||||
|
||||
meta {
|
||||
metrics_addr = "${NOMAD_ADDR_metrics}"
|
||||
}
|
||||
|
||||
check {
|
||||
type = "http"
|
||||
path = "/ping"
|
||||
|
Loading…
Reference in New Issue
Block a user