question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Privacy Preserving Product Analytics (P3A)

See original GitHub issue

Description

The implementation of Privacy Preserving Product Analytics (P3A) landed with https://github.com/brave/brave-core/pull/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: https://github.com/brave/brave-browser/issues/6284

Android side captured with: https://github.com/brave/brave-browser/issues/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 on brave://local-state

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bscliftoncommented, Dec 3, 2019

@LaurenWags LGTM! 👍

1reaction
bscliftoncommented, Dec 3, 2019

@GeetaSarvadnya yes! I just updated, let me know what you think: https://github.com/brave/brave-browser/wiki/P3A

Read more comments on GitHub >

github_iconTop Results From Across the Web

Privacy-Preserving Product Analytics (P3A) - Brave Browser
P3A doesn't collect any personal information. · Every so often, in the background, the browser sends reports containing simple, non-identifying ...
Read more >
Brave launches Privacy-Preserving Product Analytics (P3A)
Brave launches Privacy-Preserving Product Analytics (P3A). r/BATProject - Brave launches Privacy-Preserving Product Analytics (P3A).
Read more >
Brave browser: less privacy-respectful than I was expecting
Allow privacy-preserving product analytics (P3A). This completely anonymised info helps Brave estimate the overall usage of certain features ...
Read more >
Pin on Mining Bitcoin - Pinterest
Privacy -Preserving Product Analytics (P3A). Brave is a browser that allows you to support creators without the fear of demonetization.
Read more >
Privacy-Preserving Product Analytics (P3A) - Hacker News
Privacy -Preserving Product Analytics (P3A) (brave.com). 1 point by scarhill on Dec 16, 2019 | hide | past | favorite ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found