Closed Bug 1443560 Opened 6 years ago Closed 5 years ago

Register telemetry events statically

Categories

(Firefox :: Normandy Client, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 67
Tracking Status
firefox60 --- wontfix
firefox67 --- fixed

People

(Reporter: mythmon, Assigned: glasserc)

References

Details

Attachments

(2 files)

Normandy currently dynamically registers telemetry events. It does this because it used to be a system add-on that could be updated via go faster. With bug 1436113 landed, we no longer are an add-on, so no longer need dynamic registration.
Severity: normal → minor
Priority: -- → P3
Assignee: nobody → eglassercamp

Because the mock no longer checks whether the format of events is
correct, check the events that Telemetry actually records, in order to
make sure we conform to the event schema.

Some uses check that no calls were made to the stub. Although this
is technically still valid (because we don't care about the format of
events in this case), convert even these to check events for
consistency.

TelemetryTestUtils.assertEvents doesn't allow us to pass a message,
but most of these messages don't add anything useful and at least one
is just wrong so it's not a big loss.

Depends on D19540

Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ec979e0f73ce
register telemetry events statically r=Gijs
https://hg.mozilla.org/integration/autoland/rev/48d98388c29c
Convert checks to examine snapshotted events r=Gijs

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
Depends on: 1485569
See Also: → 1538793
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: