summaryrefslogtreecommitdiffstats
path: root/dom/performance/metrics.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/performance/metrics.yaml')
-rw-r--r--dom/performance/metrics.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/dom/performance/metrics.yaml b/dom/performance/metrics.yaml
new file mode 100644
index 0000000000..995afc1024
--- /dev/null
+++ b/dom/performance/metrics.yaml
@@ -0,0 +1,32 @@
+# 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 :: DOM: Performance'
+
+performance.time:
+ response_start:
+ type: timing_distribution
+ time_unit: millisecond
+ telemetry_mirror: TIME_TO_RESPONSE_START_MS
+ description: >
+ Time from navigationStart to responseStart as per the W3C
+ Performance Timing API.
+ (Migrated from the geckoview metric of the same name.)
+ bugs:
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
+ data_reviews:
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
+ notification_emails:
+ - vchin@mozilla.com
+ - perf-telemetry-alerts@mozilla.com
+ expires: never