Skip to content

Replace old HAProxy metric with the new one

Milad Irannejad requested to merge miladx/replace-old-haproxy-metric into master

The haproxy_backend_current_session_rate used to be exported by haproxy-exporter for HAProxy 1.x. The HAProxy 2.x exports it own built-in metrics and only exports the haproxy_backend_current_sessions metric. As a result, we need to calculate the rate using the rate function.

Edited by Milad Irannejad

Merge request reports