Closed Bug 1570652 Opened 5 years ago Closed 5 years ago

Add startup.profile_selection_reason scalar to new profile ping

Categories

(Toolkit :: Telemetry, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox69 --- fixed
firefox70 --- fixed

People

(Reporter: janerik, Assigned: janerik)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

This bug is for implementing putting scalars into the new-profile-ping and adding the startup.profile_selection_reason to it (while also keeping it in the main ping).

Priority: P2 → P1
Attached file Data Collection Review
Attachment #9082950 - Flags: data-review?(chutten)

Here's the patch for adding scalars to the new profile ping as well as adding the one metric you want. I also did the data collection review request
However, the data is set to expire in version 72. That is rather soon. Do you want to extend it? If so I can just do that in the same patch and data collection review.

Flags: needinfo?(gkaberere)
Comment on attachment 9082950 [details]
Data Collection Review

Load balancing to tdsmith.
Attachment #9082950 - Flags: data-review?(chutten) → data-review?(tdsmith)
Comment on attachment 9082950 [details]
Data Collection Review

The answers to 3 and 4 are inconsistent (if you can answer this question with a SQL join, you can answer this question with current instrumentation) but this collection will avoid the cost of these queries.

1) Is there or will there be **documentation** that describes the schema for the ultimate data set in a public, complete, and accurate way?

Yes, in Scalars.yaml. I filed https://github.com/mozilla/probe-dictionary/issues/60 to additionally represent which stores probes are collected into in the probe dictionary.

2) Is there a control mechanism that allows the user to turn the data collection on and off?

Yes, the [Firefox telemetry opt-out](https://support.mozilla.org/en-US/kb/share-data-mozilla-help-improve-firefox). Users have a 30 minute window to disable telemetry before the new-profile ping is sent.

3) If the request is for permanent data collection, is there someone who will monitor the data over time?

n/a

4) Using the **[category system of data types](https://wiki.mozilla.org/Firefox/Data_Collection)** on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 2, interaction data.

5) Is the data collection request for default-on or default-off?

Default-on.

6) 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.

7) Is the data collection covered by the existing Firefox privacy notice?

Yes.

8) Does there need to be a check-in in the future to determine whether to renew the data? (Yes/No)

Jan-Erik and George are responsible for renewing the probe as needed.

9) Does the data collection use a third-party collection tool?

No.
Attachment #9082950 - Flags: data-review?(tdsmith) → data-review+

(In reply to Jan-Erik Rediger [:janerik] from comment #4)

Here's the patch for adding scalars to the new profile ping as well as adding the one metric you want. I also did the data collection review request
However, the data is set to expire in version 72. That is rather soon. Do you want to extend it? If so I can just do that in the same patch and data collection review.

Yeah I'd say we should extend it given how soon it's expiring. I'm not sure how the extension process works in terms of when to extend to / who decides. Let me know if I need to do involve someone and I will.

Flags: needinfo?(gkaberere)

From data stewardship's POV: extending it six months (about five versions) is typical.

Tim, would you be so kind to acknowledge the expiry extension in the data review. Thanks! (Nothing else in there changed, the code patch is also changed now)

Attachment #9085095 - Flags: data-review?(tdsmith)
Comment on attachment 9085095 [details]
Data Collection Review (with expiry extension)

Data Collection Review

Acknowledging the extension of the probe expiration to Fx 77.

1) Is there or will there be **documentation** that describes the schema for the ultimate data set in a public, complete, and accurate way?

Yes, in Scalars.yaml. I filed https://github.com/mozilla/probe-dictionary/issues/60 to additionally represent which stores probes are collected into in the probe dictionary.

2) Is there a control mechanism that allows the user to turn the data collection on and off?

Yes, the [Firefox telemetry opt-out](https://support.mozilla.org/en-US/kb/share-data-mozilla-help-improve-firefox). Users have a 30 minute window to disable telemetry before the new-profile ping is sent.

3) If the request is for permanent data collection, is there someone who will monitor the data over time?

n/a

4) Using the **[category system of data types](https://wiki.mozilla.org/Firefox/Data_Collection)** on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 2, interaction data.

5) Is the data collection request for default-on or default-off?

Default-on.

6) 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.

7) Is the data collection covered by the existing Firefox privacy notice?

Yes.

8) Does there need to be a check-in in the future to determine whether to renew the data? (Yes/No)

Jan-Erik and George are responsible for renewing the probe as needed.

9) Does the data collection use a third-party collection tool?

No.
Attachment #9085095 - Flags: data-review?(tdsmith) → data-review+
Pushed by jrediger@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4da46fd56311
Include scalars in new-profile ping r=chutten
https://hg.mozilla.org/integration/autoland/rev/674426059fcc
Add profile_selection_reason to the new-profile ping store r=chutten
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Comment on attachment 9082949 [details]
Bug 1570652 - Add profile_selection_reason to the new-profile ping store

Beta/Release Uplift Approval Request

  • User impact if declined: This data would be very beneficial to have in 69, before the Skyline release (70) to iron out any possible issues before that.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Landed in nightly last week and we verified data is coming in.
    The change itself is covered by automatic tests.
  • String changes made/needed:
Attachment #9082949 - Flags: approval-mozilla-beta?
Attachment #9082948 - Flags: approval-mozilla-beta?

(I shouldn't reopen bugs for uplift-requests, therefore closing again, uplift request stays relevant)

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED

Comment on attachment 9082948 [details]
Bug 1570652 - Include scalars in new-profile ping

Improves new-profile telemetry to help find issues ahead of the Skyline release. Approved for 69.0rc1.

Attachment #9082948 - Flags: approval-mozilla-beta? → approval-mozilla-release+
Attachment #9082949 - Flags: approval-mozilla-beta? → approval-mozilla-release+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: