metrics.yaml (1809B)
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 - 'Core :: Storage: localStorage & sessionStorage' 12 13 localdomstorage: 14 shutdown_database: 15 type: timing_distribution 16 description: > 17 Time to flush and close the localStorage database (ms) 18 19 This metric was generated to correspond to the Legacy Telemetry 20 exponential histogram LOCALDOMSTORAGE_SHUTDOWN_DATABASE_MS. 21 time_unit: millisecond 22 bugs: 23 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 24 data_reviews: 25 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 26 notification_emails: 27 - jan.varga@gmail.com 28 - storage-telemetry@mozilla.com 29 expires: never 30 telemetry_mirror: LOCALDOMSTORAGE_SHUTDOWN_DATABASE_MS 31 32 preload_pending_on_first_access: 33 type: labeled_counter 34 description: > 35 True when we had to wait for a pending preload on first access to 36 localStorage data, false otherwise 37 38 This metric was generated to correspond to the Legacy Telemetry boolean 39 histogram LOCALDOMSTORAGE_PRELOAD_PENDING_ON_FIRST_ACCESS. 40 labels: 41 - "false" 42 - "true" 43 bugs: 44 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 45 data_reviews: 46 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 47 notification_emails: 48 - jan.varga@gmail.com 49 - storage-telemetry@mozilla.com 50 expires: never 51 telemetry_mirror: h#LOCALDOMSTORAGE_PRELOAD_PENDING_ON_FIRST_ACCESS