1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 # Adding a new metric? We have docs for that!
6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
11 - 'Core :: Audio/Video'
14 update_xml_fetch_result:
18 - cert_pin_net_request_error
19 - cert_pin_net_timeout
21 - cert_pin_missing_data
24 - cert_pin_xml_parse_error
25 - cert_pin_unknown_error
27 - content_sig_net_request_error
28 - content_sig_net_timeout
30 - content_sig_missing_data
33 - content_sig_xml_parse_error
34 - content_sig_unknown_error
36 The result of Gecko fetching an update.xml from Balrog.
37 This captures 3 different data points: success or failure of the request,
38 if cert pinning or content signatures were used to verify the result, and
39 the reason for failure, if the request failed.
42 - 'Core :: Audio/Video: GMP'
44 - https://bugzilla.mozilla.org/show_bug.cgi?id=1739664
46 - https://bugzilla.mozilla.org/show_bug.cgi?id=1739664
50 - media-alerts@mozilla.com
60 Failure occurs when initializing the audio stream.
61 (Migrated from the geckoview metric of the same name).
63 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671714
64 - https://bugzilla.mozilla.org/show_bug.cgi?id=1879192
66 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671714#c10
68 - media-alerts@mozilla.com
89 The operating system audio backend
90 (Migrated from the geckoview metric of the same name).
92 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671714
93 - https://bugzilla.mozilla.org/show_bug.cgi?id=1879192
95 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671714#c10
97 - media-alerts@mozilla.com
104 The time that the media pipeline takes to load the first video frame.
107 - 'Core :: Audio/Video: Playback'
109 - https://bugzilla.mozilla.org/show_bug.cgi?id=1882205
111 - https://bugzilla.mozilla.org/show_bug.cgi?id=1882205
115 - media-alerts@mozilla.com
117 first_frame_loaded_time:
119 How long (in milliseconds) does the our media pipeline take to load
120 the first video frame from "the creation of MDSM" to "the first frame
123 metadata_loaded_time:
125 How long (in milliseconds) does the our media pipeline take to load
126 the metadata, which happens before finishing loading the first frame.
128 total_waiting_data_time:
130 How long (in milliseconds) does the our media pipeline has been in a
131 state of waiting video data due to lacking of data before the first
136 How long (in milliseconds) does the our media pipeline has been spent
137 on the buffering state before the first frame is loaded.
141 The type of the playback. The value could be one of following
145 // Following are Windows-only
146 (4) Non-MSE media-engine playback
147 (5) MSE media-engine playback
148 (6) EME media-engine playback
151 description: The video codec used for playback
154 description: The video resolution used for playback
157 description: The key system used for the EME playback if exists
161 This value will only be set on Android. It tells that whether playback
162 is performed by the HLS decoder, which utilizes the external player to
165 is_hardware_decoding:
166 description: True if the first frame is decoded by a hardware decoder.