Open
Bug 1866543
Opened 2 years ago
Add telemetry support to error handling
Categories
(Application Services :: General, enhancement, P3)
Application Services
General
Tracking
(Not tracked)
NEW
People
(Reporter: markh, Unassigned)
Details
From github: https://github.com/mozilla/application-services/issues/5253.
We're at the point where we have expected errors that we don't think are really worth reporting to Sentry, but seem like they would be worth tracking in telemetry (#5237). I think we should add a system like this to handle them:
- Add a new
ApplicationErrorMetrics
callback interface with avoid count_error(string type_name)
method to errorsupport.udl- Add a
support/error/metrics.yaml
file with a single labeled counter metric.- In our android wrapper code, we implement
ApplicationErrorMetrics
by incrementing the Glean counter with the error type, and add a method that Fenix can call to hook it up.It would be way nicer to do all this in Rust, but I don't think we should wait for that.
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
You need to log in
before you can comment on or make changes to this bug.
Description
•