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

Count local sleep in schedule_rate_limited metric #7531

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dnr
Copy link
Member

@dnr dnr commented Mar 26, 2025

What changed?

Make schedule_rate_limited count both local activity sleeps and workflow timer sleeps.

Why?

Make metric more meaningful: remove the threshold between local and workflow sleep, and make metric correspond better to the required limit that would need to be set to avoid sleeps.

@dnr dnr marked this pull request as ready for review March 28, 2025 16:53
@dnr dnr requested a review from a team as a code owner March 28, 2025 16:53
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