Difference between revisions of "Platform Team/sugar-stats"

From Sugar Labs
Jump to navigation Jump to search
Line 8: Line 8:
  
 
More (0.86+) Sugar version might be added on demand.
 
More (0.86+) Sugar version might be added on demand.
 +
 +
== Getting the code ==
 +
 +
* Gitorious [http://git.sugarlabs.org/server/stats sources] repository.
 +
* Binary [http://download.sugarlabs.org/packages/Server:/Factory/ packages] build for distributions [[Sugar_Server_Kit#Supported_platforms|supported]] by SSK.
 +
 +
Library requires:
 +
 +
* [http://www.gevent.org/ gevent] starting from 1.0 version (in beta stage for now).
 +
* RRDtool [http://oss.oetiker.ch/rrdtool/prog/rrdpython.en.html python binding].
 +
 +
For using, library does not require any building routines, just provide full path to the {{Code|active_document/}} subdirectory via {{Code|PYTHONPATH}} environment variable.
 +
 +
See [http://git.sugarlabs.org/server/stats/trees/master/examples examples/] subdirectory in the sources tree for usage examples.
 +
 +
== See also ==
 +
 +
* [[Sugar_Server_Kit/sugar-client sugar-client]] application that uses sugar-stats library.
  
 
== Getting involved ==
 
== Getting involved ==
Line 13: Line 31:
 
* [http://bugs.sugarlabs.org/newticket?component=sugar-server-kit Report] on bugs.
 
* [http://bugs.sugarlabs.org/newticket?component=sugar-server-kit Report] on bugs.
 
* Read the [http://git.sugarlabs.org/server/stats/blobs/master/HACKING HACKING] file to know how to contribute with code.
 
* Read the [http://git.sugarlabs.org/server/stats/blobs/master/HACKING HACKING] file to know how to contribute with code.
 
== Resources ==
 
 
* sugar-stats [http://git.sugarlabs.org/server/unit sources].
 

Revision as of 20:53, 16 January 2012

Summary

Library to gather Sugar usage statistics. The gathering method is based on sniffing DBus and X11 events.

Supported Sugars

  • 0.94

More (0.86+) Sugar version might be added on demand.

Getting the code

Library requires:

For using, library does not require any building routines, just provide full path to the active_document/ subdirectory via PYTHONPATH environment variable.

See examples/ subdirectory in the sources tree for usage examples.

See also

Getting involved

  • Report on bugs.
  • Read the HACKING file to know how to contribute with code.