metrics.yaml (4564B)
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/. 4 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 7 8 --- 9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0 10 $tags: 11 - "GeckoView :: General" 12 13 geckoview: 14 page_load_progress_time: 15 type: timing_distribution 16 time_unit: millisecond 17 telemetry_mirror: GV_PAGE_LOAD_PROGRESS_MS 18 description: > 19 Time between page load progress starts (0) and completion (100). 20 (Migrated from the geckoview metric of the same name). 21 bugs: 22 - https://bugzilla.mozilla.org/show_bug.cgi?id=1499418 23 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077 24 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877576 25 data_reviews: 26 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10 27 notification_emails: 28 - android-probes@mozilla.com 29 expires: never 30 31 page_load_time: 32 type: timing_distribution 33 time_unit: millisecond 34 telemetry_mirror: GV_PAGE_LOAD_MS 35 description: > 36 The time taken to load a page. This includes all static contents, no 37 dynamic content. 38 Loading of about: pages is not counted. 39 Back back navigation (sometimes via BFCache) is included which is a 40 source of bimodality due to the <50ms load times. 41 (Migrated from the geckoview metric of the same name). 42 bugs: 43 - https://bugzilla.mozilla.org/show_bug.cgi?id=1499418 44 - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109 45 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877576 46 data_reviews: 47 - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1 48 notification_emails: 49 - android-probes@mozilla.com 50 expires: never 51 52 page_reload_time: 53 type: timing_distribution 54 time_unit: millisecond 55 telemetry_mirror: GV_PAGE_RELOAD_MS 56 description: > 57 Time taken to reload a page. 58 This includes all static contents, no dynamic content. 59 Loading of about: pages is not counted. 60 (Migrated from the geckoview metric of the same name). 61 bugs: 62 - https://bugzilla.mozilla.org/show_bug.cgi?id=1549519 63 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077 64 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877576 65 data_reviews: 66 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10 67 notification_emails: 68 - android-probes@mozilla.com 69 - sefeng@mozilla.com 70 - perf-telemetry-alerts@mozilla.com 71 expires: never 72 73 document_site_origins: 74 type: custom_distribution 75 description: > 76 When a document is loaded, report the 77 number of [site origins](https://searchfox.org/ 78 mozilla-central/rev/ 79 3300072e993ae05d50d5c63d815260367eaf9179/ 80 caps/nsIPrincipal.idl#264) of the entire browser 81 if it has been at least 5 minutes since last 82 time we collect this data. 83 (Migrated from the geckoview metric of the same name). 84 range_min: 0 85 range_max: 100 86 bucket_count: 50 87 histogram_type: exponential 88 unit: number of site_origin 89 telemetry_mirror: FX_NUMBER_OF_UNIQUE_SITE_ORIGINS_ALL_TABS 90 bugs: 91 - https://bugzilla.mozilla.org/show_bug.cgi?id=1589700 92 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877576 93 data_reviews: 94 - https://bugzilla.mozilla.org/show_bug.cgi?id=1589700#c5 95 notification_emails: 96 - sefeng@mozilla.com 97 - perf-telemetry-alerts@mozilla.com 98 expires: never 99 100 per_document_site_origins: 101 type: custom_distribution 102 description: > 103 When a document is unloaded, report the highest number of 104 [site origins](https://searchfox.org/ 105 mozilla-central/rev/ 106 3300072e993ae05d50d5c63d815260367eaf9179/ 107 caps/nsIPrincipal.idl#264) loaded simultaneously in that 108 document. 109 (Migrated from the geckoview metric of the same name). 110 range_min: 0 111 range_max: 100 112 bucket_count: 50 113 histogram_type: exponential 114 unit: number of site origins per document 115 telemetry_mirror: FX_NUMBER_OF_UNIQUE_SITE_ORIGINS_PER_DOCUMENT 116 bugs: 117 - https://bugzilla.mozilla.org/show_bug.cgi?id=1603185 118 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877576 119 data_reviews: 120 - https://bugzilla.mozilla.org/show_bug.cgi?id=1603185#c13 121 notification_emails: 122 - beth@mozilla.com 123 - perf-telemetry-alerts@mozilla.com 124 expires: never