Skip to content

housekeeper: add metrics HTTP server on LISTEN_ADDR#780

Merged
ilyaluk merged 1 commit intomainfrom
ilya/housekeeper-metrics-server
Mar 2, 2026
Merged

housekeeper: add metrics HTTP server on LISTEN_ADDR#780
ilyaluk merged 1 commit intomainfrom
ilya/housekeeper-metrics-server

Conversation

@ilyaluk
Copy link
Copy Markdown
Collaborator

@ilyaluk ilyaluk commented Mar 2, 2026

Serve /metrics (promhttp) on a single listen address, with pprof debug endpoints optionally registered on the same server. Replaces the previous pprof-only server with a unified HTTP server.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

@ilyaluk ilyaluk requested a review from metachris March 2, 2026 17:20
@ilyaluk
Copy link
Copy Markdown
Collaborator Author

ilyaluk commented Mar 2, 2026

Tested on testnets:

% curl -s http://localhost:8080/metrics | sort | grep -v '^#'| grep mev_boost
mev_boost_relay_current_head_slot{otel_scope_name="mev-boost-relay",otel_scope_version=""} 2.521587e+06

Comment thread cmd/housekeeper.go
Serve /metrics (promhttp) on a single listen address, with pprof
debug endpoints optionally registered on the same server. Replaces
the previous pprof-only server with a unified HTTP server.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ilyaluk ilyaluk force-pushed the ilya/housekeeper-metrics-server branch from a28bebe to 2c741fe Compare March 2, 2026 17:48
@ilyaluk ilyaluk requested a review from metachris March 2, 2026 17:48
@ilyaluk ilyaluk merged commit 31fda11 into main Mar 2, 2026
5 checks passed
@ilyaluk ilyaluk deleted the ilya/housekeeper-metrics-server branch March 2, 2026 18:01
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.

2 participants