Add urlbar event telemetry behind a pref
Categories
(Firefox :: Address Bar, task, P1)
Tracking
()
People
(Reporter: mak, Assigned: mak)
References
()
Details
(Whiteboard: [sci-exclude])
Attachments
(3 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
2.14 KB,
text/plain
|
mmccorquodale
:
data-review+
|
Details |
45.90 KB,
patch
|
RyanVM
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Measure the time from the first user input to the execution of an action in the urlbar.
Assignee | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
On Monday I'll file the data-review.
Assignee | ||
Comment 6•5 years ago
|
||
Ryan, please also check the Events.yaml definitions provided in the patch.
In particular, this will generate events like:
urlbar#engagement#click
urlbar#engagement#enter
urlbar#engagement#drop_go
urlbar#engagement#paste_go
urlbar#abandonment#blur
The value of these events is the type of initial interaction: "typed", "pasted", "dropped", "topsites"
Ancillary data is: elapsed time, number of characters, selection index, selection type (the last 2 are not defined for abandonments)
Afaict, we generate scalars counting the number of these events, even if recording is disabled. Recording can be enabled flipping the browser.urlbar.eventTelemetry.enabled pref (disabled by default).
Comment 7•5 years ago
|
||
Data stewardship programming note: please flag one of the data stewards listed at https://wiki.mozilla.org/Firefox/Data_Collection for data-review; thanks!
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
Assignee | ||
Comment 10•5 years ago
|
||
Ryan, could you please still check the event covers all of your needs please?
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
bugherder |
Comment 15•5 years ago
|
||
Thanks, Mak. Teon's probably the right person to review the telemetry form, but I can take a look as well. I'm having a hard time interpreting the events.yaml file. Can you include some example pings in this bug?
Assignee | ||
Comment 16•5 years ago
|
||
I think the description I made in comment 6 covers it pretty much, it's one of those events, with a value and an extra object. All the values (also in extra) are strings, per event telemetry requirement.
Tomorrow nightly can be used to try recording events, by setting the pref.
If you have an example of another bug where the kind of ping you want to see was generated, I'm happy to look into doing that.
Assignee | ||
Comment 17•5 years ago
|
||
I'll also file a bug to add in-tree documentation explaining each value.
Updated•5 years ago
|
Assignee | ||
Comment 18•5 years ago
|
||
Comment on attachment 9079086 [details]
Bug 1559136 - Add urlbar event telemetry behind a pref. r=adw
Beta/Release Uplift Approval Request
- User impact if declined: No user impact, we need this measurement for experiments that we plan to run from Firefox 69 on.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce: It's not necessary because it's not user-facing
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Event recording is behind a pref, disabled by default. The added methods are no-op when the pref is disabled and they are built to never throw. It will have no impact at all until we enable it for specific experiments population.
- String changes made/needed:
Updated•5 years ago
|
Assignee | ||
Comment 20•5 years ago
|
||
Updated•5 years ago
|
Comment 21•5 years ago
|
||
Comment 22•5 years ago
|
||
bugherder uplift |
Assignee | ||
Comment 23•5 years ago
|
||
I'll move the discussion with data-science to a new bug.
Description
•