Bug 106451 - Admin Console: log data sent & received per session
Summary: Admin Console: log data sent & received per session
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Aditya Dewan
URL:
Whiteboard: target:6.0.0
Keywords:
Depends on:
Blocks: LOOL-Admin-Console
  Show dependency treegraph
 
Reported: 2017-03-09 10:02 UTC by Pranav Kant
Modified: 2019-02-03 05:33 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pranav Kant 2017-03-09 10:02:05 UTC
We should provide a total bytes (Mb/Gb) sent and received per document - as well as a kbit/second average for the session length.
Comment 1 Aditya Dewan 2017-04-09 09:05:29 UTC
Hi,

I would like to work on this issue.
Comment 2 Aditya Dewan 2017-04-10 19:16:29 UTC
Hi,
Can you help me get started with this, i went through the code in adminmodel, but couldn't really figure out a proper way to do this.
Thanks
Comment 3 Michael Meeks 2017-06-08 11:29:31 UTC
Ah yes - I did this =)
We really want to graph this though - we should estimate the bandwidth based on the time since the last update to the admin-console, and (ideally) smooth that - since it will be quite jerky on the 5 second scale, a rolling average over the last 10 data-points would be a good idea in the admin console =)

The kbit/second is missing here I guess. But I added the underlying pieces to measure total bytes sent - and to convert that into a 'change since last measured' per document for the Admin Model.
Comment 4 Aditya Dewan 2017-06-13 17:12:06 UTC
Hi,

I have added a patch for monitoring the network activity at https://gerrit.libreoffice.org/#/c/38621/
Comment 5 Commit Notification 2017-06-16 07:55:45 UTC
Aditya Dewan committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/online/commit/?id=681138ab54ac03fbb26b1c2aa3ae7bcf9e7dde82

tdf#106451 admin: graph to monitor network activity