We are using Prometheus to provide feedback to our users about the status of backend servers. Currently, we have no means of informing them if a server exceeds the maxconn limit, and consequently why it's no longer receiving new requests.
Therefore, we would like to be able to display when a server surpasses the maxconn limit and is in the "noroom" state. I have prepared a patch specifically for Prometheus, but it might be better to include a boolean directly in the server structure indicating whether the server was considered to have no room the last time server_has_room was called. However, this change seems to have a significant impact on other parts of the code. Cedric Paillet (1): MINOR: promex: Introduce 'NOROOM' status for srv_state metric addons/promex/service-prometheus.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.25.1

