tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

metrics.yaml (2170B)


      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: IndexedDB'
     12 
     13 idb.maintenance:
     14  fallback_fullrestore_metadata:
     15    type: counter
     16    description: >
     17      Tracks the number of times we need to fallback to restore metadata object by reading
     18      metadata-v2 file on disk when performing idle-maintenance on IDB database.
     19    bugs:
     20      - https://bugzilla.mozilla.org/show_bug.cgi?id=1980177
     21    data_reviews:
     22      - https://bugzilla.mozilla.org/show_bug.cgi?id=1980177
     23    data_sensitivity:
     24      - technical
     25    notification_emails:
     26      - storage-telemetry@mozilla.com
     27    expires: never
     28 
     29  metadata_restored:
     30    type: counter
     31    description: >
     32      Counts the number of times we failed to load metadata object and had to restore it
     33    bugs:
     34      - https://bugzilla.mozilla.org/show_bug.cgi?id=1980177
     35    data_reviews:
     36      - https://bugzilla.mozilla.org/show_bug.cgi?id=1980177
     37    data_sensitivity:
     38      - technical
     39    notification_emails:
     40      - storage-telemetry@mozilla.com
     41    expires: never
     42 
     43  unknown_metadata:
     44    type: counter
     45    description: >
     46      Increments upon encountering an unknown metadata object when performing
     47      idle-maintenance on IDB database. During idle-maintenance, we iterate
     48      over idb directories/files and construct a metadata object by calling
     49      QuotaManager::GetOriginMetadata or LoadFullOriginMetadataWithRestore.
     50      It seems that in some cases, the metadata object we get here can be
     51      invalid and this metric is used to track those instances.
     52    bugs:
     53      - https://bugzilla.mozilla.org/show_bug.cgi?id=1980177
     54    data_reviews:
     55      - https://bugzilla.mozilla.org/show_bug.cgi?id=1980177
     56    data_sensitivity:
     57      - technical
     58    notification_emails:
     59      - storage-telemetry@mozilla.com
     60    expires: never