Bug 1429047 - Add telemetry probe to measure source load time;r=yulia,datareview=liuche draft
authorJulian Descottes <jdescottes@mozilla.com>
Fri, 12 Jan 2018 15:53:50 +0100
changeset 721612 260918222acb0db8e885c6db63c7f73f37989378
parent 718676 d97ff9ec96fc3310ff5c6043f5137bbcab7a8fe6
child 746388 e17e9b7d7b3806ac33935406275234f913694087
push id95896
push userjdescottes@mozilla.com
push dateWed, 17 Jan 2018 15:48:04 +0000
reviewersyulia
bugs1429047
milestone59.0a1
Bug 1429047 - Add telemetry probe to measure source load time;r=yulia,datareview=liuche MozReview-Commit-ID: 8VfiFlEQRPm
toolkit/components/telemetry/Histograms.json
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -8480,16 +8480,26 @@
   "DEVTOOLS_DEBUGGER_DISPLAY_SOURCE_REMOTE_MS": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "never",
     "kind": "exponential",
     "high": 10000,
     "n_buckets": 1000,
     "description": "The time (in milliseconds) that it took to display a selected source to the user."
   },
+  "DEVTOOLS_DEBUGGER_LOAD_SOURCE_MS": {
+    "record_in_processes": ["main", "content"],
+    "alert_emails": ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"],
+    "bug_numbers": [1429047],
+    "expires_in_version": "66",
+    "kind": "exponential",
+    "high": 10000,
+    "n_buckets": 100,
+    "description": "The time (in milliseconds) that it took to load a source for the user."
+  },
   "DEVTOOLS_ABOUT_DEVTOOLS_OPENED_KEY": {
     "record_in_processes": ["main"],
     "alert_emails": ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"],
     "bug_numbers": [1412029],
     "expires_in_version": "63",
     "kind": "categorical",
     "labels": ["toggleToolbox", "toggleToolboxF12", "inspector", "webconsole", "jsdebugger", "netmonitor", "toggleToolbar", "webide", "browserToolbox", "browserConsole", "responsiveDesignMode", "scratchpad", "styleeditor", "performance", "storage", "dom"],
     "description": "Records the key shortcut passed to open the about:devtools page."