Closed Bug 1463101 Opened 8 years ago Closed 8 years ago

Instrument inspection of "Jump to Definition" in the Web Console with event telemetry

Categories

(DevTools :: Console, defect, P2)

57 Branch
defect

Tracking

(firefox63 fixed)

RESOLVED FIXED
Firefox 63
Tracking Status
firefox63 --- fixed

People

(Reporter: miker, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

No description provided.
Attachment #8979208 - Flags: review?(andrei.br92) → review?(francois)
Comment on attachment 8979208 [details] data-review.txt 1) Is there or will there be **documentation** that describes the schema for the ultimate data set available publicly, complete and accurate? Yes, Events.yaml. 2) Is there a control mechanism that allows the user to turn the data collection on and off? Yes, telemetry setting. 3) If the request is for permanent data collection, is there someone who will monitor the data over time?** Yes, Harald Kirschner. 4) Using the **[category system of data types](https://wiki.mozilla.org/Firefox/Data_Collection)** on the Mozilla wiki, what collection type of data do the requested measurements fall under? ** Category 2 5) Is the data collection request for default-on or default-off? Default on, all channels. 6) 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)? No. 7) Is the data collection covered by the existing Firefox privacy notice? Yes. 8) Does there need to be a check-in in the future to determine whether to renew the data? No, permanent.
Attachment #8979208 - Flags: review?(francois) → review+
Product: Firefox → DevTools
Events.yaml: devtools.main: jump_to_definition: objects: ["webconsole"] bug_numbers: [1463101] notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"] record_in_processes: ["main"] description: User has clicked "Jump to definition" in the web console. release_channel_collection: opt-out expiry_version: never session_id: The toolbox session start time e.g. 13963. Usage: this.telemetry.recordEvent("devtools.main", "jump_to_definition", "webconsole", null, { "session_id": toolbox.sessionId });
ni? Nicolas to prioritize this for 63.
Component: General → Console
Flags: needinfo?(nchevobbe)
Since the function rep where we do have "Jump to definition" icon uses a pretty generic prop given by the webconsole (viewSourceInDebugger), the telemetry.recordEvent call must be made directly in reps/function.js. Does this mean we need to first land the Events.yaml change in m-c, and then we can do the telemetry call in reps ? We'll also have a similar pattern in Bug 1463104
Assignee: nobody → nchevobbe
Flags: needinfo?(nchevobbe)
Forwarding the ni? to Mike
Flags: needinfo?(mratcliffe)
Yes, if you need to land stuff on github you will need to land the yaml changes on m-c first. The data requests are all r+ so if I was you I would log a new bug to land them all and do that in one go. Then you could focus on adding the actual telemetry.
Flags: needinfo?(mratcliffe)
Depends on: 1478366
Blocks: 1478556
Comment on attachment 8995056 [details] Bug 1463101 - Add a jump_to_definition telemetry probe; . https://reviewboard.mozilla.org/r/259540/#review267024 r+ with the fix. ::: toolkit/components/telemetry/Events.yaml:641 (Diff revision 1) > + notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"] > + record_in_processes: ["main"] > + description: User has clicked "Jump to definition" icon (next to logged functions) in the web console. > + release_channel_collection: opt-out > + expiry_version: never > + session_id: The toolbox session start time e.g. 13963. That should be: ``` extra_keys: session_id: The toolbox session start time e.g. 13963. ```
Attachment #8995056 - Flags: review?(mratcliffe) → review+
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/966a23472c2d Add a jump_to_definition telemetry probe; r=miker.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: