-
Notifications
You must be signed in to change notification settings - Fork 708
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
Add (external) connections stats to #NetVisualisation graph #10456
Conversation
310d919
to
6e99cc7
Compare
6e99cc7
to
33328ac
Compare
Note: The margin to accompany the new right-hand y-axis required some fiddling as I haven't seen utilization of rendered text width (w/ font em size). However, I tested the right margin from like zero to 100% of net::Defaults.maxExtConnections in regards to the tick-label by simply hacking the maximum. |
33328ac
to
a90b076
Compare
a90b076
to
6fc2bb3
Compare
I think here we only need the last patch in this pr, as it seems to build without it and doesn't depend on the others? |
6fc2bb3
to
4d6f5ee
Compare
60f900a
to
db13f7d
Compare
db13f7d
to
cc5a92b
Compare
…ation graph Have AdminModel accumulate StreamSocket::getExternalConnectionCount() statistics in same size and interval as net recv/sent. The added statistic is rendered into the #NetVisualisation graph using a second y-axis on the right. Here we use a human-readable quantity tick with added multiple, percentage (1/100) or permyriad (1/10'000) to net::Defaults.maxExtConnections. Graph is accessible via `/browser/dist/admin/adminAnalytics.html#networkview`. Signed-off-by: Sven Göthel <sven.gothel@collabora.com> Change-Id: I614801e7901a23847ea35a2021ecc53a1c000110
cc5a92b
to
390eb76
Compare
untangled from #10455 |
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.
Looks good; can we have a follow-on pure-refactor patch to reduce the code duplication I highlighted.
Summary
Have AdminModel accumulate StreamSocket::getExternalConnectionCount() statistics
in same size and interval as net recv/sent.
The added statistic is rendered into the #NetVisualisation graph using a second y-axis on the right.
Here we use a human-readable quantity tick with added multiple, percentage (1/100) or permyriad (1/10'000) to net::Defaults.maxExtConnections.
Graph is accessible via
/browser/dist/admin/adminAnalytics.html#networkview
.Checklist
make prettier-write
and formatted the code.make check
make run
and manually verified that everything looks okay