Skip to content

Ensure the inflight metrics are properly updated when rejecting#191

Merged
fedorka merged 1 commit intoNetflix:masterfrom
nicholashagen:update-inflight-metrics-when-rejected
Jan 17, 2024
Merged

Ensure the inflight metrics are properly updated when rejecting#191
fedorka merged 1 commit intoNetflix:masterfrom
nicholashagen:update-inflight-metrics-when-rejected

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 requested review from fedorka and umairk79 January 16, 2024 19:41
@fedorka fedorka merged commit 291d7bb into Netflix:master Jan 17, 2024
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