Skip to content

balancerd: use single MetricsRegistry so alloc metrics are served#36447

Open
def- wants to merge 1 commit intoMaterializeInc:mainfrom
def-:pr-balancerd-metrics
Open

balancerd: use single MetricsRegistry so alloc metrics are served#36447
def- wants to merge 1 commit intoMaterializeInc:mainfrom
def-:pr-balancerd-metrics

Conversation

@def-
Copy link
Copy Markdown
Contributor

@def- def- commented May 7, 2026

Since #28056, main() registered jemalloc/alloc metrics into one MetricsRegistry while run() created a separate one for the HTTP /metrics endpoint, making the alloc metrics invisible. Pass the registry from main() into run() to match environmentd and clusterd.

Since MaterializeInc#28056, `main()` registered jemalloc/alloc metrics into one
MetricsRegistry while `run()` created a separate one for the HTTP
`/metrics` endpoint, making the alloc metrics invisible. Pass the
registry from `main()` into `run()` to match environmentd and clusterd.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@def- def- requested a review from alex-hunt-materialize May 7, 2026 05:26
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