-
Notifications
You must be signed in to change notification settings - Fork 97
Conversation
Request for data collection review form/cc @chutten. All questions are mandatory. You must receive review from a data steward peer on your responses to these questions before shipping new data collection.
This enables telemetry from the Glean SDK and the firefox-accounts components.
We are currently using the
Current instrumentation is deprecated in favour of the Glean SDK.
With this proposal, no extra data is being collected that has not been data-reviewed already, or that is collected by default by the Glean SDK or the firefox-accounts component.
This data is collected as a pre-requisite for using the Glean SDK and firefox-accounts. The Lockwise team want to use these libraries on an ongoing basis.
Please describe in detail below. The populations included are the entire release population.
Data collection is default on for the populations not covered by the General Data Protection Regulation. A toggle setting in the settings screen is already provided.
The data collected will be used to inform product decisions using a series of queries on redash.
All analysis will be published on internal dashboards, via redash.
No. |
c6a1c21
to
c7321bc
Compare
docs/metrics.md
Outdated
@@ -179,14 +180,25 @@ https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/c | |||
* `value`: null | |||
* `extras`: null | |||
|
|||
## Mozilla Glean SDK | |||
|
|||
Lockwise for Android uses the [Glean SDK](https://mozilla.github.io/glean/book/index.html) to collect telemetry. The Glean SDK provides a handful of [pings and metrics out of the box](https://mozilla.github.io/glean/book/user/pings/index.html). The data review for using the Glean SDK is available at [this link](TODO). |
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.
This will need to be updated after the data review is complete.
docs/metrics.md
Outdated
|
||
|Name|Description|Collected metrics|Data review| | ||
|---|---|---|---| | ||
|[Firefox accounts](https://github.com/mozilla-mobile/android-components/tree/master/components/service/firefox-accounts)|A library for integrating with Firefox Accounts.| [docs](https://github.com/mozilla-mobile/android-components/blob/master/components/support/sync-telemetry/docs/metrics.md)| [review](TODO) | |
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.
This will need to be updated after the data review is complete.
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 taking time doing this. It looks good to me. I'm only holding back the "r+" as a reminder that data_review
links need to be adjusted after data review is provided.
As discussed, let's also deal with local developer telemetry/debug suffix id as soon as possible after merging this :)
Note Please re-flag me after data-review is complete and the PR is updated.
PRELIMINARY NOTES: DATA COLLECTION REVIEW RESPONSE:
Yes. The Glean SDK documents its collections in its book. (application-services does not appear to presently use the Glean SDK to send metrics)
Yes. This setting can be controlled from within the app.
Yes, David Durst is responsible.
Category 2, Interaction. (backgrounding the app is interaction)
Default on for all channels.
No.
Yes.
No. This collection is permanent. Result: datareview+ |
Travis shows me the error of my assumptions and points out that The Data Review passes regardless. |
* ensure uload enabled setting is respected before the initialization. * Include test to demonstrate this. * change the emphasis of Feature Flag so we can deprecate the legacy telemetry service. * Move telemetry service registeration dispatch events to `injectContext` so as to be switchable with Feature Flag.
c7321bc
to
01c8e65
Compare
Data-review+, with link to review in metrics.md.
* Add the Glean SDK as a dependency * Document the Glean SDK data collection * Add GleanTelemetryStore * Address Glean reviewer feedback * ensure uload enabled setting is respected before the initialization. * Include test to demonstrate this. * change the emphasis of Feature Flag so we can deprecate the legacy telemetry service. * Move telemetry service registeration dispatch events to `injectContext` so as to be switchable with Feature Flag. * Add link to data-review
This is the first part of #127.
This PR adds the Glean SDK as a dependency and enables it. It additionally adds basic documentation in the docs/metrics.md.
It replaces #1073.
It puts Glean in a
GleanTelemetryStore
and hooks it up to the setting for togglingsendUsageData
.It also puts this behind a
FeatureFlag
so we can still release without landing the rest of the Glean work.