Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

HAPROXY 2.2 Metrics totals vary by worker

$
0
0

Just checking here if this is an actual bug before I file a report.
Using HAPROXY 2.2 with a prometheus metrics exporter gives inaccurate metrics when you have more than on 1 process.
When you curl for the metrics the total should only ever increase. What we see is it ‘swapping’ every few requests between 2 increasing values. It seem the results are per worker, but are not labelled as such.

HAPROXY 2.9 seems to behave correctly.

Possible solutions are just to document the incorrect behaviour along with the 2.2 warning for using more than 1 process, or to add a worker label to the metric . As mentioned it seems 2.2 specific when using more than 1 process.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles