HAProxy, or High Availability Proxy, is used for load balancing. Load Balancers direct traffic to available application servers. A load-balancer server may have only the load balancer application (HAProxy) installed or may be an application server in addition to a load balancer. Each load-balancer server has its own public IP address but shares the same fully qualified domain name as the other load-balancer servers in your configuration.
Why use the HAproxy Telegraf Plugin?
The HAProxy Telegraf Plugin gathers metrics using the stats socket or HTTP statistics page of a HAProxy server. These metrics will help you improve the performance of your web applications. Keep in mind that it is important to collect metrics to gain visibility into HAProxy’s performance as well. These insights will easily detect and resolve issues proactively ensuring the health of your HAProxy instance — and importantly, ensure the performance and reliability of your server environment.
How to use the HAproxy Telegraf Plugin
The following information may be useful when getting started, but please consult the HAProxy documentation for complete and up-to-date instructions.
Key HAproxy Metrics to use for monitoring
Some of the important HAproxy metrics that you should proactively monitor include:
server- address of the server data was gathered from
proxy- proxy name
sv- service name
type- proxy session type