Skip to content

Add solr haproxy prometheus exporter + fix ping path#12371

Merged
mekarpeles merged 1 commit into
masterfrom
feature/solr-haproxy-prometheus
Apr 16, 2026
Merged

Add solr haproxy prometheus exporter + fix ping path#12371
mekarpeles merged 1 commit into
masterfrom
feature/solr-haproxy-prometheus

Conversation

@cdrini

@cdrini cdrini commented Apr 14, 2026

Copy link
Copy Markdown
Collaborator

More visibility into solr.

Technical

  • Also avoid the a query for our health check ; a ping should suffice.

Testing

Screenshot

Stakeholders

Copilot AI review requested due to automatic review settings April 14, 2026 15:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves Solr operational visibility by exposing HAProxy’s built-in Prometheus exporter and switches HAProxy’s Solr backend health check from a query-based check to Solr’s ping endpoint.

Changes:

  • Route GET /metrics on the Solr HAProxy listener to HAProxy’s prometheus-exporter.
  • Update HAProxy HTTP health check to use /solr/openlibrary/admin/ping instead of a select query.

Comment thread conf/solr/haproxy.cfg
Comment thread conf/solr/haproxy.cfg
@cdrini cdrini added the Patch Deployed This PR has been deployed to production independently, outside of the regular deploy cycle. label Apr 14, 2026
@mekarpeles mekarpeles self-assigned this Apr 16, 2026
@mekarpeles mekarpeles merged commit 8c14775 into master Apr 16, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Patch Deployed This PR has been deployed to production independently, outside of the regular deploy cycle.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants