Closed Bug 1873956 Opened 2 years ago Closed 1 year ago

consider adding telemetry for crash report submissions success/failure and unsubmitted crash

Categories

(Toolkit :: Crash Reporting, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: willkg, Assigned: gerard-majax)

References

Details

Attachments

(1 file)

As we make changes to the crash reporter and to the collector, it would really help to have guardrail telemetry allowing us to see whether we've fixed things or made them worse.

For example, we periodically renew certificates and supporting Windows 7 users is tricky. It would be nice to know if we suddenly lost visibility on crash reports for Windows 7 users if we made a mistake renewing the certificate (wrong CA, etc).

For "failed to submit", the collector returns rejection codes:

https://socorro.readthedocs.io/en/latest/spec_crashreport.html#collector-response

Telemetry around "how many crash report submissions result in failure?" and "how often do we see which failure code?" would be really helpful.

We could use this to catch a number of problems we've experienced in the past including:

  • Malformed crash reports which would be refused (so we'd never see them)
  • Incomplete crash reports (same as above)
  • Discrepancies between the number of reported crashes and the crash rate (to check if we somehow broke the crash submission machinery)

In the front-end we could listen to the crash-report-status event to send telemetry, or wire it up directly in the CrashSubmit machinery.

For full browser crashes we have to wait for bug 1759175 to be ready (which should be soon) then we'll be able to use that as it will have Glean support.

See Also: → 1322097
Summary: consider adding telemetry for crash report submissions success/failure → consider adding telemetry for crash report submissions success/failure and unsubmitted crash
Assignee: nobody → lissyx+mozillians
Attachment #9405859 - Attachment description: WIP: Bug 1873956 - Add Glean telemetry for crash reports submission: success, failure, pending and reported errors → Bug 1873956 - Add Glean telemetry for crash reports submission: success, failure, pending and reported errors r?gsvelto!
Pushed by alissy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a62258923e8f Add Glean telemetry for crash reports submission: success, failure, pending and reported errors r=gsvelto
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Blocks: 1902600
Blocks: 1905633
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: