Closed Bug 1636419 Opened 4 years ago Closed 4 years ago

There's no GC telemetry for mobile platforms

Categories

(Core :: JavaScript: GC, task, P1)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(6 files)

After talking to the telemetry team, it turns out we don't have any GC telemetry on mobile.

histograms.json specifies "fennec" and "geckoview" products for our telemetry histograms, but:

  • the "fennec" product doesn't work for us (not sure why)
  • the "geckoview" product has been deprecated and only applies to Focus now, as Fenix has migrated to new telemetry system based on Glean
  • Glean requires the "geckoview_streaming" product instead plus new entry in metrics.yaml

As a first step, add geckoview_streaming for GC_MS telemetry.

Assignee: nobody → jcoppeard
Status: NEW → ASSIGNED

(In reply to Jon Coppeard (:jonco) from comment #0)

histograms.json specifies "fennec" and "geckoview" products for our telemetry histograms, but:

  • the "fennec" product doesn't work for us (not sure why)

Pardon my fly-by :-) It doesn't work for you because Fennec is a totally different product/telemetry system than Fenix, so what the histogram.json definition is saying is: "Please collect this data for Fennec". When running in Fenix, unless otherwise stated, data is dropped to the floor.

Comment on attachment 9147589 [details]
Bug 1636419 - Add GC_MS telemetry to geckoview r?sfink

Requesting data review.

Attachment #9147589 - Flags: data-review?(alessio.placitelli)

Requesting data review.

Attachment #9147592 - Flags: data-review?(alessio.placitelli)
Attachment #9147589 - Flags: data-review?(alessio.placitelli)
Comment on attachment 9147592 [details]
data_collection_request.txt

I'm afraid I'm not a data-reviewer! The list of [data reviewers is here](https://wiki.mozilla.org/Firefox/Data_Collection). I redirected this to :chutten :-)
Attachment #9147592 - Flags: data-review?(alessio.placitelli) → data-review?(chutten)

(we are missing also all the CC metrics on Fenix)

Comment on attachment 9147592 [details]
data_collection_request.txt

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 [Histograms.json](https://hg.mozilla.org/mozilla-central/file/tip/toolkit/components/telemetry/Histograms.json) and the [Probe Dictionary](https://telemetry.mozilla.org/probe-dictionary/). The GeckoView portion is documented in [metrics.yaml](https://searchfox.org/mozilla-central/source/toolkit/components/telemetry/geckoview/streaming/metrics.yaml) and engine-gecko's [metrics documentation](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/engine-gecko-nightly/docs/metrics.md).

    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?

Yes, :jonco is responsible.

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

Category 1, Technical.

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

Default on for all channels.

    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?

No. This collection is permanent.

---
Result: datareview+
Attachment #9147592 - Flags: data-review?(chutten) → data-review+

(In reply to Chris H-C :chutten from comment #8)
Thanks for the quick review!

Keywords: leave-open
Depends on: 1637318
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/92debb8a68a6
Add GC_MS telemetry to geckoview r=sfink,Dexter
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8686fd3da6e7
Add GC_MS telemetry to geckoview r=sfink,Dexter
Flags: needinfo?(jcoppeard)

This adds data for the time taking by the different phases plus slice time.

Requesting data review.

Attachment #9150796 - Flags: data-review?(chutten)
Comment on attachment 9150796 [details]
data_collection_request_2.txt

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 and glean so is documented in its definitions file [Histograms.json](https://hg.mozilla.org/mozilla-central/file/tip/toolkit/components/telemetry/Histograms.json) and the [Probe Dictionary](https://telemetry.mozilla.org/probe-dictionary/) as well as in [metrics.yaml](https://hg.mozilla.org/mozilla-central/file/tip/toolkit/components/telemetry/geckoview/streaming/metrics.yaml) and the [engine-gecko metrics documentation](https://github.com/mozilla-mobile/android-components/tree/master/components/browser/engine-gecko-nightly/docs).

    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 in Firefox and is Glean so can be controlled through Fenix's Preferences in Fenix.

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

Yes, :jonco is responsible.

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

Category 1, Technical.

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

Default on for all channels.

    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?

No. This collection is permanent.

---
Result: datareview+
Attachment #9150796 - Flags: data-review?(chutten) → data-review+
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8fbcd4668bae
Enable main GC timing telemetry on geckoview r=sfink

Sadly I messed up the minor GC time telemetry by getting the unit wrong.

Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bd586dcc7733
Fix misconfigured geckoview telemetry r=sfink
Severity: -- → N/A
Priority: -- → P1

I missed this from the previous patch. It's covered by the previous data-review which says it's included.

Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bd587844f882
Add GC_MARK_MS telemetry on mobile too r=sfink
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Keywords: leave-open
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: