-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
90323a0
to
fcf92b7
Compare
app/src/main/java/org/mozilla/fenix/components/BackgroundServices.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/mozilla/fenix/components/metrics/Metrics.kt
Outdated
Show resolved
Hide resolved
b1292a9
to
851edb3
Compare
Let's add missing FxA telemetry. Closes #4971. 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.
How users are interacting with FxA in Fenix - creating an account, pairing, using auto-login. In addition, "system health" metrics were added to monitor general health of the implementation ("recovered", "other_external").
We need to provide our users with a seamless, robust and easy-to-use FxA experience, and these metrics help us understand if our implementation is working as expected, and which kinds of authentication flows users are following.
An alternative could be to rely FxA metrics, but these do not allow us to complete a coherent picture of what's going on in a local authentication funnel, and some of the key local events (account recovery, auto-login) are not visible outside of the local client.
No.
All data is Category 2.
This is scoped to a time-limited experiment/project until date "2020-03-01", at which point it'll be reviewed for renewal.
All release, beta, and nightly users with telemetry enabled.
This is part of events telemetry, so can be disabled via Data Collection settings.
Dashboards in redash (and amplitude?) from glean data.
Internally with the mobile teams, and on redash/aplitude.
N/A |
851edb3
to
8f1e7e9
Compare
8f1e7e9
to
920523a
Compare
Codecov Report
@@ Coverage Diff @@
## master #4931 +/- ##
=========================================
Coverage ? 12.55%
Complexity ? 258
=========================================
Files ? 248
Lines ? 10294
Branches ? 1520
=========================================
Hits ? 1292
Misses ? 8913
Partials ? 89
Continue to review full report at Codecov.
|
1b8820f
to
72ec700
Compare
Manual testing that I've done with various local builds of this:
|
Note: if you're testing this locally, it won't work until mozilla-mobile/android-components#4375 is available in the snapshot that Fenix is using. Easiest way is a local a-c build. |
72ec700
to
4d1e2a9
Compare
|
b7e1c7d
to
ab230e8
Compare
All right, codecov is better be happy now! For reviewing, I highly recommend reading commit with tests separately, as it does some refactoring to make things test-friendly. |
app/src/main/java/org/mozilla/fenix/customtabs/ExternalAppBrowserFragment.kt
Outdated
Show resolved
Hide resolved
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.
A few comments in-line, as long as they are addressed r+
Data-review only, not code review
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, added to metrics.yaml
and now that #5101 has landed, no longer needs updating to metrics.md
- Is there a control mechanism that allows the user to turn the data collection on and off?
Yes, glean telemetry is controlled by the Fenix data controls
- If the request is for permanent data collection, is there someone who will monitor the data over time?
No, expires 3/2020
- Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Type 2 user interactions w/ FxA auth, Type 1 for auto-auth
- 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
- 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?
No
app/src/main/java/org/mozilla/fenix/components/metrics/GleanMetricsService.kt
Show resolved
Hide resolved
Thank you, @liuche. This just needs a code review, and a minor change now that mozilla/fxa#2491 landed and we can fully disable a "choose what to sync" selection during sign-up. |
Depends on mozilla-mobile/android-components#4412 |
Just making sure you're planning on addressing my two comments. |
b4124b6
to
55b86e5
Compare
mozilla-mobile/android-components#4412 landed. "choose what to sync" capability defaults to |
55b86e5
to
dffa1ba
Compare
@ekager i've addressed your comment RE |
This patch includes: - WebChannels support enabled by default, with ability to disable it via remote flag - expanded FxA telemetry (closes mozilla-mobile#4971) Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
dffa1ba
to
2977e8e
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.
Thanks for addressing my comment!
This patch includes: