QA/Telemetry/AboutPreferences: Difference between revisions

 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
* '''experiments.enabled'''
* '''experiments.enabled'''
** Indicates if the experiments are currently enabled/disabled (enabled by default)
** Indicates if the experiments are currently enabled/disabled (enabled by default)
* '''experiments.logging.dump'''
** '''Example:''' Services.prefs.setBoolPref("experiments.logging.dump", true);
*** will also dump logs into stdout and the browser console
* '''experiments.logging.level'''
* '''experiments.logging.level'''
** Changing this to '''0''' will give you the ability to view the logs under the Browser Console. You'll have to enable '''Chrome and addon debugging'''. Please see [https://wiki.mozilla.org/QA/Telemetry/Logging Setting up Logging]
** '''Example:''' Services.prefs.setCharPref("experiments.logging.level", "Trace");
*** Changing this to '''0''' or '''Trace''' will give you the ability to view the logs under the Browser Console. You'll have to enable '''Chrome and addon debugging'''. Please see [https://wiki.mozilla.org/QA/Telemetry/Logging Setting up Logging]
* '''experiments.force-sample-value'''
* '''experiments.force-sample-value'''
** The staging server uses a sample value that dictates what percentage of users will get the experiment, ensure this value matches the servers .JSON file or it will take you a very long time to retrieve the experiment from the server
** '''Example:''' Services.prefs.setCharPref("experiments.force-sample-value", ".1"); (this will change the sample value to 10%)
*** The staging server uses a sample value that dictates what percentage of users will get the experiment, ensure this value matches the servers .JSON file or it will take you a very long time to retrieve the experiment from the server
* '''experiments.manifest.cert.checkAttributes'''
* '''experiments.manifest.cert.checkAttributes'''
** If you're connecting to a development or local staging server, change this to false or the certificate authentication will fail when contacting the staging server  
** If you're connecting to a development or local staging server, change this to false or the certificate authentication will fail when contacting the staging server  
Confirmed users
924

edits