-
-
Notifications
You must be signed in to change notification settings - Fork 556
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
Replace temperature display by query frequency #3139
base: development
Are you sure you want to change the base?
Conversation
Signed-off-by: DL6ER <[email protected]>
Signed-off-by: DL6ER <[email protected]>
…e itself Signed-off-by: DL6ER <[email protected]>
Personally, I don't like 'Queries per minute'. I think it is confusion when the 'scale' changes depending on the number of events. Additionally, fractions of q/s doesn't make sense to me. I suggest to just round it to integer and show '<1 q/s' for really low values. |
Actually, initially I though this was a good idea, specially in systems with a very low query frequency, but changing If we decide to keep 'Queries per minute' for cases with small frequencies, I still think we should use Another suggestion:
We can keep the change between 'Queries per second' and 'Queries per minute', but we could also change the color (to blue or something else) when the unit changes to "per minute" to make the change more visible. |
With your two suggestions
You will have to see more than So should it always be |
I think this is a good idea. Maybe we could reverse the strategy and use a different unit only in extreme cases, if there are too many queries per minute (like this), to avoid a text "overflow", but this is very uncommon. |
I'm not sure if I can follow your logic here. Sure the calculation is correct, but the info shown is not intended to show the 24 hour average, but the 'current' query stream. |
wildcard idea - make it configurable... either /s or /min dependent on user preference. |
…han 100 queries are received per minute (~ 1.6q/s) Signed-off-by: DL6ER <[email protected]>
// Determine number of fraction digits based on the frequency | ||
// - 0 fraction digits for frequencies > 10 | ||
// - 1 fraction digit for frequencies between 1 and 10 | ||
// - 2 fraction digits for frequencies < 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think we should only go with full integer values and "<1" only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think showing decimal places only for small numbers (< 10
) is fine.
We already show decimal places for the CPU and MEM.
What does this implement/fix?
See title.
Related issue or feature (if applicable): N/A
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
git rebase
)Checklist:
developmental
branch.