summaryrefslogtreecommitdiffstats
path: root/dom/media/metrics.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /dom/media/metrics.yaml
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/media/metrics.yaml')
-rw-r--r--dom/media/metrics.yaml51
1 files changed, 51 insertions, 0 deletions
diff --git a/dom/media/metrics.yaml b/dom/media/metrics.yaml
new file mode 100644
index 0000000000..bccfde4aa6
--- /dev/null
+++ b/dom/media/metrics.yaml
@@ -0,0 +1,51 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Adding a new metric? We have docs for that!
+# https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
+
+---
+$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
+$tags:
+ - 'Core :: Audio/Video'
+
+gmp:
+ update_xml_fetch_result:
+ type: labeled_counter
+ labels:
+ - cert_pin_success
+ - cert_pin_net_request_error
+ - cert_pin_net_timeout
+ - cert_pin_abort
+ - cert_pin_missing_data
+ - cert_pin_failed
+ - cert_pin_invalid
+ - cert_pin_xml_parse_error
+ - cert_pin_unknown_error
+ - content_sig_success
+ - content_sig_net_request_error
+ - content_sig_net_timeout
+ - content_sig_abort
+ - content_sig_missing_data
+ - content_sig_failed
+ - content_sig_invalid
+ - content_sig_xml_parse_error
+ - content_sig_unknown_error
+ description: >
+ The result of Gecko fetching an update.xml from Balrog.
+ This captures 3 different data points: success or failure of the request,
+ if cert pinning or content signatures were used to verify the result, and
+ the reason for failure, if the request failed.
+ metadata:
+ tags:
+ - 'Core :: Audio/Video: GMP'
+ bugs:
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1739664
+ data_reviews:
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1739664
+ data_sensitivity:
+ - technical
+ notification_emails:
+ - media-alerts@mozilla.com
+ expires: never