Closed Bug 1835151 Opened 1 year ago Closed 1 year ago

Do not increment an error on an empty event context in TF glean

Categories

(Firefox :: Messaging System, task, P1)

task

Tracking

()

RESOLVED FIXED
116 Branch
Iteration:
116.1 - June 5 - June 16
Tracking Status
firefox116 --- fixed

People

(Reporter: perry.mcmanis, Assigned: perry.mcmanis)

Details

Attachments

(1 file, 1 obsolete file)

So, it turns out that the way that we're being fed empty event contexts is incrementing the error on that field in a way we did not expect.

We should do a couple of checks to make sure this field isn't empty from a human perspective, because we're getting more JSON parse errors than we potentially expected.

Summary: Do not increment an error on a completely empty event context in TF glean → Do not increment an error on an empty event context in TF glean

Note that we'll still get a lot of errors for event_context values that are valid, but aren't valid JSON (values like "whats-new-panel" which is a bare string, not a JSON-encoded string (which would be "\"whats-new-panel\"")). This count of parser errors will still be weak evidence that anything's gone wrong with the data.

Attachment #9336838 - Attachment is obsolete: true

Here is a potential improvement to handling of event_context parse
errors.

Severity: -- → S4
Iteration: --- → 116.1 - June 5 - June 16
Component: Telemetry → Messaging System
Priority: -- → P1
Product: Toolkit → Firefox
Attachment #9336891 - Attachment description: Bug 1835151 - Do not increment an error on an empty event context in glean r?dmose → Bug 1835151 - Improve the usefullness of Event Context Parse Errors in glean r?dmose
Attachment #9336891 - Attachment description: Bug 1835151 - Improve the usefullness of Event Context Parse Errors in glean r?dmose → Bug 1835151 - Do not increment an error on an empty event context in glean r?dmose
Attachment #9336891 - Attachment description: Bug 1835151 - Do not increment an error on an empty event context in glean r?dmose → Bug 1835151 - Improve the usefullness of Event Context Parse Errors in glean r?dmose
Pushed by pmcmanis@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/83ed2e01cccb Improve the usefullness of Event Context Parse Errors in glean r=omc-reviewers,aminomancer
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: