Add prometheus metrics
This commit is contained in:
parent
fea04f0510
commit
49cd42077e
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ defaults
|
||||||
frontend stats
|
frontend stats
|
||||||
bind *:{{ data_stats["port"] | default(1936) }}
|
bind *:{{ data_stats["port"] | default(1936) }}
|
||||||
mode http
|
mode http
|
||||||
|
http-request use-service prometheus-exporter if { path /metrics }
|
||||||
stats enable
|
stats enable
|
||||||
stats hide-version
|
stats hide-version
|
||||||
stats realm Haproxy\ Statistics
|
stats realm Haproxy\ Statistics
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue