Slide 3 of 12

HAProxy integration

HAProxy integration

The HAProxy integration provides load balancer monitoring at every layer: frontend, backend, and individual servers.

What it’s forMonitoring traffic distribution, backend health, and capacity
Who uses itPlatform engineers, SREs, network teams managing high-traffic sites
Under the hoodScrapes HAProxy’s stats interface for real-time visibility

Metrics collected

  • Frontend — Connections, requests, bytes
  • Backend — Server count, queue depth, response time
  • Server — Up/down, connections, health checks
  • Sessions — Current, limit, rate

Trade-offs

Best for: HAProxy load balancers in any environment

ProsCons
Pre-built dashboards: frontend, backend, serverRequires stats socket or endpoint
Pre-built alerts: backend health, queue depthConfiguration needed for exposure
Health check visibilityLimited compared to APM tools

Documentation

View the full documentation. Learning path coming soon!

HAProxy integration

Script

HAProxy sits in front of your applications and distributes traffic. If it’s unhealthy, everything behind it is affected. The integration gives you visibility at every layer.

Frontend metrics show what’s coming in: connection counts, request rates, bytes transferred. Backend metrics aggregate across your server pools: how many servers are active, what are queue depths, how fast are backends responding. Server-level metrics drill into individual backends: up or down, connection counts, response characteristics.

Session tracking shows concurrency, revealing how many simultaneous connections you’re handling and what your capacity headroom looks like. Health check metrics surface backends that are failing health checks, often before users notice problems.

Setup requires enabling HAProxy’s stats interface, either the stats socket or the HTTP stats endpoint, which the integration scrapes for metrics.

For high-traffic sites, this visibility is essential for capacity planning. Queue depths tell you when you’re approaching limits. Backend response times help identify which services are slowing down the whole system. The load balancer layer often gets overlooked in monitoring. This integration makes sure it doesn’t.