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" {
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"