Pavel Loginov 2022-04-06 17:05:44 +03:00
parent 28b85c0bac
commit 0092bd77b9
1 changed files with 3 additions and 1 deletions

View File

@ -31,8 +31,10 @@ defaults
listen stats
bind *:{{STAT_PORT}}
{% if ansible_os_family == "RedHat" and HAPVER != '2.5.1-1' %}
{% if ansible_os_family == "RedHat" %}
{% if HAPVER != '2.5.1-1' %}
option http-use-htx
{% endif %}
http-request use-service prometheus-exporter if { path /metrics }
{% endif %}
stats enable