tor-browser

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

metrics.yaml (10403B)


      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 :: Inspector'
     12 
     13 devtools.inspector:
     14  three_pane_enabled:
     15    type: labeled_counter
     16    description: >
     17      Number of times the DevTools inspector was opened with the 3 pane
     18      inspector enabled, keyed by true/false.
     19      This metric was generated to correspond to the Legacy Telemetry
     20      scalar devtools.inspector.three_pane_enabled.
     21    bugs:
     22      - https://bugzil.la/1437881
     23      - https://bugzil.la/1566395
     24    data_reviews:
     25      - https://bugzil.la/1437881
     26      - https://bugzil.la/1566395
     27    notification_emails:
     28      - dev-developer-tools@lists.mozilla.org
     29      - gl@mozilla.com
     30      - mbalfanz@mozilla.com
     31    expires: never
     32    telemetry_mirror: DEVTOOLS_INSPECTOR_THREE_PANE_ENABLED
     33 
     34  node_selection_count:
     35    type: counter
     36    description: >
     37      Number of times a different node is marked as selected in the
     38      Inspector regardless of the cause: context menu, manual selection in
     39      markup view, etc.
     40      This metric was generated to correspond to the Legacy Telemetry
     41      scalar devtools.inspector.node_selection_count.
     42    bugs:
     43      - https://bugzil.la/1550794
     44    data_reviews:
     45      - https://bugzil.la/1550794
     46    notification_emails:
     47      - dev-developer-tools@lists.mozilla.org
     48      - mbalfanz@mozilla.com
     49    expires: never
     50    telemetry_mirror: DEVTOOLS_INSPECTOR_NODE_SELECTION_COUNT
     51 
     52  new_root_to_reload_delay:
     53    type: timing_distribution
     54    description: >
     55      Time taken (in ms) to update the inspector during a page reload, starting
     56      from new-root event.
     57 
     58      This metric was generated to correspond to the Legacy Telemetry
     59      exponential histogram DEVTOOLS_INSPECTOR_NEW_ROOT_TO_RELOAD_DELAY_MS.
     60    time_unit: millisecond
     61    bugs:
     62      - https://bugzilla.mozilla.org/show_bug.cgi?id=1405585
     63      - https://bugzilla.mozilla.org/show_bug.cgi?id=1566392
     64      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643433
     65    data_reviews:
     66      - https://bugzilla.mozilla.org/show_bug.cgi?id=1405585
     67      - https://bugzilla.mozilla.org/show_bug.cgi?id=1566392
     68      - https://bugzilla.mozilla.org/show_bug.cgi?id=1643433
     69    notification_emails:
     70      - dev-developer-tools@lists.mozilla.org
     71    expires: never
     72    telemetry_mirror: DEVTOOLS_INSPECTOR_NEW_ROOT_TO_RELOAD_DELAY_MS
     73 
     74  number_of_css_grids_in_a_page:
     75    type: custom_distribution
     76    description: >
     77      On page load, record the number of CSS Grid elements present on a page
     78      when the DevTools is open
     79 
     80      This metric was generated to correspond to the Legacy Telemetry linear
     81      histogram DEVTOOLS_NUMBER_OF_CSS_GRIDS_IN_A_PAGE.
     82    range_min: 1
     83    range_max: 30
     84    bucket_count: 29
     85    histogram_type: linear
     86    unit: grid elements
     87    bugs:
     88      - https://bugzilla.mozilla.org/show_bug.cgi?id=1373483
     89    data_reviews:
     90      - https://bugzilla.mozilla.org/show_bug.cgi?id=1373483
     91    notification_emails:
     92      - dev-developer-tools@lists.mozilla.org
     93    expires: never
     94    telemetry_mirror: DEVTOOLS_NUMBER_OF_CSS_GRIDS_IN_A_PAGE
     95 
     96  fonteditor_font_type_displayed:
     97    type: labeled_counter
     98    description: >
     99      Indicates if the font editor displayed its UI for a non-variable font or a
    100      variable font
    101 
    102      This metric was generated to correspond to the Legacy Telemetry
    103      categorical histogram DEVTOOLS_FONTEDITOR_FONT_TYPE_DISPLAYED.
    104    labels:
    105      - variable
    106      - nonvariable
    107    bugs:
    108      - https://bugzilla.mozilla.org/show_bug.cgi?id=1523656
    109    data_reviews:
    110      - https://bugzilla.mozilla.org/show_bug.cgi?id=1523656
    111    notification_emails:
    112      - dev-developer-tools@lists.mozilla.org
    113      - mbalfanz@mozilla.com
    114    expires: never
    115    telemetry_mirror: h#DEVTOOLS_FONTEDITOR_FONT_TYPE_DISPLAYED
    116 
    117 devtools.layout.flexboxhighlighter:
    118  opened:
    119    type: counter
    120    description: >
    121      Number of times the DevTools flexbox highlighter was activated from
    122      the layout view.
    123      This metric was generated to correspond to the Legacy Telemetry
    124      scalar devtools.layout.flexboxhighlighter.opened.
    125    bugs:
    126      - https://bugzil.la/1509907
    127    data_reviews:
    128      - https://bugzil.la/1509907
    129    notification_emails:
    130      - dev-developer-tools@lists.mozilla.org
    131    expires: never
    132    telemetry_mirror: DEVTOOLS_LAYOUT_FLEXBOXHIGHLIGHTER_OPENED
    133 
    134 devtools.markup.flexboxhighlighter:
    135  opened:
    136    type: counter
    137    description: >
    138      Number of times the DevTools flexbox highlighter was activated from
    139      the markup view.
    140      This metric was generated to correspond to the Legacy Telemetry
    141      scalar devtools.markup.flexboxhighlighter.opened.
    142    bugs:
    143      - https://bugzil.la/1509907
    144    data_reviews:
    145      - https://bugzil.la/1509907
    146    notification_emails:
    147      - dev-developer-tools@lists.mozilla.org
    148    expires: never
    149    telemetry_mirror: DEVTOOLS_MARKUP_FLEXBOXHIGHLIGHTER_OPENED
    150 
    151 devtools.rules.flexboxhighlighter:
    152  opened:
    153    type: counter
    154    description: >
    155      Number of times the DevTools flexbox highlighter was activated from
    156      the rules view.
    157      This metric was generated to correspond to the Legacy Telemetry
    158      scalar devtools.rules.flexboxhighlighter.opened.
    159    bugs:
    160      - https://bugzil.la/1509907
    161    data_reviews:
    162      - https://bugzil.la/1509907
    163    notification_emails:
    164      - dev-developer-tools@lists.mozilla.org
    165    expires: never
    166    telemetry_mirror: DEVTOOLS_RULES_FLEXBOXHIGHLIGHTER_OPENED
    167 
    168 devtools.markup.gridinspector:
    169  opened:
    170    type: counter
    171    description: >
    172      Number of times the DevTools grid inspector was opened from the
    173      markup view.
    174      This metric was generated to correspond to the Legacy Telemetry
    175      scalar devtools.markup.gridinspector.opened.
    176    bugs:
    177      - https://bugzil.la/1509907
    178    data_reviews:
    179      - https://bugzil.la/1509907
    180    notification_emails:
    181      - dev-developer-tools@lists.mozilla.org
    182    expires: never
    183    telemetry_mirror: DEVTOOLS_MARKUP_GRIDINSPECTOR_OPENED
    184 
    185 devtools.rules.gridinspector:
    186  opened:
    187    type: counter
    188    description: >
    189      Number of times the DevTools grid inspector was opened from the
    190      rules view.
    191      This metric was generated to correspond to the Legacy Telemetry
    192      scalar devtools.rules.gridinspector.opened.
    193    bugs:
    194      - https://bugzil.la/1373483
    195    data_reviews:
    196      - https://bugzil.la/1373483
    197    notification_emails:
    198      - dev-developer-tools@lists.mozilla.org
    199    expires: never
    200    telemetry_mirror: DEVTOOLS_RULES_GRIDINSPECTOR_OPENED
    201 
    202 devtools.grid.gridinspector:
    203  opened:
    204    type: counter
    205    description: >
    206      Number of times the DevTools grid inspector was opened from the grid
    207      view.
    208      This metric was generated to correspond to the Legacy Telemetry
    209      scalar devtools.grid.gridinspector.opened.
    210    bugs:
    211      - https://bugzil.la/1373483
    212    data_reviews:
    213      - https://bugzil.la/1373483
    214    notification_emails:
    215      - dev-developer-tools@lists.mozilla.org
    216    expires: never
    217    telemetry_mirror: DEVTOOLS_GRID_GRIDINSPECTOR_OPENED
    218 
    219 devtools.shadowdom:
    220  shadow_root_displayed:
    221    type: boolean
    222    description: >
    223      Whether the markup view displayed any #shadow-root element in the
    224      UI.
    225      This metric was generated to correspond to the Legacy Telemetry
    226      scalar devtools.shadowdom.shadow_root_displayed.
    227    bugs:
    228      - https://bugzil.la/1470128
    229      - https://bugzil.la/1566393
    230    data_reviews:
    231      - https://bugzil.la/1470128
    232      - https://bugzil.la/1566393
    233    notification_emails:
    234      - dev-developer-tools@lists.mozilla.org
    235      - jdescottes@mozilla.com
    236    expires: never
    237    telemetry_mirror: DEVTOOLS_SHADOWDOM_SHADOW_ROOT_DISPLAYED
    238 
    239  shadow_root_expanded:
    240    type: boolean
    241    description: >
    242      Whether the user expanded any #shadow-root element.
    243      This metric was generated to correspond to the Legacy Telemetry
    244      scalar devtools.shadowdom.shadow_root_expanded.
    245    bugs:
    246      - https://bugzil.la/1470128
    247      - https://bugzil.la/1566393
    248    data_reviews:
    249      - https://bugzil.la/1470128
    250      - https://bugzil.la/1566393
    251    notification_emails:
    252      - dev-developer-tools@lists.mozilla.org
    253      - jdescottes@mozilla.com
    254    expires: never
    255    telemetry_mirror: DEVTOOLS_SHADOWDOM_SHADOW_ROOT_EXPANDED
    256 
    257  reveal_link_clicked:
    258    type: boolean
    259    description: >
    260      Whether the user clicked on any "reveal" link. "reveal" links are
    261      displayed in shadow dom trees in the markup view.
    262      This metric was generated to correspond to the Legacy Telemetry
    263      scalar devtools.shadowdom.reveal_link_clicked.
    264    bugs:
    265      - https://bugzil.la/1470128
    266      - https://bugzil.la/1566393
    267    data_reviews:
    268      - https://bugzil.la/1470128
    269      - https://bugzil.la/1566393
    270    notification_emails:
    271      - dev-developer-tools@lists.mozilla.org
    272      - jdescottes@mozilla.com
    273    expires: never
    274    telemetry_mirror: DEVTOOLS_SHADOWDOM_REVEAL_LINK_CLICKED
    275 
    276 devtools.tooltip:
    277  shown:
    278    type: labeled_counter
    279    description: >
    280      Number of times a tooltip was shown, keyed by tooltip type.
    281      Currently supported types are "image", "font-family", "inactive-
    282      css", "css-compatibility", "css-query-container" and "variable."
    283      This metric was generated to correspond to the Legacy Telemetry
    284      scalar devtools.tooltip.shown.
    285    bugs:
    286      - https://bugzil.la/1553471
    287    data_reviews:
    288      - https://bugzil.la/1553471
    289    notification_emails:
    290      - dev-developer-tools@lists.mozilla.org
    291    expires: never
    292    telemetry_mirror: DEVTOOLS_TOOLTIP_SHOWN
    293 
    294 devtools.markup.scrollable.badge:
    295  clicked:
    296    type: counter
    297    description: >
    298      Number of times the scrollable inspector badge has been clicked.
    299      This metric was generated to correspond to the Legacy Telemetry
    300      scalar devtools.markup.scrollable.badge.clicked.
    301    bugs:
    302      - https://bugzil.la/1660818
    303    data_reviews:
    304      - https://bugzil.la/1660818
    305    notification_emails:
    306      - dev-developer-tools@lists.mozilla.org
    307    expires: never
    308    telemetry_mirror: DEVTOOLS_MARKUP_SCROLLABLE_BADGE_CLICKED