Commit Graph

9 Commits

Author SHA1 Message Date
Georg Fritzsche
9385f14125 Bug 1302681 - Part 1: Extend Event Telemetry core for recording from addons. r=dexter
To cut down on complexity, we don't require specifying any expiry versions.
Given that these events will be recorded non-persistently from off-train add-ons, they can be expired by shipping new add-on releases.

We also start to use the new "record on release" terminology here instead of opt-in/opt-out, but are not changing the internal functionality yet.

Technically, this is implemented by keeping a separate registry for the dynamic event information.
Built-in & dynamic events are tracked with separate numeric ids, so introduce a common identifier for both, an EventKey.
For actual event storage, the events are treated the same as built-in events. They are simply bucketed into the 'dynamic' process storage.
This approach ends up duplicating code paths that use the event info, but keeps a single implementation for recording, storage & serialization.
2017-08-03 07:03:00 -04:00
Georg Fritzsche
d8b6b7d1e8 Bug 1313326 - Part 2 - Restrict event recording to specified processes. r=dexter 2017-03-06 16:12:49 +01:00
Sebastian Hengst
f464fc5724 Backed out changeset 223a0be48369 (bug 1313326) 2017-03-01 19:47:19 +01:00
Georg Fritzsche
ab4191da5a Bug 1313326 - Part 2: Restrict event recording to specified processes. r=dexter 2017-02-15 16:59:42 +01:00
Georg Fritzsche
6509220740 Bug 1302663 - Part 1 - Add script to generate headers with event data from Events.yaml. r=dexter 2016-11-18 15:51:58 +01:00
Carsten "Tomcat" Book
277cde6ebd Backed out changeset 5c047b770037 (bug 1302663) for eslint failures 2016-11-18 14:29:03 +01:00
Georg Fritzsche
b82f2a6a5b Bug 1302663 - Part 1 - Add script to generate headers with event data from Events.yaml. r=dexter 2016-11-18 13:03:58 +01:00
Sebastian Hengst
527e0ad612 Backed out changeset ac12dbbe7b63 (bug 1302663) for leaks and eslint failure. r=backout 2016-11-12 21:18:23 +01:00
Georg Fritzsche
28979c0a42 Bug 1302663 - Part 1 - Add script to generate headers with event data from Events.yaml. r=dexter 2016-11-13 01:52:28 +07:00