Closed
Bug 1343501
Opened 8 years ago
Closed 8 years ago
Log telemetry for devtools DOM panel
Categories
(DevTools :: General, enhancement)
DevTools
General
Tracking
(firefox55 fixed)
RESOLVED
FIXED
Firefox 55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: sole, Assigned: sole)
References
Details
Attachments
(1 file)
Right now the DOM panel doesn't have its id registered in telemetry.js http://searchfox.org/mozilla-central/source/devtools/client/shared/telemetry.js - so each time that panel is opened it results in a 'custom' tool opened event as a result of this: http://searchfox.org/mozilla-central/rev/4039fb4c5833706f6880763de216974e00ba096c/devtools/client/shared/telemetry.js#216
The solution is to follow the instructions in telemetry.js to add a new histogram.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sole
Assignee | ||
Comment 1•8 years ago
|
||
Let me know how does this look! Tested it here https://treeherder.mozilla.org/#/jobs?repo=try&revision=f742c10f356eec50a3ae64a9d8ad351266f9a62b
Attachment #8843897 -
Flags: review?(odvarko)
Comment 2•8 years ago
|
||
Comment on attachment 8843897 [details] [diff] [review]
bug-1343501.patch
Review of attachment 8843897 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me.
@jryans: can you please look at this too?
Honza
Attachment #8843897 -
Flags: feedback?(jryans)
Comment 3•8 years ago
|
||
One more try push:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d1ac2484d920bead5ab21219afc2f0bd283d9c9f
Honza
Comment 4•8 years ago
|
||
The try looks good, I think this is ready to land.
Let's see Ryan's feedback yet.
Honza
Comment on attachment 8843897 [details] [diff] [review]
bug-1343501.patch
Review of attachment 8843897 [details] [diff] [review]:
-----------------------------------------------------------------
Looks reasonable to me on the DevTools side, but you may need one change as I've noted below.
In addition, new telemetry probes require a review from the data collection group. Once you're ready, set feedback? to bsmedberg, as documented on the telemetry page[1].
[1]: https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Adding_a_new_Telemetry_probe
::: toolkit/components/telemetry/Histograms.json
@@ +7761,5 @@
> "releaseChannelCollection": "opt-out"
> },
> + "DEVTOOLS_DOM_OPENED_COUNT": {
> + "alert_emails": ["dev-developer-tools@lists.mozilla.org"],
> + "expires_in_version": "never",
I believe the Telemetry group no longer allows new probes with expires "never". I usually add ~10 to the current release, so you could put "65" here.
Attachment #8843897 -
Flags: feedback?(jryans) → feedback+
Assignee | ||
Updated•8 years ago
|
Attachment #8843897 -
Flags: review?(benjamin)
Assignee | ||
Comment 6•8 years ago
|
||
Argh, Bugzilla ate my comment! Thanks for the review and info links, jryans.
I requested Benjamin's review as it seems a bit strange to me that we would track the usage of some panels without expiry and some others with it, and I couldn't find any mention to the allowed values for 'expires' in the documentation you linked. Not that I don't trust you, but I want to make sure we don't have to "renew" unnecessarily :-)
Comment 7•8 years ago
|
||
Comment on attachment 8843897 [details] [diff] [review]
bug-1343501.patch
Review of attachment 8843897 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good from my perspective, R+
Honza
Attachment #8843897 -
Flags: review?(odvarko) → review+
Assignee | ||
Updated•8 years ago
|
Attachment #8843897 -
Flags: review?(benjamin) → feedback?(benjamin)
Assignee | ||
Comment 8•8 years ago
|
||
I just realised Benjamin wants the *feedback* flag, not *review*.
Benjamin, could you look and see if the proposed new probe looks fine? We want to track usage of a panel in DevTools, just as we are tracking for the other panels already. Thanks!
Comment 9•8 years ago
|
||
Bryan, for expires-never data collection we're looking for a commitment from somebody that you will actually be using the data permanently, or have it disabled if you're no longer using it. Are you the right person to make that commitment?
Flags: needinfo?(clarkbw)
Comment 10•8 years ago
|
||
Yes, I use these probes to track panel usage. This one would go into my panels dashboard view https://sql.telemetry.mozilla.org/dashboard/-devtools-panels with the others.
Flags: needinfo?(clarkbw)
Comment 11•8 years ago
|
||
Comment on attachment 8843897 [details] [diff] [review]
bug-1343501.patch
data-r=me
Attachment #8843897 -
Flags: feedback?(benjamin) → feedback+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 12•8 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e939d2c1a8c1
Log telemetry for devtools DOM panel. r=Honza
Keywords: checkin-needed
Comment 13•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•