Closed Bug 1605218 Opened 4 years ago Closed 4 years ago

Add telemetry for large window actor messages that we didn't send

Categories

(Core :: DOM: Content Processes, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(2 files)

I'm splitting this out because I think we don't need this on beta right now.

Collecting this telemetry will let us fix the large messages, if they
are common.

Attachment #9117096 - Flags: data-review?(nshadowen)

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:mccr8, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(continuation)

Thanks for your patience.

I have a few questions in order to complete data-review.

  1. Are we estimating that this collection will start now (01/06/2020) and end on 03/31/2021?
  2. Is this collection opt-in for the duration for all populations - beta and nightly?
  3. double-checking: Do the names of large JS window actor IPC messages we intend to collect ever contain actual categorical information about the content of the messages (in addition to operations being performed)?
  4. Can the IPC message name be directly linked to the web page that might have caused it in telemetry?

Once I have these answers, I will double check with the team and complete data-review.

Feel free to message me directly on slack if it's easier to discuss. @nicole

Thanks!

(In reply to Nicole Shadowen from comment #4)

  1. Are we estimating that this collection will start now (01/06/2020) and end on 03/31/2021?

I think it will end sooner than that. I set it to expire in Firefox 83, which will be in Nightly in September 2020, it looks like. This is fairly arbitrary.

  1. Is this collection opt-in for the duration for all populations - beta and nightly?

From the scalars documentation it sounds like the default for "release_channel_collection" is "opt-in": "With the former the scalar is submitted by default on pre-release channels, unless the user has opted out." I guess Beta counts as pre-release?

  1. double-checking: Do the names of large JS window actor IPC messages we intend to collect ever contain actual categorical information about the content of the messages (in addition to operations being performed)?

This question and the next are a little bit tricky to answer, because the message name is just a string, and they are used in a lot of places. In theory, a Firefox engineer could add whatever sort of bad thing as a message name. However, in practice I've only ever seen hard-coded strings like "Browser:CertExceptionError" that don't depend on the content of the message. I looked over the all of the places that send the message, sendAsyncMessage and sendQuery and they all seemed to be hard coded.

  1. Can the IPC message name be directly linked to the web page that might have caused it in telemetry?

I can't imagine anybody actually putting URL information into a message name.

Flags: needinfo?(continuation)

Hi, is there anything else you need from me here to move forward with the data review? Thanks.

Flags: needinfo?(nshadowen)
Comment on attachment 9117096 [details]
data collection request

DATA COLLECTION REVIEW RESPONSE:

    Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes. This collection is Telemetry so is documented in its definitions file [Scalars.yaml](https://hg.mozilla.org/mozilla-central/file/tip/toolkit/components/telemetry/Scalars.yaml) and the [Probe Dictionary](https://telemetry.mozilla.org/probe-dictionary/).

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

Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.

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

No. This collection will expire in Firefox 83, which will be in Nightly in September 2020.

    Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 2, Interaction.

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

Default-on for pre-release channels only (Beta & Nightly), default-off (opt-in) for release.

    Does the instrumentation include the addition of any new identifiers?

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. :mccr8 is responsible for renewing or removing the collection before it expires in Firefox 83.

---
Result: datareview+
Flags: needinfo?(nshadowen)
Attachment #9117096 - Flags: data-review?(nshadowen) → data-review+
Attachment #9117092 - Attachment description: Bug 1605218 - Add telemetry for large window actor messages that we didn't send. → Bug 1605218 - Add telemetry for large window actor messages that we didn't send. data-review=nshadowen
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2e3c469a4ee2
Add telemetry for large window actor messages that we didn't send.  data-review=nshadowen r=jdai
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
See Also: → 1661384
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: