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

Ensure the inflight metrics are properly updated when rejecting #191

Merged

Conversation

nicholashagen
Copy link

Currently, the inflight metrics only update when a successful listener is acquired. However, in cases where all inflight requests are tied up and everything is being rejected, the inflight counter never updates. This causes the metric to eventually fall off and "appear" as 0 inflight. This change always publishes the inflight distribution to ensure it is always published with its current value.

Currently, the inflight metrics only update when a successful listener is acquired.
However, in cases where all inflight requests are tied up and everything is being rejected,
the inflight counter never updates. This causes the metric to eventually fall off and "appear"
as 0 inflight. This change always publishes the inflight distribution to ensure it is always
published with its current value.
@fedorka fedorka merged commit 291d7bb into Netflix:master Jan 17, 2024
1 check passed
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