Bug 1289668 - Inter-keyframe telemetry histograms - r?kamidphish,francois draft
authorGerald Squelart <gsquelart@mozilla.com>
Thu, 28 Jul 2016 10:16:17 +1000 (2016-07-28)
changeset 393594 e45df36c99cb49deb9c4f87e682f820363561101
parent 393593 b5ef50c0bb67319caf10eb423b25d1d0e466c24b
child 393595 727eb73a0e2ebed394c0aac668d48007e46004cf
push id24356
push usergsquelart@mozilla.com
push dateThu, 28 Jul 2016 02:48:19 +0000 (2016-07-28)
reviewerskamidphish, francois
bugs1289668
milestone50.0a1
Bug 1289668 - Inter-keyframe telemetry histograms - r?kamidphish,francois r?francois for telemetry-peer feedback through mozreview. The goal of this telemetry is to gather statistics about inter-keyframe timings of played videos, so we have a better understanding of typical values in the field. This inter-keyframe time is important for the background-suspend functionality, as it will impact the recovery time (i.e., when moving a video back to the foreground, what is the average & max time to the next random-access point?) MozReview-Commit-ID: NISIf1wGtU
toolkit/components/telemetry/Histograms.json
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -8268,16 +8268,36 @@
     "expires_in_version": "55",
     "description": "Percentage of total time spent playing video while element is hidden. Keyed by audio presence and by height ranges (boundaries: 240. 480, 576, 720, 1080, 2160), e.g.: 'V,0<h<=240', 'AV,h>2180'; and 'All' will accumulate all percentages. This is reported whenever an HTML Media Element is suspended or resumed, such as when the page is unloaded.",
     "keyed": true,
     "kind": "linear",
     "high": 100,
     "n_buckets": 50,
     "bug_numbers": [1287987]
   },
+  "VIDEO_INTER_KEYFRAME_AVERAGE_MS" : {
+    "alert_emails": ["ajones@mozilla.com", "gsquelart@mozilla.com"],
+    "expires_in_version": "55",
+    "description": "Average interval between video keyframes in played videos, in milliseconds. Keyed by audio presence and by height ranges (boundaries: 240. 480, 576, 720, 1080, 2160), e.g.: 'V,0<h<=240', 'AV,h>2180'; and 'All' will accumulate all percentages. This is reported whenever an HTML Media Element is suspended or resumed, such as when the page is unloaded.",
+    "keyed": true,
+    "kind": "exponential",
+    "high": 60000,
+    "n_buckets": 100,
+    "bug_numbers": [1289668]
+  },
+  "VIDEO_INTER_KEYFRAME_MAX_MS" : {
+    "alert_emails": ["ajones@mozilla.com", "gsquelart@mozilla.com"],
+    "expires_in_version": "55",
+    "description": "Maximum interval between video keyframes in played videos, in milliseconds. Keyed by audio presence and by height ranges (boundaries: 240. 480, 576, 720, 1080, 2160), e.g.: 'V,0<h<=240', 'AV,h>2180'; and 'All' will accumulate all percentages. This is reported whenever an HTML Media Element is suspended or resumed, such as when the page is unloaded.",
+    "keyed": true,
+    "kind": "exponential",
+    "high": 60000,
+    "n_buckets": 100,
+    "bug_numbers": [1289668]
+  },
   "VIDEO_UNLOAD_STATE": {
     "alert_emails": ["ajones@mozilla.com"],
     "expires_in_version": "55",
     "kind": "enumerated",
     "n_values": 5,
     "description": "HTML Media Element state when unloading. ended = 0, paused = 1, stalled = 2, seeking = 3, other = 4",
     "bug_numbers": [1261955, 1261955]
   },