Skip to content

Initialize metrics when tokio-console is enabled#6448

Merged
Mallets merged 2 commits into
mainfrom
fix-tokio-console-metrics
May 20, 2026
Merged

Initialize metrics when tokio-console is enabled#6448
Mallets merged 2 commits into
mainfrom
fix-tokio-console-metrics

Conversation

@shuheiktgw
Copy link
Copy Markdown
Collaborator

@shuheiktgw shuheiktgw commented May 19, 2026

Summary

Follow-up PR for #6374

We used to provide metrics through the /metrics endpoint regardless of whether Tokio Console was enabled, but I removed that behavior in the PR. To preserve the original behavior, I’ve updated the code to initialize the meter provider even when Tokio Console is enabled.

@shuheiktgw shuheiktgw requested a review from a team as a code owner May 19, 2026 17:11
@Mallets Mallets enabled auto-merge (squash) May 20, 2026 07:09
@Mallets Mallets merged commit dd8ad7e into main May 20, 2026
11 of 12 checks passed
@Mallets Mallets deleted the fix-tokio-console-metrics branch May 20, 2026 07:55
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.

4 participants