Difference between revisions of "Platform Team/Usage Statistics"

From Sugar Labs
Jump to navigation Jump to search
Line 5: Line 5:
 
== Statistics ==
 
== Statistics ==
  
* Logs if activities of sugar itself were failing.
+
All types of statistics are identified by IDs in dot separated hierarchy to make it possible to refer to the particular type or types level.
* How long a Sugar user was on the Internet.
+
 
* How long a Sugar user was collaborating with other users:
+
* {{Code|shell}}<br>Shell related stats.
** number of collaborators,
+
** {{Code|shell.run}}<br>Shell process is run.
** durations of collaboration sessions.
+
** {{Code|shell.active}}<br>Shell or activity window is active.
* System uptime:
+
** {{Code|shell.collab}}<br>Collaboration related stats in Shell.
** total,
+
*** {{Code|shell.collab.buddies}}<br>Number of buddies in the Neighborhood view.
** time in active use (not counting time in suspend).
+
* {{Code|activity}}<br>Activities related stats.
 +
** {{Code|activity.run}}<br>Activity is run.
 +
** {{Code|activity.active}}<br>Activity window is active.
 +
** {{Code|activity.collab}}<br>Collaboration related stats for activities.
 +
*** {{Code|activity.collab.buddies}}<br>Number of buddies activity is interacting with.
 +
* {{Code|system}}<br>System related stats.
 +
** {{Code|system.uptime}}<br>System uptime value.
  
 
== Implementation ==
 
== Implementation ==

Revision as of 16:27, 15 September 2011

Summary

Sugar usage statistics might be very useful from, e.g., educational point of view. Statistics might be anonymous or personalized (with taking special efforts to keep information secure and local only for particular deployment).

Statistics

All types of statistics are identified by IDs in dot separated hierarchy to make it possible to refer to the particular type or types level.

  • shell
    Shell related stats.
    • shell.run
      Shell process is run.
    • shell.active
      Shell or activity window is active.
    • shell.collab
      Collaboration related stats in Shell.
      • shell.collab.buddies
        Number of buddies in the Neighborhood view.
  • activity
    Activities related stats.
    • activity.run
      Activity is run.
    • activity.active
      Activity window is active.
    • activity.collab
      Collaboration related stats for activities.
      • activity.collab.buddies
        Number of buddies activity is interacting with.
  • system
    System related stats.
    • system.uptime
      System uptime value.

Implementation

Monitor

The usage statistics will be gathered by sniffing DBus messages in sugar-client program launched with monitor command. The sugar-client will stay in daemon mode and send collected and filtered data to the sugar-server.

Collector

Analyzer