Open Bug 1423446 Opened 7 years ago Updated 2 years ago

[meta] Remove content process from probes only recorded in parent

Categories

(Toolkit :: Telemetry, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: frank, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta, Whiteboard: [measurement:client:project])

Attachments

(2 files)

Running some analysis, I found that for 20171201, not a single ping reported SUBPROCESS_CRASHES_WITH_DUMP for the content process [0]. :chutten confirmed that it is chrome-only.

Can we remove content for other crash-related probes as well?

[0a] https://screenshots.firefox.com/31LIVpX0pRSsQC6O/dbc-caf9527b-e073.cloud.databricks.com
[0b - Databricks] https://dbc-caf9527b-e073.cloud.databricks.com/#notebook/3829/command/3833
We can likely remove it from _many_ probes. ["main", "content"] was a default value populated to nearly all probes when it became a required field in bug 1335343.

Anything that runs in ipc/glue/CrashReporterHost.cpp is a good candidate for ["main"]. Ditto anything recorded from ContentParent, most jsms, and and and...
In the interest of looking into this a bit more, I found all the probes that only reported the parent process from submission dates 20171201-20171205, running nightly 57 from the aggregates dataset.

Note that this includes many keyed histograms (each key is a row), as well as simple measures.
For posterity, here is the query I ran. We can easily look at more dates, builds, or versions.
Simple measurements have no registry, but they are reported on childPayloads. I'd expect there to be data from those, unless the aggregator's never done it and I just haven't noticed.
(In reply to Chris H-C :chutten from comment #4)
> Simple measurements have no registry, but they are reported on
> childPayloads. I'd expect there to be data from those, unless the
> aggregator's never done it and I just haven't noticed.

There are some that are not present there, e.g. totalTime, uptime, and UITelemetry (e.g. these must have had non-parent processes, or they just weren't reported at all during the period?)

Not to worry, we do aggregate content simple_measures: https://github.com/mozilla/python_mozaggregator/blob/master/mozaggregator/aggregator.py#L298
See Also: → 1423715
We can break this out into a few mentored bugs.
Blocks: 1201022
Keywords: meta
Priority: -- → P3
Summary: Remove content process from SUBPROCESS_CRASHES_WITH_DUMP → [meta] Remove content process from probes only recorded in parent
Whiteboard: [measurement:client:project]
Depends on: 1425343
Depends on: 1425345
Depends on: 1425348
Hello, I am interested in working on this. Can you give me some pointers on where to start?
Depends on: 1430603
This is a meta bug: a bug that coordinates other bugs. The actual work will happen in other bugs from within the "Depends on" list. I have just filed a new one, bug 1430603, that you are welcome to volunteer for, if you'd like.
Depends on: 1442061

This was done with some of the tab spinner probes in bug 1476071

Depends on: 1476071
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: