Firefox OS/Metrics: Difference between revisions

no edit summary
No edit summary
Line 129: Line 129:
* Set <tt>DEBUG = true</tt> in <tt>gaia/apps/system/js/ftu_ping.js</tt> to see messages at various stages of the ping lifecycle, and the raw ping data when it is actually sent
* Set <tt>DEBUG = true</tt> in <tt>gaia/apps/system/js/ftu_ping.js</tt> to see messages at various stages of the ping lifecycle, and the raw ping data when it is actually sent
* Change <tt>DEFAULT_TRY_INTERVAL</tt> in <tt>gaia/apps/system/js/ftu_ping.js</tt> to something much smaller than 1 hour (i.e. 15 seconds)
* Change <tt>DEFAULT_TRY_INTERVAL</tt> in <tt>gaia/apps/system/js/ftu_ping.js</tt> to something much smaller than 1 hour (i.e. 15 seconds)
=App usage metrics=
We plan to collect basic usage information periodically about the system and 3rd party apps installed on FxOS devices
==Requirements==
For all system and 3rd party apps, track:
# Total time that each app has been actively been used (in the foreground while the screen is on)
# Counts for the number of times an app has been opened, closed, or crashed
# A list of apps that have been uninstalled
These metrics should be collected and submitted to our telemetry server periodically.


=High Level Requirements=
=High Level Requirements=
23

edits