1
0
Fork 0
firefox/dom/storage/metrics.yaml
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

49 lines
1.7 KiB
YAML

# 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 :: Storage: localStorage & sessionStorage'
localdomstorage:
shutdown_database:
type: timing_distribution
description: >
Time to flush and close the localStorage database (ms)
This metric was generated to correspond to the Legacy Telemetry
exponential histogram LOCALDOMSTORAGE_SHUTDOWN_DATABASE_MS.
time_unit: millisecond
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
notification_emails:
- storage-telemetry@mozilla.com
expires: never
telemetry_mirror: LOCALDOMSTORAGE_SHUTDOWN_DATABASE_MS
preload_pending_on_first_access:
type: labeled_counter
description: >
True when we had to wait for a pending preload on first access to
localStorage data, false otherwise
This metric was generated to correspond to the Legacy Telemetry boolean
histogram LOCALDOMSTORAGE_PRELOAD_PENDING_ON_FIRST_ACCESS.
labels:
- "false"
- "true"
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1935420
notification_emails:
- storage-telemetry@mozilla.com
expires: never
telemetry_mirror: h#LOCALDOMSTORAGE_PRELOAD_PENDING_ON_FIRST_ACCESS