Closed Bug 1513969 Opened 5 years ago Closed 5 years ago

Add telemetry to track the active time usage of the grid highlighter

Categories

(DevTools :: Inspector, enhancement, P3)

enhancement

Tracking

(firefox66 fixed)

RESOLVED FIXED
Firefox 66
Tracking Status
firefox66 --- fixed

People

(Reporter: gl, Assigned: gl)

Details

Attachments

(2 files)

      No description provided.
This is add telemetry that will measure how long the grid highlighter is ON for (however or how many grid highlighters are activated). If 1 or more highlighter are active, we count the time up, and if 0 are active we don’t. So the actual number of enabled highlighters doesn’t matter.
Attachment #9031230 - Flags: review?(pbrosset)
Attached file data-review.txt
Attachment #9031232 - Flags: review?(chutten)
Attachment #9031232 - Flags: feedback?(mbalfanz)
Attachment #9031232 - Flags: feedback?(mbalfanz) → feedback+
Comment on attachment 9031230 [details] [diff] [review]
1513969.patch [1.0]

Review of attachment 9031230 [details] [diff] [review]:
-----------------------------------------------------------------

::: devtools/client/inspector/shared/highlighters-overlay.js
@@ +43,5 @@
>      // associated with any NodeFront.
>      this.extraGridHighlighterPool = [];
>  
> +    // Boolean flag to keep track of whether or not the telemetry timer for the grid
> +    // highlighter active time is active. We keep track of this because an existing timer

I suggest rephrasing this a bit. I don't find the last sentence very clear.

We keep track of this to avoid re-starting a new timer when an additional grid highlighter is turned on.
Attachment #9031230 - Flags: review?(pbrosset) → review+
Comment on attachment 9031232 [details]
data-review.txt

DATA COLLECTION REVIEW RESPONSE:

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

This collection is Telemetry so it is documented in its definition file (Histograms.json), in the Probe Dictionary, and on telemetry.mozilla.org's Measurement Dashboards.

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

Yes. This collection is Telemetry so is controlled by Firefox's Preferences.

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

Yes. :mbalfanz will monitor.

    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 all channels.

    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.

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

Yes.

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

No. The collection is permanent.

---
Result: datareview+
Attachment #9031232 - Flags: review?(chutten) → review+
Pushed by gabriel.luong@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ea3d28129f1d
Add telemetry to track the active time usage of the grid highlighter. r=pbro
https://hg.mozilla.org/mozilla-central/rev/ea3d28129f1d
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: