Skip to content

feat: HAProxy Prometheus exporter on frontproxy#111

Merged
ServerSideHannes merged 1 commit into
mainfrom
feat/frontproxy-prometheus-exporter
Jul 6, 2026
Merged

feat: HAProxy Prometheus exporter on frontproxy#111
ServerSideHannes merged 1 commit into
mainfrom
feat/frontproxy-prometheus-exporter

Conversation

@ServerSideHannes

Copy link
Copy Markdown
Owner

Summary

  • Enable HAProxy's native /metrics endpoint on s3proxy-python-frontproxy (port 8404)
  • Expose haproxy_frontend_current_sessions, haproxy_backend_current_queue, haproxy_server_current_queue, etc.
  • Add a Prometheus Operator ServiceMonitor to scrape frontproxy metrics into Thanos
  • Configurable via frontproxy.metrics.* values (enabled by default when frontproxy is on)

Test plan

  • helm template with frontproxy.enabled=true renders prometheus frontend, metrics port, and ServiceMonitor
  • Deploy to staging and confirm /metrics returns HAProxy metrics on port 8404
  • Verify metrics appear in Thanos (haproxy_backend_current_queue, etc.)
  • Confirm S3 traffic still routes through frontproxy on port 80/8080

Made with Cursor

Enable HAProxy's native /metrics exporter so queue depth and session
counts are available for autoscaling and saturation alerts.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ServerSideHannes ServerSideHannes merged commit d181a3c into main Jul 6, 2026
10 checks passed
@ServerSideHannes ServerSideHannes deleted the feat/frontproxy-prometheus-exporter branch July 6, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant