Closed
Bug 2017318
Opened 2 months ago
Closed 2 months ago
Investigate size of main_v5's additional_properties
Categories
(Toolkit :: Telemetry, task, P1)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
150 Branch
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: chutten, Assigned: chutten)
References
Details
(Whiteboard: [fog-migration])
Attachments
(3 files)
The most expensive "probe" in main_v5 is additional_properties, the column that accepts all data that doesn't otherwise fit in a column.
What's in there? Why is it so big?
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
"main" pings have a lot of data defaulting to additional_properties. Basically all of them have something in there. Some common themes I've found so far:
simpleMeasurementsmissing columns: allsimpleMeasurementsaside fromactive_ticks,blank_window_shown,first_paint,main,session_restored, andtotal_timeare not manually added as columns and so end up inadditional_properties. (There are a lot of other simple measurements. All of which are being collected via Glean since bug 1972836)- "extension" process missing columns. The "extension" process is a special kind of "content" process: its process type is
GeckoProcessType_Content. But Telemetry is process-aware and wanted to keep "extension" process data away from the rest of web content. So when data recorded on a "content" process reaches IPC, it uses the process'mRemoteTypeto detect whether it's a "true" "content" process, or whether it's really an "extension" process. HOWEVER, this doesn't go all the way through Telemetry as there is no way in a probe definition to specify "content" vs "extension". So, though a probe says something like"record_in_processes": ["main", "content"],what that means is that the probe is recorded in processes of types"main","content", and"extension". However, mozilla-schema-generator doesn't know that and hasn't in the 7 years since we migrated away from AWS. So the only column inpayload.processes.extension.histogramsisuptake_remote_content_result_1.- This is by far the biggest contributor to the size of
additional_propertiesthat I've found thus far.
- This is by far the biggest contributor to the size of
- "utility" process missing columns. When "utility" process support was added in bug 1794409, there was no corresponding change in mozilla-schema-generator. So any and all Legacy Telemetry probes recorded on that process have never had columns.
| Assignee | ||
Comment 2•2 months ago
|
||
| Assignee | ||
Comment 3•2 months ago
|
||
This doesn't stop recording Legacy Telemetry in extension processes,
just the reporting of it.
| Assignee | ||
Comment 4•2 months ago
|
||
This doesn't stop recording Legacy Telemetry in utility processes, just the
reporting of it.
Pushed by chutten@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/c99f38fb7b43
https://hg.mozilla.org/integration/autoland/rev/60d69cf1a517
Remove simpleMeasurements that the pipeline doesn't have columns for r=extension-reviewers,sessionstore-reviewers,TravisLong,rpl,nsharpley
https://github.com/mozilla-firefox/firefox/commit/a292048b69f0
https://hg.mozilla.org/integration/autoland/rev/b7bfde1fdec0
Don't report Legacy extension-process telemetry since the pipeline doesn't have columns for it r=TravisLong
https://github.com/mozilla-firefox/firefox/commit/46b064817276
https://hg.mozilla.org/integration/autoland/rev/516a72ddcfc5
Don't report Legacy utility-process telemetry since the pipeline doesn't have columns for it r=TravisLong
https://hg.mozilla.org/mozilla-central/rev/60d69cf1a517
https://hg.mozilla.org/mozilla-central/rev/b7bfde1fdec0
https://hg.mozilla.org/mozilla-central/rev/516a72ddcfc5
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox150:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in
before you can comment on or make changes to this bug.
Description
•