Closed Bug 990741 Opened 10 years ago Closed 10 years ago

Add telemetry to eyedropper

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 37

People

(Reporter: harth, Assigned: harth)

References

Details

Attachments

(1 file, 1 obsolete file)

We should track how often the eyedropper tool is opened with telemetry.
Assignee: nobody → jsantell
Assignee: jsantell → nobody
Assignee: nobody → fayearthur
I'm working on this and have it working, but I'm still thinking about how to split up the histograms.

What I want to do is measure how often people open the picker from the button, menu, and color picker. Right now I have a separate measure for each of them:

"DEVTOOLS_BUTTON_EYEDROPPER_OPENED_BOOLEAN"
"DEVTOOLS_BUTTON_EYEDROPPER_OPENED_PER_USER_FLAG"

"DEVTOOLS_PICKER_EYEDROPPER_OPENED_BOOLEAN"
"DEVTOOLS_PICKER_EYEDROPPER_OPENED_PER_USER_FLAG"

"DEVTOOLS_MENU_EYEDROPPER_OPENED_BOOLEAN"
"DEVTOOLS_MENU_EYEDROPPER_OPENED_PER_USER_FLAG"

Jeff, will this pollute the data too much? Should we have one measure for no matter how they open an eyedropper instance, or keep them separate like this and just add them up if we want to get a total measure?
Flags: needinfo?(jgriffiths)
Looks good to me to keep them separate, I think we can still sum them to get an overall impression of eyedropper use, at least for a while.
Flags: needinfo?(jgriffiths)
This patch adds telemetry to the eyedropper, with separate measures for if its opened via the toolbox button, color picker button, or devtools menu. It does not track how much time it's been open as this is an open-and-close kind of tool.
Attachment #8524841 - Flags: review?(mratcliffe)
Comment on attachment 8524841 [details] [diff] [review]
Add telemetry to eyedropper: button, color picker button, menu item

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

Perfect, r+ assuming we have a green try for this.
Attachment #8524841 - Flags: review?(mratcliffe) → review+
Gonna wait for bug 1098374 and rebase.
Depends on: 1098374
Keywords: checkin-needed
https://hg.mozilla.org/integration/fx-team/rev/8844ff2afebc
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/8844ff2afebc
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 37
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: