Expose traefik metrics

This commit is contained in:
IamTheFij 2022-11-22 09:59:53 -08:00
parent 0c7f88d1ff
commit 3aeac1a0f2

View File

@ -40,6 +40,10 @@ job "traefik" {
port "syslog" { port "syslog" {
static = 514 static = 514
} }
port "metrics" {
to = 8989
}
} }
ephemeral_disk { ephemeral_disk {
@ -51,6 +55,10 @@ job "traefik" {
name = "traefik" name = "traefik"
port = "web" port = "web"
meta {
metrics_addr = "${NOMAD_ADDR_metrics}"
}
check { check {
type = "http" type = "http"
path = "/ping" path = "/ping"