Skip to content

6.0.1

Choose a tag to compare

@byjg byjg released this 23 Feb 02:07
· 11 commits to master since this release

What's New

Real-Time Monitoring Dashboard

EasyHAProxy now ships a built-in monitoring dashboard — no extra containers, no Prometheus, no Grafana required.

  • Zero-dependency: runs inside the EasyHAProxy process as a Python daemon thread, served via an embedded HTTP server on 127.0.0.1:9190 and proxied through a dedicated frontend dashboard / backend srv_dashboard
  • Live view: frontends, backends, servers, bytes in/out, active sessions, request rate — all updating in real time
  • Charts: Traffic Volume and Request Rate & Sessions plotted over time
  • Enable with one env var: set HAPROXY_PASSWORD and open http://<host>:11936/

See the Monitoring Dashboard guide for setup details.

Health Checks for Internal Backends

srv_stats and srv_dashboard internal backends now carry check, so HAProxy actively monitors them and the stats page reflects their real status.

Note: certbot_backend intentionally has no check — the certbot listener is ephemeral and only runs during ACME challenges.

Bug Fixes

  • Fixed ACME e2e test fixture leaking containers when docker compose --wait failed. The docker_compose_acme fixture now guarantees fixture.down() is called even when fixture.up() raises.
  • Fixed stale cached Docker image being used by the ACME test compose. The compose now references byjg/easy-haproxy:local — the same image built by the main test suite.

Documentation

  • New Monitoring Dashboard guide with screenshots, login dialog explanation, and environment variable reference
  • HAPROXY_STATS_CORS_ORIGIN now documented as required for the dashboard to function (browser enforces CORS between the dashboard port and the stats API port)
  • README updated with dashboard feature highlight and thumbnail

Environment Variables

Variable Description Default
HAPROXY_PASSWORD Enables stats endpoint and the dashboard empty
HAPROXY_STATS_CORS_ORIGIN Required for the dashboard. Set to the origin you use to open it (e.g. http://localhost:11936) empty
HAPROXY_STATS_PORT Stats API port. Dashboard served on this port + 10000 1936

Full Changelog

6.0.0...6.0.1