Platform Team/Usage Statistics: Difference between revisions

Line 30: Line 30:
== Implementation ==
== Implementation ==


=== Monitor ===
* [[Sugar_Server_Kit/sugar-stats|sugar-stats]] library.
 
* [[Sugar_Server_Kit/sugar-client|sugar-client]], Sugar client complex solution that uses [[Sugar_Server_Kit/sugar-stats|sugar-stats]] library.
The usage statistics will be gathered by sniffing DBus and X11 messages in the [[Sugar_Server_Kit/sugar-client|sugar-client]] program launched with the {{Code|monitor}} command. The {{Code|sugar-client}} will stay in daemon mode, and send collected and filtered data to the [[Sugar_Server_Kit/sugar-server#collector|sugar-server]], or, will keep it for later collection in server-less environments.
 
=== Journal crawler ===
 
In addition to the realtime monitoring, it might be useful to collect some stats from the Journal. It should be possible to run this code on a client side, or, on school servers using Journal backups.
 
This feature was implemented in [http://wiki.paraguayeduca.org/index.php/Analisis_de_Uso_de_Actividades Paraguay], but is not being used right now.
 
=== Collector ===
 
=== Analyzer ===


== See also ==
== See also ==