Closed Bug 2015389 Opened 9 months ago Closed 9 months ago

Add telemetry to monitor toolbox crashes

Categories

(DevTools :: General, task)

task

Tracking

(firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

We are tracking toolbox-crashes reports via bug 1981351, but it's hard to know if some fixes are actually having the expected impact.
We should probably add some telemetry to monitor the effectiveness of our fixes.

DevTools will show the AppErrorBoundary component whenever an error prevents from starting the toolbox, or breaks the rendering of a panel.

This component will present the user with the error message, the stacktrace and a button to file a bug prefilled with as much information as we can.

The goal of this bug is to also record those errors via glean so that we can monitor the evolution of issues, and potentially spot new errors earlier.

A practical example is Bug 2014753 where we see that a fix we did in Bug 2003810 did not fully resolve the issue. But we have no way of knowing if it still had a positive impact or if it was a wrong approach. Monitoring this with telemetry would help.

Should check if Sentry would be a better tool to collect such data.

Flags: needinfo?(jdescottes)
Whiteboard: [devtools-triage]

Discussed this on slack, for now we will try to use glean to record this data. Using sentry in firefox frontend seems like a bigger challenge, and it's probably not worth reviving for this specific issue.

Flags: needinfo?(jdescottes)
Assignee: nobody → jdescottes
Attachment #9544915 - Attachment description: Bug 2015389 - [devtools] Add telemetry for toolbox AppErrorBoundary → Bug 2015389 - [devtools] Add telemetry for toolbox AppErrorBoundary r=#devtools!
Status: NEW → ASSIGNED
Blocks: 2017908
Blocks: 2017909
Pushed by jdescottes@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/dd14a6d6a23a https://hg.mozilla.org/integration/autoland/rev/a759f745b7b5 [devtools] Add telemetry for toolbox AppErrorBoundary r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: