-
Notifications
You must be signed in to change notification settings - Fork 1.3k
For #11118: Add toggle states to metrics ping #11211
Conversation
Request for data collection review formAll questions are mandatory. You must receive review from a data steward peer on your responses to these questions before shipping new data collection.
|
Codecov Report
@@ Coverage Diff @@
## master #11211 +/- ##
============================================
+ Coverage 20.49% 20.55% +0.05%
Complexity 680 680
============================================
Files 372 372
Lines 15415 15478 +63
Branches 2075 2090 +15
============================================
+ Hits 3160 3182 +22
- Misses 11958 11994 +36
- Partials 297 302 +5
Continue to review full report at Codecov.
|
80ae8f2
to
37aa0c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data + code review r+wn
glad these are going to be collected in metrics ping rather than events!
Data Review Form (to be filled by Data Stewards)
- Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
Yes, updates metrics.md
- Is there a control mechanism that allows the user to turn the data collection on and off?
Yes, telemetry settings in Fenix
- If the request is for permanent data collection, is there someone who will monitor the data over time?
Expires
- Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Type 2, settings
- Is the data collection request for default-on or default-off?
default on
- Does the instrumentation include the addition of any new identifiers (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)?
No, app settings and accessibility settings
- Is the data collection covered by the existing Firefox privacy notice?
yes
- Does there need to be a check-in in the future to determine whether to renew the data? (Yes/No) (If yes, set a todo reminder or file a bug if appropriate)**
No, has expiry
- Does the data collection use a third-party collection tool? If yes, escalate to legal.
no
@@ -331,6 +331,11 @@ class Settings private constructor( | |||
default = false | |||
) | |||
|
|||
val useStandardTrackingProtection by booleanPreference( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, so did we not have this before?
It's a little weird that this isn't a radio preference...in theory does that mean that the settings could get messed up and more than one of these could be selected? 🤔 (out of scope for this bug I know)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me touch base with Emily about this. I think the Radio Group does prevent these from getting sent to multiple true vales.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah you could just use this logic without adding the new setting https://github.com/mozilla-mobile/fenix/blob/master/app/src/main/java/org/mozilla/fenix/components/TrackingProtectionPolicyFactory.kt#L30-L33
docs/metrics.md
Outdated
@@ -247,6 +247,21 @@ The following metrics are added to the ping: | |||
| perf.awesomebar.session_suggestions |[timing_distribution](https://mozilla.github.io/glean/book/user/metrics/timing_distribution.html) |Duration of a session awesomebar suggestion query. |[1](https://github.com/mozilla-mobile/fenix/pull/10276#pullrequestreview-411101979)||2020-09-15 | | |||
| perf.awesomebar.shortcuts_suggestions |[timing_distribution](https://mozilla.github.io/glean/book/user/metrics/timing_distribution.html) |Duration of a shortcuts awesomebar suggestion query. |[1](https://github.com/mozilla-mobile/fenix/pull/10276#pullrequestreview-411101979)||2020-09-15 | | |||
| perf.awesomebar.synced_tabs_suggestions |[timing_distribution](https://mozilla.github.io/glean/book/user/metrics/timing_distribution.html) |Duration of a synced tabs awesomebar suggestion query. |[1](https://github.com/mozilla-mobile/fenix/pull/10276#pullrequestreview-411101979)||2020-09-15 | | |||
| preferences.accessibility_services |[string_list](https://mozilla.github.io/glean/book/user/metrics/string_list.html) |Whether or not the user has touch exploration or switch services enabled default: "" |[1](https://github.com/mozilla-mobile/fenix/pull/11211)||2020-09-01 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank goodness for glean 🙏 and not having to write this manually
Pull Request checklist
After merge
To download an APK when reviewing a PR: