HAProxy metrics
The following table lists the metrics that are gathered as output from HAProxy checks. Entries indicated as Featured metrics are high-visibility metrics that are displayed in the Operator Workspace Metric tab after an alert is generated. These metrics provide the operator with additional information to help them further explore the specified issue.
| Metric type | Resource (name of specific database, where relevant) | Units | Metric type description |
|---|---|---|---|
| haproxy.frontend.session_current (featured metric) | count | The current number of sessions being used to issue requests. | |
| haproxy.frontend.session_total (featured metric) | count | Total number of sessions | |
| haproxy.frontend.bytes_in (featured metric) | count | The total number of bytes recieved by the server in the last second from the client. | |
| haproxy.frontend.bytes_out (featured metric) | count | The total number of bytes sent by the server in the last second. | |
| haproxy.frontend.connection_errors (featured metric) | count | The number of requests that encountered an error trying to connect to a server. | |
| haproxy.frontend.warning_retries | count | The number of times a connection to a server was retried. | |
| haproxy.frontend.warning_redispatched | count | The number of times a request was redispatched to another server. | |
| haproxy.frontend.response_1xx | count | HAProxy exposes the number of responses by HTTP status code - 1xx | |
| haproxy.frontend.response_2xx | count | HAProxy exposes the number of responses by HTTP status code - 2xx | |
| haproxy.frontend.response_3xx | count | HAProxy exposes the number of responses by HTTP status code - 3xx | |
| haproxy.frontend.response_4xx | count | HAProxy exposes the number of responses by HTTP status code - 4xx | |
| haproxy.frontend.response_5xx | count | HAProxy exposes the number of responses by HTTP status code - 5xx | |
| haproxy.frontend.response_other | count | HAProxy exposes the number of responses by non-HTTP application | |
| haproxy.frontend.queue_time | count | The average queue time over the last 1024 requests. | |
| haproxy.frontend.connect_time | count | The average connect time over the last 1024 requests. | |
| haproxy.frontend.response_time (featured metric) | count | The response time to the client | |
| haproxy.frontend.average_time (featured metric) | count | The average time taken for the sessions. |
| Metric type | Resource (name of specific database, where relevant) | Units | Metric type description |
|---|---|---|---|
| haproxy.backend.session_current (featured metric) | count | The current number of sessions being used to issue requests. | |
| haproxy.backend.session_total (featured metric) | count | Total number of sessions | |
| haproxy.backend.bytes_in (featured metric) | count | The total number of bytes recieved by the server in the last second from the client. | |
| haproxy.backend.bytes_out (featured metric) | count | The total number of bytes sent by the server in the last second. | |
| haproxy.backend.connection_errors (featured metric) | count | The number of requests that encountered an error trying to connect to a server. | |
| haproxy.backend.warning_retries | count | The number of times a connection to a server was retried. | |
| haproxy.backend.warning_redispatched | count | The number of times a request was redispatched to another server. | |
| haproxy.backend.response_1xx | count | HAProxy exposes the number of responses by HTTP status code - 1xx | |
| haproxy.backend.response_2xx | count | HAProxy exposes the number of responses by HTTP status code - 2xx | |
| haproxy.backend.response_3xx | count | HAProxy exposes the number of responses by HTTP status code - 3xx | |
| haproxy.backend.response_4xx | count | HAProxy exposes the number of responses by HTTP status code - 4xx | |
| haproxy.backend.response_5xx | count | HAProxy exposes the number of responses by HTTP status code - 5xx | |
| haproxy.backend.response_other | count | HAProxy exposes the number of responses by non-HTTP application | |
| haproxy.backend.queue_time | count | The average queue time over the last 1024 requests. | |
| haproxy.backend.connect_time | count | The average connect time over the last 1024 requests. | |
| haproxy.backend.response_time (featured metric) | count | The response time to the client | |
| haproxy.backend.average_time (featured metric) | count | The average time taken for the sessions. | |
| haproxy.backend.num_up | count |