Add telemetry to monitor toolbox crashes
Categories
(DevTools :: General, task)
Tracking
(firefox149 fixed)
| 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.
| Assignee | ||
Comment 1•9 months ago
|
||
Should check if Sentry would be a better tool to collect such data.
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 2•9 months ago
|
||
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.
| Assignee | ||
Comment 3•9 months ago
|
||
Updated•9 months ago
|
Comment 5•9 months ago
|
||
| bugherder | ||
Updated•9 months ago
|
Description
•