Enable Grafana metrics.

This commit is contained in:
2023-08-14 15:03:44 +01:00
parent d8e24eeb50
commit 8b84e0e5b0

View File

@@ -20,6 +20,8 @@ job "grafana" {
env {
GF_AUTH_BASIC_ENABLED = "false"
GF_SERVER_HTTP_PORT = "${NOMAD_PORT_http}"
GF_METRICS_ENABLED = "true"
GF_METRICS_DISABLE_TOTAL_STATS = "false"
}
service {
@@ -28,6 +30,7 @@ job "grafana" {
tags = [
"traefik.enable=true",
"traefik.http.routers.grafana.entryPoints=websecure",
"metrics",
]
check {
type = "http"