Enable Grafana metrics.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user