Bug 106451

Summary: Admin Console: log data sent & received per session
Product: LibreOffice Online Reporter: Pranav Kant <pranavk>
Component: LibreOfficeAssignee: Aditya Dewan <callmedewan>
Status: RESOLVED FIXED    
Severity: enhancement CC: aron.budea, kendy, michael.meeks, pranavk, xiscofauli
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard: target:6.0.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 123137    

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