Closed Bug 1495910 Opened 3 years ago Closed 3 years ago

telemetry - add an event for recording


(Core Graveyard :: Web Replay, enhancement)

Not set


(firefox64 fixed)

Tracking Status
firefox64 --- fixed


(Reporter: jlast, Assigned: bhackett1024)


(Blocks 1 open bug)



(2 files)

We should add a telemetry event for every time a recording tab is created, this will tell us how often web replay is used in the wild.
Attached patch patchSplinter Review
This patch adds telemetry for how often the various menu actions are used.  I verified this locally in about:telemetry (except for devtools.webreplay.stop_recording, which doesn't seem to be exposed in the UI yet), though there isn't test coverage as we don't have any tests operating on the menu items directly.
Assignee: nobody → bhackett1024
Attachment #9017881 - Flags: review?(lsmyth)
Data collection request form for the new telemetry counters.
Attachment #9017882 - Flags: review?(chutten)
Comment on attachment 9017881 [details] [diff] [review]

Review of attachment 9017881 [details] [diff] [review]:

Adding :janerik to review the use of Telemetry.
Attachment #9017881 - Flags: review?(jrediger)
Comment on attachment 9017882 [details]
data collection request

Preliminary notes:
For permanent collections you may wish to consider having automated tests. Without a renewal cycle ensuring that someone checks on the probes to make sure stray code changes haven't broken them, untested collections could break without being noticed.


    Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate? 

Yes. Standard Telemetry mechanisms apply.

    Is there a control mechanism that allows the user to turn the data collection on and off? 

Yes. Standard Telemetry mechanisms apply.

    If the request is for permanent data collection, is there someone who will monitor the data over time?

Yes, :bhackett.

    Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under? 

Category 2, Interaction.

    Is the data collection request for default-on or default-off?

Default on for pre-release channels only.

    Does the instrumentation include the addition of any new identifiers (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)?


    Is the data collection covered by the existing Firefox privacy notice?


    Does there need to be a check-in in the future to determine whether to renew the data?

N/A Permanent collection.

Result: datareview+
Attachment #9017882 - Flags: review?(chutten) → review+
Attachment #9017881 - Flags: review?(jrediger) → review+
Attachment #9017881 - Flags: review?(lsmyth) → review+
Pushed by
Add telemetry for record/replay menu items, r=lsmyth,janerik.
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.