Browse Source

Fix HAProxy stats URL

tags/pkg/stable/eole-2.7.0/0.0.1-0^0
William Petit 4 months ago
parent
commit
1f933361dc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tmpl/prometheus-haproxy-exporter.defaults

+ 1
- 1
tmpl/prometheus-haproxy-exporter.defaults View File

@@ -3,7 +3,7 @@
3 3
 %if %%is_defined('snd_haproxy_scrape_uri')
4 4
 ARGS="--haproxy.scrape-uri='%%snd_haproxy_scrape_uri' --log.level=info"
5 5
 %else if %%is_defined('scrape_local_haproxy') and %%scrape_local_haproxy == "oui"
6
-ARGS="--haproxy.scrape-uri='http://%%haStatUser:%%haStatPass@%%adresse_ip_eth1:%%haStatPort/' --log.level=info"
6
+ARGS="--haproxy.scrape-uri='http://%%haStatUser:%%haStatPass@%%adresse_ip_eth1:%%haStatPort/?stats;csv' --log.level=info"
7 7
 %else
8 8
 ARGS="--log.level=info"
9 9
 %end if

Loading…
Cancel
Save