Closed Bug 1480204 Opened 3 years ago Closed 3 years ago

Count categories of event registration and recording failures

Categories

(Toolkit :: Telemetry, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: chutten, Assigned: chutten)

References

Details

Attachments

(1 file)

Registering events may fail. Recording events may fail.

We should count the number of times these things happen, split into categories of why (invalid identifiers, strings too long, `extra` object not an object, `extra` keys not in permitted list, ...).

One open question: should we also record non-fatal failures (like the truncation of `value` and `extra`'s values if they are longer than 80 bytes)? I'm leaning towards not doing so as I suspect they will dominate all other kinds of failure in frequency. But I'm open to being convinced.

This will require Data Collection Review as it will no doubt take the form of, let's say, two never-expiring categorical histograms in the TELEMETRY_* namespace, opt-out.
MozReview-Commit-ID: Ht3E4IcqAw8

bug 1480204 - Test registration failure probe r?janerik

MozReview-Commit-ID: 7PRdHJ9sDIg

bug 1480204 - Record when event recording fails r?janerik

MozReview-Commit-ID: 9m0GK4E6LNH

bug 1480204 - Test recording failure probe r?janerik

MozReview-Commit-ID: 2W9RQuGuklL
Priority: -- → P1
Comment on attachment 8997103 [details]
bug 1480204 - Record to a histogram counts of event registration errors, by type r?janerik

Jan-Erik Rediger [:janerik] has approved the revision.

https://phabricator.services.mozilla.com/D2677
Attachment #8997103 - Flags: review+
Pushed by chutten@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/218ec331cdec
Record to a histogram counts of event registration errors, by type r=janerik
https://hg.mozilla.org/mozilla-central/rev/218ec331cdec
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.