Closed Bug 1815316 Opened 2 years ago Closed 6 months ago

Add additional metrics to Glean crash ping to reach parity with Telemetry

Categories

(Toolkit :: Crash Reporting, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: afranchuk, Assigned: afranchuk)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This may necessitate new metrics types, e.g. for stack traces.

There are many ways to organize the metrics. For instance, the platform-specific ones could all be under crash.<platform>. However, I don't see much practical advantage to that, since they are all optional anyway. Another option is to group all the boolean flags together in a labeled_boolean metric (just for the sake of reducing verbosity), however that has a disadvantage of not having separate descriptions for each flag. So for now I'm mostly keeping everything as separate metrics, one for each Telemetry metadata entry (though maybe a few of those are no longer needed?).

As a first step I'd say we could add the annotations that were in the legacy crash ping minus the stack traces - which are the biggest hurdle.

Yeah I've essentially done that in my working copy. I'm currently missing stack traces, asyncShutdownTimeout, and the environment (which is a lot of info).

AFAIK the environment is important and it's one of the other sticky bits aside from the stack trace. Let's put that and the stack traces in separate bugs.

Depends on: 1830098
Depends on: 1831905
Depends on: 1839640
Pushed by afranchuk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2f9704b70a8a Fill out Glean crash pings with telemetry environment values r=gsvelto

Backed out with Bug 1830098 for causing bustage on metrics.rs related to brokenAddBlockers.

Pushed by afranchuk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f90352df3555 Fill out Glean crash pings with telemetry environment values r=gsvelto

Backed out for causing BR bustages

Backout link

Push with failures

Failure log

Flags: needinfo?(afranchuk)
Pushed by afranchuk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3dd9989d9e6 Fill out Glean crash pings with telemetry environment values r=gsvelto
Flags: needinfo?(afranchuk)
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Regressions: 1900442
See Also: → 1901035
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: