Bug 1793665 [wpt PR 36154] - wptrunner: run test types in a deterministic order,...
[gecko.git] / dom / metrics.yaml
blob9cc8d578203444e8bc375c1c2f9e8580bcf9d09d
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 :: DOM: Core & HTML'
13 perf:
14   page_load:
15     type: event
16     description: >
17         Recorded when a top level content document has been loaded.
18     bugs:
19       - https://bugzilla.mozilla.org/show_bug.cgi?id=1759744
20     data_reviews:
21       - https://bugzilla.mozilla.org/show_bug.cgi?id=1759744#c5
22     notification_emails:
23       - perf-telemetry-alerts@mozilla.com
24       - dpalmeiro@mozilla.com
25     expires: never
26     extra_keys:
27       load_time:
28         description:
29           "Time between loadEventStart and navigationStart, in ms."
30         type: quantity
31         unit: ms
32       response_time:
33         description:
34           "Time between responseStart and navigationStart, in ms."
35         type: quantity
36         unit: ms
37       fcp_time:
38         description:
39           "Time between firstContentfulPaint and naviationStart, in ms."
40         type: quantity
41         unit: ms
42       js_exec_time:
43         description:
44           "Time spent executing JS during page load, in ms."
45         type: quantity
46         unit: ms
47       load_type:
48         description:
49           "One of normal,reload,stop,link,history,error or other."
50         type: string
51     telemetry_mirror: Page_load_Toplevel_Content