Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(autoscaling): add runtime utilization #4606

Merged
merged 9 commits into from
Mar 26, 2025

Conversation

Litarnus
Copy link
Contributor

This PR exposes the tokio Runtime utilization metric to the autoscaling endpoint.
It will produce a single number which is the utilization across all workers

@Litarnus Litarnus marked this pull request as ready for review March 26, 2025 10:59
@Litarnus Litarnus requested a review from a team as a code owner March 26, 2025 10:59
Comment on lines 154 to +156
relay_utilization{relay_service="envelope"} 50
relay_worker_pool_utilization 61
relay_runtime_utilization 41
Copy link
Member

Choose a reason for hiding this comment

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

Mh that's a bit awkward now, relay_utilization and relay_runtime_utilization, relay_service_utilization would have been better in hindsight I guess.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's true, I will prepare something to change this

@Litarnus Litarnus merged commit 3ac92c6 into master Mar 26, 2025
25 checks passed
@Litarnus Litarnus deleted the martinl/runtime-utilization-metrics branch March 26, 2025 13:36
k-fish pushed a commit that referenced this pull request Mar 27, 2025
This PR exposes the tokio Runtime utilization metric to the autoscaling
endpoint.
It will produce a single number which is the utilization across all
workers
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