Closed
Bug 1429047
Opened 8 years ago
Closed 8 years ago
Instrument Debugger's source load times
Categories
(DevTools :: Debugger, enhancement, P2)
DevTools
Debugger
Tracking
(firefox59 fixed)
RESOLVED
FIXED
Firefox 59
| Tracking | Status | |
|---|---|---|
| firefox59 | --- | fixed |
People
(Reporter: miker, Assigned: jdescottes)
References
(Depends on 1 open bug, )
Details
Attachments
(4 files, 1 obsolete file)
DEVTOOLS_DEBUGGER_LOAD_SOURCE: The time (in milliseconds) that it took to load a source for the user.
| Reporter | ||
Updated•8 years ago
|
Has Regression Range: --- → irrelevant
Has STR: --- → irrelevant
Target Milestone: --- → Firefox 59
| Reporter | ||
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
| Comment hidden (mozreview-request) |
| Reporter | ||
Comment 4•8 years ago
|
||
To make this work we had to add the fowwlowing to DEVTOOLS_DEBUGGER_LOAD_SOURCE:
"alert_emails": ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"],
"bug_numbers": [1429047],
...
"n_buckets": 100,
Comment 5•8 years ago
|
||
Will probably come up in data review, timings usually have a _MS attached; so the probe should be named DEVTOOLS_DEBUGGER_LOAD_SOURCE_MS
Updated•8 years ago
|
| Comment hidden (mozreview-request) |
| Reporter | ||
Comment 7•8 years ago
|
||
TODO
Add questions from this form and get a data collection peer to review it:
https://github.com/mozilla/data-review/blob/master/request.md
Comment 8•8 years ago
|
||
Should be also fine to limit this probe to 3 releases and then reconsider if we keep it or have something better with Event Telemetry/Amplitude.
Updated•8 years ago
|
Depends on: dbg-telemetry
Comment 9•8 years ago
|
||
Split out bugs to track follow up telemetry work
Summary: Add telemetry probes to Debugger → Instrument Debugger's source load times
| Assignee | ||
Comment 10•8 years ago
|
||
Here is an example of data review we could use for the DEVTOOLS_DEBUGGER_LOAD_SOURCE_MS (I assume we are only landing this probe for now).
Feel free to modify or discard it as you fit!
Regarding the current patch, the modification to Histograms.json from Mike's patch looks perfect, just need to set the expiry version to something like 63.
| Comment hidden (mozreview-request) |
Comment 12•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8942151 [details]
Bug 1429047 - Add telemetry probe to measure source load time;,datareview=liuche
https://reviewboard.mozilla.org/r/212414/#review218148
This looks good! thanks!
Comment 13•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8941464 [details]
Bug 1429047 - Add telemetry probes to Debugger
https://reviewboard.mozilla.org/r/211742/#review218150
as mentioned on slack, we will do the github changes separately -- thanks mike!
Comment 14•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8942151 [details]
Bug 1429047 - Add telemetry probe to measure source load time;,datareview=liuche
https://reviewboard.mozilla.org/r/212414/#review218152
Attachment #8942151 -
Flags: review?(ystartsev) → review+
| Assignee | ||
Comment 15•8 years ago
|
||
Comment on attachment 8941922 [details]
bug-1429047-data-review.md
As discussed by email, the implementation using this probe is being developed in parallel on GitHub at https://github.com/devtools-html/debugger.html/pull/4665.
Attachment #8941922 -
Flags: review?(liuche)
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•8 years ago
|
Attachment #8941464 -
Attachment is obsolete: true
Attachment #8941464 -
Flags: review?(ystartsev)
| Comment hidden (mozreview-request) |
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
| Reporter | ||
Updated•8 years ago
|
Attachment #8941464 -
Attachment is obsolete: true
Attachment #8941464 -
Flags: review?(ystartsev)
| Reporter | ||
Comment 20•8 years ago
|
||
Ignore my comment... the data request form is attached to this bug.
Flags: needinfo?(liuche)
Comment 21•8 years ago
|
||
Comment on attachment 8941922 [details]
bug-1429047-data-review.md
data-review only
> Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate? (see here, here, and here for examples).
Yes, Histograms and on http://firefox-dev.tools/debugger.html/docs/local-development.html
> Is there a control mechanism that allows the user to turn the data collection on and off? (Note, for data collection not needed for security purposes, Mozilla provides such a control mechanism) Provide details as to the control mechanism available.
Yes, Firefox data controls
If the request is for permanent data collection, is there someone who will monitor the data over time?**
expires in 63
> Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under? **
Type 1, load time
> Is the data collection request for default-on or default-off?
default on
> 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? (Yes/No) (If yes, set a todo reminder or file a bug if appropriate)**
expires in 66
Attachment #8941922 -
Flags: review?(liuche) → review+
Comment 22•8 years ago
|
||
Julian, one question: is there separate telemetry included in https://github.com/devtools-html/debugger.html that isn't controlled by Firefox data controls? (And I assume the telemetry doesn't work if it's not in Firefox.)
Flags: needinfo?(jdescottes)
| Assignee | ||
Comment 23•8 years ago
|
||
Thanks for the review!
(In reply to Chenxia Liu [:liuche] - not actively working on Fennec from comment #22)
> Julian, one question: is there separate telemetry included in
> https://github.com/devtools-html/debugger.html that isn't controlled by
> Firefox data controls? (And I assume the telemetry doesn't work if it's not
> in Firefox.)
We don't have any other telemetry setup for the debugger. When the debugger is not running in Firefox, the telemetry APIs are mocked and don't collect any data. The no-op implementation used is at https://github.com/devtools-html/devtools-core/blob/80fe5a5db96dff2bf3cc6ddb4820bb78a49367e6/packages/devtools-modules/src/Services.js#L563-L607
Flags: needinfo?(jdescottes)
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 25•8 years ago
|
||
(just updated the expiry in histograms.json to match version 66 mentioned in the data review)
Comment 26•8 years ago
|
||
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/acb786485419
Add telemetry probe to measure source load time;r=yulia,datareview=liuche
Comment 27•8 years ago
|
||
Backed out changeset acb786485419 (bug 1429047) for Bustages on TelemetryHistogramEnums.h
Failure push: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=acb786485419f2b5506b753681d25adf14dd4aaa&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=success
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=156895230&repo=autoland&lineNumber=3546
Backout: https://hg.mozilla.org/integration/autoland/rev/b0399c9ebb0c53ca57d117fe9d6acd003baa17f3
Flags: needinfo?(mratcliffe)
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 29•8 years ago
|
||
Max bucket size is 100 by default.
Assignee: mratcliffe → jdescottes
Flags: needinfo?(mratcliffe)
Comment 30•8 years ago
|
||
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/55b95957d30b
Add telemetry probe to measure source load time;r=yulia,datareview=liuche
Comment 31•8 years ago
|
||
| bugherder | ||
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•