Source code
Revision control
Copy as Markdown
Other Tools
# 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
# Adding a new metric? We have docs for that!
---
$tags:
- 'Core :: Storage: localStorage & sessionStorage'
ls.preparelsdatabase:
processing_time:
type: timing_distribution
time_unit: microsecond
description: >
Time it took for the content process to fully prepare a new LSDatabase,
including any time required to prepare a Datastore in the parent.
This duration can be significantly affected by Datastore preloading,
which is triggered when a page begins to load.
If an error occurs, the time is not recorded.
bugs:
data_reviews:
data_sensitivity:
- technical
notification_emails:
- hsingh@mozilla.com
- jvarga@mozilla.com
- storage-telemetry@mozilla.com
expires: 138
ls.preparedatastore:
processing_time:
type: timing_distribution
time_unit: microsecond
description: >
Time it took for the parent process to prepare a Datastore.
This duration can be significantly affected by Datastore preloading,
which is triggered when a page begins to load.
When a Datastore is already preloaded, the preparation is usually fast
since it doesn't need to do any I/O.
If an error occurs, the time is not recorded.
In future, we might want to introduce additional separate metrics for different
types of datastore preparations (data needs to be loaded from disk, data already available, etc.)
bugs:
data_reviews:
data_sensitivity:
- technical
notification_emails:
- hsingh@mozilla.com
- jvarga@mozilla.com
- storage-telemetry@mozilla.com
- storage-telemetry@mozilla.com
expires: 138
ls.request:
send_cancellation:
type: counter
description: >
Upticks whenever a LS request cancellation message is sent.
This includes requests for ensuring either LSDatabase or LSObserver.
bugs:
data_reviews:
data_sensitivity:
- technical
notification_emails:
- hsingh@mozilla.com
- jvarga@mozilla.com
expires: 138
recv_cancellation:
type: counter
description: >
Upticks whenever a LS request cancellation message is received.
This includes requests for ensuring either LSDatabase or LSObserver in the child.
bugs:
data_reviews:
data_sensitivity:
- technical
notification_emails:
- hsingh@mozilla.com
- jvarga@mozilla.com
- storage-telemetry@mozilla.com
expires: 138
localstorage.database:
request_allow_to_close_response_time:
type: timing_distribution
time_unit: microsecond
description: >
Time it took between sending PBackgroundLSDatabase::RequestAllowToClose
and receiving PBackgroundLSDatabase::AllowToClose message. These messages
are issued when QuotaManager is shutting down or is aborting operations
for a particular origin or process.
bugs:
data_reviews:
data_sensitivity:
- technical
notification_emails:
- jvarga@mozilla.com
- storage-telemetry@mozilla.com
expires: 136