diff --git a/src/templates/haproxy.cfg.j2 b/src/templates/haproxy.cfg.j2 index ef72f98..d2df424 100644 --- a/src/templates/haproxy.cfg.j2 +++ b/src/templates/haproxy.cfg.j2 @@ -45,6 +45,7 @@ defaults frontend stats bind *:{{ data_stats["port"] | default(1936) }} mode http + http-request use-service prometheus-exporter if { path /metrics } stats enable stats hide-version stats realm Haproxy\ Statistics