You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i'm looking for a way to monitor frontends by host header in HAProxy config where we route by host header. For example, consider the following config:
frontend http-in
bind *:80
log /dev/log len 65535 local1 info
capture request header User-Agent len 30
capture request header X-Request-ID len 36
capture request header Host len 32
# Frontend rules for host header routing
use_backend user if { hdr(Host) -i user user.example.com }
use_backend login if { hdr(Host) -i login login.example.com }
backend user
mode http
server-template user 10 _user._tcp.service.consul resolvers consul resolve-prefer ipv4 check
backend login
mode http
server-template login 10 _login._tcp.service.consul resolvers consul resolve-prefer ipv4 check
Is there a way to get stats of all frontends, for example in particular haproxy.frontend.response.4xx by header:Host?
The text was updated successfully, but these errors were encountered:
Hi, i'm looking for a way to monitor frontends by host header in HAProxy config where we route by host header. For example, consider the following config:
Is there a way to get stats of all frontends, for example in particular
haproxy.frontend.response.4xx
byheader:Host
?The text was updated successfully, but these errors were encountered: