Closed Bug 1336051 Opened 9 years ago Closed 9 years ago

[telemetry] inspector toolsidebar logs too many toolOpened events

Categories

(DevTools :: Inspector, enhancement, P3)

enhancement

Tracking

(firefox54 fixed)

RESOLVED FIXED
Firefox 54
Tracking Status
firefox54 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

Details

Attachments

(1 file)

STRs: - (first you need some way to log telemetry logs) - open devtools - switch to inspector if inspector was not selected (assuming the ruleview tab was selected in the inspector, but the same issue holds for any panel) ER: Should have one DEVTOOLS_RULEVIEW_OPENED_COUNT event logged AR: Two DEVTOOLS_RULEVIEW_OPENED_COUNT events are logged Other STRs: - open devtools - switch to inspector if inspector was not selected - click on the already selected sidebar tab X times ER: Should have one DEVTOOLS_RULEVIEW_OPENED_COUNT event logged AR: X+2 DEVTOOLS_RULEVIEW_OPENED_COUNT events are logged The inspector toolsidebar should be improved to log telemtry events only when the current tool actually changes.
Comment on attachment 8832834 [details] Bug 1336051 - fix telemetry logging for inspector toolsidebar; https://reviewboard.mozilla.org/r/109084/#review110564 The patch fixes the reported problem, thanks Julian! Honza
Attachment #8832834 - Flags: review?(odvarko) → review+
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c488c8738ebe fix telemetry logging for inspector toolsidebar;r=Honza
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 54
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: