Confirmed users
924
edits
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Quick Summary = | = Quick Summary = | ||
The following document will list all the | The following document will list all the important about:config preferences that are used when installing a telemetry experiment. If there's anything missing from the list that should be included, please don't hesitate to contact me or add it yourself! | ||
= Setting about:config Preferences = | = Setting about:config Preferences = | ||
Line 7: | Line 7: | ||
'''Quick Note:''' Some of these are not listed in about:config and will need to be created manually | '''Quick Note:''' Some of these are not listed in about:config and will need to be created manually | ||
* '''devtools.chrome.enabled''' | |||
** enables browser chrome and add-on debugging toolboxes | |||
* '''experiments.activeExperiment''' | * '''experiments.activeExperiment''' | ||
** Indicates if there's an experiment currently active/installed | ** Indicates if there's an experiment currently active/installed | ||
* '''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 | ** '''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 | ||
Line 21: | Line 28: | ||
* '''experiments.manifest.uri''' | * '''experiments.manifest.uri''' | ||
** Points to the manifest .JSON file that will be used to download and set the experiment | ** Points to the manifest .JSON file that will be used to download and set the experiment | ||
* '''experiments.manifest.fetchIntervalSeconds''' | |||
** Number of seconds before Firefox fetches the experiment manifest | |||
* '''extensions.bootstrappedAddons''' | |||
** Ensure that experiments are not being added into this preference under about:config. This preference is the quick access cache that's used on startup to see what bootstrap extension to load when Firefox initially launches. This should only be listing currently installed add-ons in a JSON format |