Hi Ionel,
On Tue, Apr 21, 2020 at 10:51:24AM +0200, Ionel GARDAIS wrote:
> thanks William,
>
> My fronted definition is :
> frontend ft-public
> bind ip.v.4.addr:80 name web-v4
> bind [ip:v:6:addr]:80 name web-v6
>
> and I'm still seeing only a Frontend entry in the table
>
>
> I also tried to add
>
> stats show-desc
> stats show-legends
> stats show-node
>
> to the dedicated stats listener with no luck.
That's what I'm having:
frontend http-in
option socket-stats
bind 10.x.x.x:60080 ... name IPv4-direct
bind 10.x.x.x:60081 ... name IPv4-cached
bind :::80 ... v6only name IPv6-direct
bind 127.0.0.1:60080 name local
bind 127.0.0.1:65443 name local-https accept-proxy ssl ...
mode http
(...)
backend demo
mode http
stats enable
stats show-node 1wt.eu
#stats show-legends # shows detailed info (ip, cookies, ...)
stats uri /
stats scope http-in
stats scope www
stats scope git
stats scope demo
As William mentioned, the socket names are those on the "bind" lines.
The "option socket-stats" in the frontend is the one allowing to have
one stats entry per bind line.
Hoping this helps,
Willy