QA/Telemetry/Logging: Difference between revisions

Line 47: Line 47:
One you've imported '''TelemetryLog.jsm''', you can retrieve the logs using the following command:
One you've imported '''TelemetryLog.jsm''', you can retrieve the logs using the following command:
* TelemetryLog.entries().toSource();
* TelemetryLog.entries().toSource();
You should see something similar to the following inside the Browser Console:
<blockquote>
["EXPERIMENT_ACTIVATION", 52487, "ACTIVATED", "tile-switcher@experiments.mozilla.org"]
["EXPERIMENT_TERMINATION", 389463, "ADDON_UNINSTALLED", "tile-switcher@experiments.mozilla.org"]
["EXPERIMENT_ACTIVATION", 400009, "ACTIVATED", "tile-switcher@experiments.mozilla.org #2"]
["EXPERIMENT_TERMINATION", 692040, "ADDON_UNINSTALLED", "tile-switcher@experiments.mozilla.org #2"]
["EXPERIMENT_ACTIVATION", 731416, "ACTIVATED", "tile-switcher@experiments.mozilla.org #3"]
</blockquote>
Confirmed users
924

edits