Bug 1442068 - Add diagnostic probe for tab switch spinners r=liuche
authorDoug Thayer <dothayer@mozilla.com>
Thu, 01 Mar 2018 15:03:03 -0800
changeset 766818 e8f77174972db4484e9475db1c9c9e1b20444e2a
parent 766817 fc99177ac89b8e7a36437e238839a8c5cfc6386c
child 766819 648b41cbb8d1985dd8b4c38764632ea5506e4bc9
push id102399
push userbmo:mratcliffe@mozilla.com
push dateTue, 13 Mar 2018 10:12:19 +0000
Bug 1442068 - Add diagnostic probe for tab switch spinners r=liuche We currently have a few probes which measure how long tab switch spinners are displayed, but we have little information into their source. In diagnosing and attempting to lower the number of spinners that users see, we could use more information about their source to help prioritize and narrow in on regions of code. MozReview-Commit-ID: Cw4ejOM9ZSl
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -5956,16 +5956,26 @@
     "low": 1000,
     "high": 64000,
     "n_buckets": 7,
     "bug_numbers": [1301104],
     "alert_emails": ["mconley@mozilla.com"],
     "releaseChannelCollection": "opt-out",
     "description": "Firefox: If the spinner interstitial displays during tab switching, records the time in ms the graphic is visible. This probe is similar to FX_TAB_SWITCH_SPINNER_VISIBLE_MS, but is for truly degenerate cases."
+    "record_in_processes": ["main"],
+    "alert_emails": ["dothayer@mozilla.com"],
+    "bug_numbers": [1442068],
+    "expires_in_version": "63",
+    "kind": "categorical",
+    "labels": ["none", "preActions", "postActions", "onLoadTimeout", "onLayersReady", "onSizeModeOrOcc", "onEndSwapDocShells"],
+    "releaseChannelCollection": "opt-out",
+    "description": "Diagnostic probe to aid in categorizing tab switch spinners. Records what most recently set the loadTimer to null if a spinner was displayed."
+  },
     "record_in_processes": ["main"],
     "expires_in_version": "63",
     "alert_emails": ["mconley@mozilla.com"],
     "releaseChannelCollection": "opt-out",
     "kind": "categorical",
     "labels": [