tor-browser

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

metrics.yaml (3090B)


      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  - 'DevTools :: Memory'
     12 
     13 devtools:
     14  save_heap_snapshot:
     15    type: timing_distribution
     16    description: >
     17      The time (in milliseconds) that it took to save a heap snapshot in
     18      mozilla::devtools::ChromeUtils::SaveHeapSnapshot.
     19 
     20      This metric was generated to correspond to the Legacy Telemetry
     21      exponential histogram DEVTOOLS_SAVE_HEAP_SNAPSHOT_MS.
     22    time_unit: millisecond
     23    bugs:
     24      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
     25    data_reviews:
     26      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
     27    notification_emails:
     28      - dev-developer-tools@lists.mozilla.org
     29    expires: never
     30    telemetry_mirror: DEVTOOLS_SAVE_HEAP_SNAPSHOT_MS
     31 
     32  read_heap_snapshot:
     33    type: timing_distribution
     34    description: >
     35      The time (in milliseconds) that it took to read a heap snapshot in
     36      mozilla::devtools::ChromeUtils::ReadHeapSnapshot.
     37 
     38      This metric was generated to correspond to the Legacy Telemetry
     39      exponential histogram DEVTOOLS_READ_HEAP_SNAPSHOT_MS.
     40    time_unit: millisecond
     41    bugs:
     42      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
     43    data_reviews:
     44      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
     45    notification_emails:
     46      - dev-developer-tools@lists.mozilla.org
     47    expires: never
     48    telemetry_mirror: DEVTOOLS_READ_HEAP_SNAPSHOT_MS
     49 
     50  heap_snapshot_node_count:
     51    type: custom_distribution
     52    description: >
     53      The number of nodes serialized into a heap snapshot.
     54 
     55      This metric was generated to correspond to the Legacy Telemetry linear
     56      histogram DEVTOOLS_HEAP_SNAPSHOT_NODE_COUNT.
     57    range_min: 1
     58    range_max: 10000000
     59    bucket_count: 10000
     60    histogram_type: linear
     61    unit: nodes
     62    bugs:
     63      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
     64    data_reviews:
     65      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
     66    notification_emails:
     67      - dev-developer-tools@lists.mozilla.org
     68    expires: never
     69    telemetry_mirror: DEVTOOLS_HEAP_SNAPSHOT_NODE_COUNT
     70 
     71  heap_snapshot_edge_count:
     72    type: custom_distribution
     73    description: >
     74      The number of edges serialized into a heap snapshot.
     75 
     76      This metric was generated to correspond to the Legacy Telemetry linear
     77      histogram DEVTOOLS_HEAP_SNAPSHOT_EDGE_COUNT.
     78    range_min: 1
     79    range_max: 10000000
     80    bucket_count: 10000
     81    histogram_type: linear
     82    unit: edges
     83    bugs:
     84      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
     85    data_reviews:
     86      - https://bugzilla.mozilla.org/show_bug.cgi?id=1944631
     87    notification_emails:
     88      - dev-developer-tools@lists.mozilla.org
     89    expires: never
     90    telemetry_mirror: DEVTOOLS_HEAP_SNAPSHOT_EDGE_COUNT