Bug 1606206 - Renew media playback telemetry probes. r=alwu
authorBryce Seager van Dyk <bvandyk@mozilla.com>
Mon, 13 Jan 2020 19:29:26 +0000
changeset 510364 58df4e6bc1b682dc80fbe4cdbb00aa31e24ce5a6
parent 510363 b548bcce41dc4d315dcbfc9a4eb3b252b2922f6a
child 510365 4bb4b4682c2d625f72c41e342579ea9c8cbde811
push id37020
push userccoroiu@mozilla.com
push dateWed, 15 Jan 2020 21:36:21 +0000
treeherdermozilla-central@c35bb210b8ae [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersalwu
bugs1606206
milestone74.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1606206 - Renew media playback telemetry probes. r=alwu Carry forward several media telemetry probes that the media team wishes to continue monitoring. The probes are: - MEDIA_MKV_CANPLAY_REQUESTED - allows us to monitor if sites are trying to play mkv files which guides if we should improve support for such files. - WEBVTT_TRACK_KINDS - allows us to monitor how webvtt is being used and guide if we should dedicate more resources to areas of webvtt. - WEB_AUDIO_BECOMES_AUDIBLE_TIME - allows us to monitor if sites are using resources on audio context that are playing audio and guide if we need to improve perf for such cases. - AUTOPLAY_DEFAULT_SETTING_CHANGE - allows us to monitor if users are opting out of our default autoplay behaviour. The following probes are kept to help assess playback performance: - VIDEO_INFERRED_DECODE_SUSPEND_PERCENTAGE - VIDEO_INTER_KEYFRAME_MAX_MS. - VIDEO_SUSPEND_RECOVERY_TIME_MS - VIDEO_VP9_BENCHMARK_FPS Differential Revision: https://phabricator.services.mozilla.com/D59436
toolkit/components/telemetry/Histograms.json
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -9344,21 +9344,21 @@
     "expires_in_version": "70",
     "kind": "boolean",
     "description": "Whether while playing Ogg audio/video we encountered a chained Ogg. Reported on every audio or video element that loads an Ogg file.",
     "bug_numbers": [1230295]
   },
   "MEDIA_MKV_CANPLAY_REQUESTED": {
     "record_in_processes": ["content"],
     "products": ["firefox", "geckoview"],
-    "alert_emails": ["bvandyk@mozilla.com"],
-    "expires_in_version": "74",
+    "alert_emails": ["bvandyk@mozilla.com", "drno@ohlmeier.org"],
+    "expires_in_version": "88",
     "kind": "boolean",
     "description": "Reports a true value when a page requests canPlayType for a matroska media type.",
-    "bug_numbers": [1429986, 1570634]
+    "bug_numbers": [1429986, 1570634, 1606206]
   },
   "MEDIA_MP4_PARSE_SAMPLE_DESCRIPTION_ENTRIES_HAVE_MULTIPLE_CODECS": {
     "record_in_processes": ["main", "content"],
     "products": ["firefox", "fennec", "geckoview"],
     "alert_emails": ["bvandyk@mozilla.com", "jya@mozilla.com", "drno@ohlmeier.org"],
     "bug_numbers": [1513651],
     "expires_in_version": "never",
     "kind": "boolean",
@@ -12101,66 +12101,66 @@
     "high": 100,
     "n_buckets": 50,
     "bug_numbers": [1287987, 1570634]
   },
   "VIDEO_INFERRED_DECODE_SUSPEND_PERCENTAGE" : {
     "record_in_processes": ["content"],
     "products": ["firefox", "geckoview"],
     "alert_emails": ["jya@mozilla.com", "drno@ohlmeier.org"],
-    "expires_in_version": "74",
+    "expires_in_version": "88",
     "description": "Percentage of total time spent *not* fully decoding video while element is hidden (simulated, even when feature is not enabled). Keyed by audio presence and by height ranges (boundaries: 240. 480, 576, 720, 1080, 2160), e.g.: 'V,0<h<=240', 'AV,h>2160'; 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": [1293145, 1570634]
+    "bug_numbers": [1293145, 1570634, 1606206]
   },
   "VIDEO_INTER_KEYFRAME_AVERAGE_MS" : {
     "record_in_processes": ["content"],
     "products": ["firefox", "geckoview"],
     "alert_emails": ["jya@mozilla.com", "drno@ohlmeier.org"],
-    "expires_in_version": "74",
+    "expires_in_version": "88",
     "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>2160'; 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, 1570634]
+    "bug_numbers": [1289668, 1570634, 1606206]
   },
   "VIDEO_INTER_KEYFRAME_MAX_MS" : {
     "record_in_processes": ["content"],
     "products": ["firefox", "geckoview"],
     "alert_emails": ["jya@mozilla.com", "drno@ohlmeier.org"],
-    "expires_in_version": "74",
+    "expires_in_version": "88",
     "description": "Maximum interval between video keyframes in played videos, in milliseconds; '0' means only 1 keyframe found. Keyed by audio presence and by height ranges (boundaries: 240. 480, 576, 720, 1080, 2160), e.g.: 'V,0<h<=240', 'AV,h>2160'; 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, 1570634]
+    "bug_numbers": [1289668, 1570634, 1606206]
   },
   "VIDEO_SUSPEND_RECOVERY_TIME_MS" : {
     "record_in_processes": ["content"],
     "products": ["firefox", "geckoview"],
     "alert_emails": ["jya@mozilla.com", "drno@ohlmeier.org"],
-    "expires_in_version": "74",
+    "expires_in_version": "88",
     "description": "Time taken for a video to resume after decoding was suspended, in milliseconds. Keyed by audio presence, hw acceleration, and by height ranges (boundaries: 240. 480, 720, 1080, 2160), e.g.: 'V,0-240', 'AV(hw),2160+'; and 'All' will accumulate all percentages.",
     "keyed": true,
     "kind": "exponential",
     "high": 10000,
     "n_buckets": 100,
-    "bug_numbers": [1294349, 1570634]
+    "bug_numbers": [1294349, 1570634, 1606206]
   },
   "VIDEO_VP9_BENCHMARK_FPS": {
     "record_in_processes": ["content"],
     "products": ["firefox", "geckoview"],
     "alert_emails": ["jya@mozilla.com", "drno@ohlmeier.org"],
-    "expires_in_version": "74",
-    "bug_numbers": [1230265, 1570634],
+    "expires_in_version": "88",
+    "bug_numbers": [1230265, 1570634, 1606206],
     "kind": "linear",
     "high": 1000,
     "n_buckets": 100,
     "description": "720p VP9 decode benchmark measurement in frames per second",
     "releaseChannelCollection": "opt-out"
   },
   "MEDIA_PLAY_PROMISE_RESOLUTION": {
     "record_in_processes": ["content"],
@@ -13276,20 +13276,20 @@
     "keyed": true,
     "description": "OpenGL compositor runtime and dynamic failure IDs. This will record a count for each context creation success or failure. Each failure id is a unique identifier that can be traced back to a particular failure branch or blocklist rule.",
     "bug_numbers": [1002846]
   },
   "WEBVTT_TRACK_KINDS": {
     "record_in_processes": ["content"],
     "products": ["firefox", "geckoview"],
     "alert_emails": ["alwu@mozilla.com"],
-    "expires_in_version": "74",
+    "expires_in_version": "88",
     "kind": "enumerated",
     "n_values": 10,
-    "bug_numbers": [1280644, 1570634],
+    "bug_numbers": [1280644, 1570634, 1606206],
     "description": "Number of the use of the subtitles kind track. 0=Subtitles, 1=Captions, 2=Descriptions, 3=Chapters, 4=Metadata, 5=Undefined Error",
     "releaseChannelCollection": "opt-out"
   },
   "BLINK_FILESYSTEM_USED": {
     "record_in_processes": ["main", "content"],
     "products": ["firefox", "fennec", "geckoview"],
     "alert_emails": ["amarchesini@mozilla.com"],
     "expires_in_version": "never",
@@ -14721,35 +14721,35 @@
     "record_in_processes": ["content"],
     "products": ["firefox", "geckoview"],
     "alert_emails": [
       "alwu@mozilla.com",
       "cpearce@mozilla.com",
       "nohlmeier@mozilla.com",
       "padenot@mozilla.com"
     ],
-    "expires_in_version": "74",
+    "expires_in_version": "88",
     "kind": "linear",
     "high": 60,
     "n_buckets": 10,
-    "bug_numbers": [1490074, 1570634],
+    "bug_numbers": [1490074, 1570634, 1606206],
     "description": "How long the AudioContext would become audible since it was created, time unit is seconds.",
     "releaseChannelCollection": "opt-out"
   },
   "AUTOPLAY_DEFAULT_SETTING_CHANGE": {
     "record_in_processes": ["main", "content"],
     "products": ["firefox", "fennec", "geckoview"],
     "alert_emails": [
       "alwu@mozilla.com",
       "nohlmeier@mozilla.com"
     ],
-    "expires_in_version": "74",
+    "expires_in_version": "88",
     "kind": "categorical",
     "labels": ["allow", "blockAudible", "blockAll"],
-    "bug_numbers": [1567302],
+    "bug_numbers": [1567302, 1606206],
     "description": "counts the number of times a user changed the default autoplay behavior to each setting during a subsession.",
     "releaseChannelCollection": "opt-out"
   },
   "WEB_AUDIO_AUTOPLAY": {
     "record_in_processes": ["main", "content"],
     "products": ["firefox", "fennec", "geckoview"],
     "alert_emails": [
       "alwu@mozilla.com",