mirror of
https://github.com/abh/ntppool.git
synced 2026-04-25 19:45:50 +03:00
[PR #249] [CLOSED] Make server page graph coloring consistent with scoring #815
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntppool#815
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/abh/ntppool/pull/249
Author: @daerSeebaer
Created: 12/29/2024
Status: ❌ Closed
Base:
main← Head:score-colored-graphs📝 Commits (1)
2aee9acgraphs: Make coloring consistent with scoring📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
docs/shared/static/js/graphs.server.js(+2 -2)📄 Description
Why was this changed
The scoring system currently has four "ranges" depending on the time offset between the monitored server and the monitor:
The colouring scheme in the graphs of the management sites had three "ranges":
My suggestion is to unify both systems. This increases transparency for pool operators and users. The graph already is the direct feedback what the monitoring system thinks about the server in terms of current reputation. Adding in the colouring scheme adds the layer of how the reputation is currently changing.
To keep the current traffic light scheme with red-yellow-green, I've decided to map everything in the negative point range to "red" since this indicates that the server will lose points and drop out of the NTP Pool eventually. The yellow range is adjusted to the slow gain range where the server is generally considered viable, but gets a penalty for inaccuracy. Indicating this with yellow should also give the server operator the feedback that the accuracy of the server should be improved. The range where the server gets the full score is indicated in green.
What was changed
I simply edited the threshold that determine the colors.
Impact
Expected advantages have been outlined above.
Since this is a purely visual change, I do not expect any negative side effects.
I look forward to constructive feedback and reviews.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.