HAProxy community

Server-template + server's drain

Hi everyone. I’m using Haproxy 1.9 with srv server discovery.
I have a problem with the servers’ weight.
First, i’m configuring it in the srv record in “10” but in HA stats appears always in “1”.
The other problem is that when i change the server weight to 0 (drain), this change doesn’t work.
The Haproxy’s documentation about the srv discovery doesn’t talk about it.
I leave an example of my srv record value: “10 10 8080”

Thanks and regards!