-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Privacy Preserving Product Analytics (P3A) #6285
Comments
Fixed with brave/brave-core#3242 |
Adding |
Removing |
@bsclifton Can we update the wiki to reflect the values for Q.5 as below?
|
Proposed general P3A test plan:
cc @bsclifton could you review the above and let me know if there any additions/changes you think should be made? |
@GeetaSarvadnya yes! I just updated, let me know what you think: |
@LaurenWags LGTM! 👍 |
Verification passed on
Verified passed with
Verification passed on
|
Description
The implementation of Privacy Preserving Product Analytics (P3A) landed with brave/brave-core#3242
More details on our blog here:
https://brave.com/privacy-preserving-product-analytics-p3a/
Detailed list of the questions here:
https://github.com/brave/brave-browser/wiki/P3A
Follow ups captured with:
#6284
Android side captured with:
#6176
Test plan
There is a bunch of command-line switches suitable to simplify the testing process (see https://github.com/brave/brave-core/blob/master/components/p3a/brave_p3a_switches.h), as well as detailed logs enabled as follows
--vmodule=*/p3a/*=3 --enable-logging=stderr
The possible command-line for testing might look as follows:
brave --vmodule=*/p3a/*=3 --enable-logging=stderr --p3a-upload-interval-seconds=5 --p3a-rotation-interval-seconds=160 --p3a-upload-server-url="http://127.0.0.1/" --p3a-ignore-server-errors --p3a-do-not-randomize-upload-interval
This way, we decrease the interval between sending values, disable randomization of this interval, and decrease the interval between restarting the whole process from 1 week to 160 seconds. Note that there is an initial silent period of 60 seconds (probably we should also add a switch to disable it). Also, in case of unsuccessful upload there is a retry logic with backoff interval of 5 seconds multiplied by 2 after each upload failure.
Last recorded values are saved in local state and can be found by
p3a
key onbrave://local-state
The text was updated successfully, but these errors were encountered: