-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Consider reducing flow status threshold #138
Comments
Management UI and HTTP API currently report connections and channels as in flow if they've been in flow for the last 5 seconds. That can confuse the user with inter-node flow control, making them believe the flow is permanent (it is not: the actual state toggles many times a second). This reduces the interval to 1s, which seems more reasonable and accurate (in a way). Fixes #138.
One question before I merge the branch. IIRC, the management UI is refreshed every 5": could this change lead to connections/channels to appear as always running, even if they were in flow in the past 5"? I mean, could we end up in the opposite situation: currently it gives the impression connections/channels are always in flow, but with the change, it gives the impression they are never in flow? |
That's why we have an issue for adding a ratio. If alarm-driven flow is not in affect, the UI should not emphasize credit flow because it is transient and not displayed accurately with the current approach. You should still notice resource-driven alarms just as easily with this change.
|
Yes, I agree the current UI does not convey the information appropriately. |
Document the Timeout parameter to wait_for_confirms
Currently connections and channels would report itself as "blocked by credit flow" if they were blocked in the last 5 seconds. This means that in some environments, it may seem to an operator like they are in flow control permanently, even though they go in and out of the blocked state many times a second under high load.
We should consider adjusting the threshold to, say, 1 second.
The text was updated successfully, but these errors were encountered: