Backed out changeset 06f41c22f3a6 (bug 1888460) for causing linux xpcshell failures...
[gecko.git] / dom / media / metrics.yaml
blobfe2ed5ff6a0177bd271892b6e11d45e95dbe1a13
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
8 ---
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
10 $tags:
11   - 'Core :: Audio/Video'
13 gmp:
14   update_xml_fetch_result:
15     type: labeled_counter
16     labels:
17       - cert_pin_success
18       - cert_pin_net_request_error
19       - cert_pin_net_timeout
20       - cert_pin_abort
21       - cert_pin_missing_data
22       - cert_pin_failed
23       - cert_pin_invalid
24       - cert_pin_xml_parse_error
25       - cert_pin_unknown_error
26       - content_sig_success
27       - content_sig_net_request_error
28       - content_sig_net_timeout
29       - content_sig_abort
30       - content_sig_missing_data
31       - content_sig_failed
32       - content_sig_invalid
33       - content_sig_xml_parse_error
34       - content_sig_unknown_error
35     description: >
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.
40     metadata:
41       tags:
42         - 'Core :: Audio/Video: GMP'
43     bugs:
44       - https://bugzilla.mozilla.org/show_bug.cgi?id=1739664
45     data_reviews:
46       - https://bugzilla.mozilla.org/show_bug.cgi?id=1739664
47     data_sensitivity:
48       - technical
49     notification_emails:
50       - media-alerts@mozilla.com
51     expires: never
53 media.audio:
54   init_failure:
55     type: labeled_counter
56     labels:
57       - first
58       - other
59     description: >
60       Failure occurs when initializing the audio stream.
61       (Migrated from the geckoview metric of the same name).
62     bugs:
63       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671714
64       - https://bugzilla.mozilla.org/show_bug.cgi?id=1879192
65     data_reviews:
66       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671714#c10
67     notification_emails:
68       - media-alerts@mozilla.com
69     expires: never
71   backend:
72     type: labeled_counter
73     labels:
74       - unknown
75       - audiounit
76       - audiounit-rust
77       - aaudio
78       - opensl
79       - wasapi
80       - winmm
81       - alsa
82       - jack
83       - oss
84       - pulse
85       - pulse-rust
86       - sndio
87       - sunaudio
88     description: >
89       The operating system audio backend
90       (Migrated from the geckoview metric of the same name).
91     bugs:
92       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671714
93       - https://bugzilla.mozilla.org/show_bug.cgi?id=1879192
94     data_reviews:
95       - https://bugzilla.mozilla.org/show_bug.cgi?id=1671714#c10
96     notification_emails:
97       - media-alerts@mozilla.com
98     expires: never
100 media.playback:
101   first_frame_loaded:
102     type: event
103     description:
104       The time that the media pipeline takes to load the first video frame.
105     metadata:
106       tags:
107         - 'Core :: Audio/Video: Playback'
108     bugs:
109       - https://bugzilla.mozilla.org/show_bug.cgi?id=1882205
110     data_reviews:
111       - https://bugzilla.mozilla.org/show_bug.cgi?id=1882205
112     data_sensitivity:
113       - technical
114     notification_emails:
115       - media-alerts@mozilla.com
116     extra_keys:
117       first_frame_loaded_time:
118         description:
119           How long (in milliseconds) does the our media pipeline take to load
120           the first video frame.
121         type: quantity
122       playback_type:
123         description:
124           The type of the playback. The value could be one of following
125           (1) Non-MSE playback
126           (2) MSE playback
127           (3) EME playback
128           // Following are Windows-only
129           (4) Non-MSE media-engine playback
130           (5) MSE media-engine playback
131           (6) EME media-engine playback
132         type: string
133       video_codec:
134         description: The video codec used for playback
135         type: string
136       resolution:
137         description: The video resolution used for playback
138         type: string
139       key_system:
140         description: The key system used for the EME playback if exists
141         type: string
142     expires: never