tor-browser

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

metrics.yaml (26037B)


      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  - 'Firefox :: Tabbed Browser'
     12 
     13 browser.engagement:
     14  tab_unload_count:
     15    type: counter
     16    description: >
     17      The count of tab unload events by TabUnloader due to a low-memory
     18      situation.
     19      This metric was generated to correspond to the Legacy Telemetry
     20      scalar browser.engagement.tab_unload_count.
     21    bugs:
     22      - https://bugzil.la/1715858
     23    data_reviews:
     24      - https://bugzil.la/1715858
     25    notification_emails:
     26      - dao@mozilla.com
     27      - rtestard@mozilla.com
     28    expires: never
     29    telemetry_mirror: BROWSER_ENGAGEMENT_TAB_UNLOAD_COUNT
     30 
     31  tab_reload_count:
     32    type: counter
     33    description: >
     34      The count of tab reload events by the user after unloaded.
     35      This metric was generated to correspond to the Legacy Telemetry
     36      scalar browser.engagement.tab_reload_count.
     37    bugs:
     38      - https://bugzil.la/1715858
     39    data_reviews:
     40      - https://bugzil.la/1715858
     41    notification_emails:
     42      - dao@mozilla.com
     43      - rtestard@mozilla.com
     44    expires: never
     45    telemetry_mirror: BROWSER_ENGAGEMENT_TAB_RELOAD_COUNT
     46 
     47  tab_explicit_unload:
     48    type: event
     49    description: >
     50      Recorded when the user explicitly unloads tab(s) from memory via
     51      the tab context menu.
     52    notification_emails:
     53      - gstoll@mozilla.com
     54      - haftandilian@mozilla.com
     55    bugs:
     56      - https://bugzil.la/1926390
     57    data_reviews:
     58      - https://bugzil.la/1926390
     59    data_sensitivity:
     60      - interaction
     61    extra_keys:
     62      unload_selected_tab:
     63        description: whether the currently-selected tab is unloaded
     64        type: boolean
     65      all_tabs_unloaded:
     66        description: whether all tabs in the window were unloaded
     67        type: boolean
     68      tabs_unloaded:
     69        description: The number of tabs unloaded in this operation
     70        type: quantity
     71      memory_before:
     72        description: Memory usage before unloading tabs (in bytes)
     73        type: quantity
     74      memory_after:
     75        description: Memory usage after unloading tabs (in bytes)
     76        type: quantity
     77      time_to_unload_in_ms:
     78        description: Time to unload tabs (in ms)
     79        type: quantity
     80    expires: never
     81 
     82  tab_unload_to_reload:
     83    type: timing_distribution
     84    description: >
     85      How long (sec) a tab had been unloaded until it was reloaded.
     86 
     87      This metric was generated to correspond to the Legacy Telemetry
     88      exponential histogram TAB_UNLOAD_TO_RELOAD.
     89    time_unit: second
     90    bugs:
     91      - https://bugzilla.mozilla.org/show_bug.cgi?id=1715858
     92    data_reviews:
     93      - https://bugzilla.mozilla.org/show_bug.cgi?id=1715858
     94    notification_emails:
     95      - tkikuchi@mozilla.com
     96    expires: never
     97    telemetry_mirror: TAB_UNLOAD_TO_RELOAD
     98 
     99 browser.ui.interaction:
    100  all_tabs_panel_dragstart_tab_event_count:
    101    type: counter
    102    description: >
    103      Records a count of how many times a drag event started for a tab
    104      within the All Tabs panel.
    105      This metric was generated to correspond to the Legacy Telemetry
    106      scalar
    107      browser.ui.interaction.all_tabs_panel_dragstart_tab_event_count.
    108    bugs:
    109      - https://bugzil.la/1804722
    110    data_reviews:
    111      - https://bugzil.la/1804722
    112    notification_emails:
    113      - shong@mozilla.com
    114      - mconley@mozilla.com
    115    expires: never
    116    telemetry_mirror: BROWSER_UI_INTERACTION_ALL_TABS_PANEL_DRAGSTART_TAB_EVENT_COUNT
    117 
    118  all_tabs_panel_entrypoint:
    119    type: labeled_counter
    120    description: >
    121      Records a count of how many times the All Tabs Panel was opened,
    122      keyed on a string describing the entrypoint.
    123      This metric was generated to correspond to the Legacy Telemetry
    124      scalar browser.ui.interaction.all_tabs_panel_entrypoint.
    125    bugs:
    126      - https://bugzil.la/1804722
    127    data_reviews:
    128      - https://bugzil.la/1804722
    129    notification_emails:
    130      - shong@mozilla.com
    131      - mconley@mozilla.com
    132    expires: never
    133    telemetry_mirror: BROWSER_UI_INTERACTION_ALL_TABS_PANEL_ENTRYPOINT
    134 
    135  list_all_tabs_action:
    136    type: labeled_counter
    137    description: >
    138      Records how often users interact with any top-level menu option in the
    139      "List All Tabs" menu.
    140    bugs:
    141      - https://bugzil.la/2001752
    142    data_reviews:
    143      - https://bugzil.la/2001752
    144    data_sensitivity:
    145      - interaction
    146    notification_emails:
    147      - sthompson@mozilla.com
    148    expires: never
    149    labels:
    150      - close_all_duplicates # "Close all duplicate tabs" menu item
    151      - tabs_from_devices # "Tabs from other devices" menu item
    152      - search_tabs # "Search tabs" menu item
    153 
    154  tab_movement:
    155    type: labeled_counter
    156    description: >
    157      Records information about user tab movements within the tab strip.
    158    bugs:
    159      - https://bugzil.la/1988855
    160    data_reviews:
    161      - https://bugzil.la/1988855
    162    data_sensitivity:
    163      - interaction
    164    notification_emails:
    165      - sthompson@mozilla.com
    166    expires: never
    167    labels:
    168      - not_from_external_app
    169      - from_external_app_next_to_active_tab
    170      - from_external_app_tab_strip_end
    171 
    172 tabgroup:
    173  create_group:
    174    type: event
    175    description: >
    176      Recorded when the user creates a new tab group via
    177      the tab context menu or through drag and drop.
    178    notification_emails:
    179      - dao@mozilla.com
    180      - jswinarton@mozilla.com
    181    bugs:
    182      - https://bugzil.la/1938423
    183      - https://bugzil.la/1954500
    184    data_reviews:
    185      - https://bugzil.la/1938423
    186      - https://bugzil.la/1954500
    187    data_sensitivity:
    188      - interaction
    189    extra_keys:
    190      source:
    191        description: The means by which the tab group was created
    192        type: string
    193      tabs:
    194        description: The number of tabs in the group when it was created
    195        type: quantity
    196      layout:
    197        description: The layout of the tab strip when the group was created (either "horizontal" or "vertical")
    198        type: string
    199      id:
    200        description: The ID of the created tab group
    201        type: string
    202    expires: never
    203 
    204  reopen:
    205    type: event
    206    description: >
    207      Recorded when a user reopens a saved tab group
    208    notification_emails:
    209      - dao@mozilla.com
    210      - dwalker@mozilla.com
    211      - jswinarton@mozilla.com
    212      - dwalker@mozilla.com
    213    bugs:
    214      - https://bugzil.la/1938425
    215    data_reviews:
    216      - https://bugzil.la/1938425
    217    extra_keys:
    218      source:
    219        description: The surface used to find and recall the saved group
    220        type: string
    221      layout:
    222        description: The tabs layout (horizontal or vertical)
    223        type: string
    224      id:
    225        description: The ID of the tab group. Tab group IDs are derived from their creation timestamps and have no other relationship to any tab group metadata.
    226        type: string
    227      type:
    228        description: Whether the user reopened a saved group or a deleted group.
    229        type: string
    230    expires: never
    231 
    232  add_tab:
    233    type: event
    234    disabled: true # To be controlled by server knobs during Firefox 138 launch due to expected high volume
    235    description: >
    236      Recorded when the user adds one or more ungrouped tabs to an existing tab group
    237    notification_emails:
    238      - dao@mozilla.com
    239      - jswinarton@mozilla.com
    240      - sthompson@mozilla.com
    241    bugs:
    242      - https://bugzil.la/1938424
    243    data_reviews:
    244      - https://bugzil.la/1938424
    245    data_sensitivity:
    246      - interaction
    247    extra_keys:
    248      source:
    249        description: The system, surface, or control the user used to add the tab(s) to the tab group
    250        type: string
    251      tabs:
    252        description: The number of tabs added to the tab group
    253        type: quantity
    254      layout:
    255        description: The layout of the tab strip when the tabs were added (either "horizontal" or "vertical")
    256        type: string
    257      group_type:
    258        description: The state of the tab group to which the tab(s) are being added ("expanded", "collapsed" or "saved")
    259        type: string
    260    expires: never
    261 
    262  active_groups:
    263    type: labeled_quantity
    264    description: >
    265      Records the number of groups present in the tab bar, split by expanded or collapsed.
    266    notification_emails:
    267      - dao@mozilla.com
    268      - jswinarton@mozilla.com
    269    bugs:
    270      - https://bugzil.la/1938397
    271      - https://bugzil.la/1954500
    272    data_reviews:
    273      - https://bugzil.la/1938397
    274      - https://bugzil.la/1954500
    275    expires: never
    276    unit: tab groups
    277    labels:
    278      - expanded
    279      - collapsed
    280 
    281  tabs_per_active_group:
    282    type: labeled_quantity
    283    description: >
    284      Records statistics about the number of tabs per active group: max, median, average and min.
    285    notification_emails:
    286      - dao@mozilla.com
    287      - jswinarton@mozilla.com
    288    bugs:
    289      - https://bugzil.la/1938397
    290      - https://bugzil.la/1954500
    291    data_reviews:
    292      - https://bugzil.la/1938397
    293      - https://bugzil.la/1954500
    294    expires: never
    295    unit: tabs
    296    labels:
    297      - max
    298      - median
    299      - average
    300      - min
    301 
    302  saved_groups:
    303    type: quantity
    304    description: >
    305      Records the number of saved tab groups present in the user's session
    306    notification_emails:
    307      - dao@mozilla.com
    308      - jswinarton@mozilla.com
    309      - sthompson@mozilla.com
    310    bugs:
    311      - https://bugzil.la/1938398
    312    data_reviews:
    313      - https://bugzil.la/1938398
    314    expires: never
    315    unit: tab groups
    316 
    317  tabs_per_saved_group:
    318    type: labeled_quantity
    319    description: >
    320      Records statistics about the number of tabs per saved tab group: max, median, average and min.
    321    notification_emails:
    322      - dao@mozilla.com
    323      - jswinarton@mozilla.com
    324      - sthompson@mozilla.com
    325    bugs:
    326      - https://bugzil.la/1938398
    327    data_reviews:
    328      - https://bugzil.la/1938398
    329    expires: never
    330    unit: tabs
    331    labels:
    332      - max
    333      - median
    334      - average
    335      - min
    336 
    337  tab_count_in_groups:
    338    type: labeled_quantity
    339    description: >
    340      Records the latest number of tabs in the tab bar, split by being inside a group or outside.
    341    notification_emails:
    342      - dao@mozilla.com
    343      - jswinarton@mozilla.com
    344    bugs:
    345      - https://bugzil.la/1938397
    346      - https://bugzil.la/1954500
    347    data_reviews:
    348      - https://bugzil.la/1938397
    349      - https://bugzil.la/1954500
    350    expires: never
    351    unit: tabs
    352    labels:
    353      - inside
    354      - outside
    355 
    356  save:
    357    type: event
    358    description: >
    359      Recorded when the user saves a tab group
    360    notification_emails:
    361      - dao@mozilla.com
    362      - jswinarton@mozilla.com
    363    bugs:
    364      - https://bugzil.la/1938426
    365    data_reviews:
    366      - https://bugzil.la/1938426
    367    expires: never
    368    extra_keys:
    369      user_triggered:
    370        description: >
    371          Whether the user explicitly chose to save the tab group, or the group
    372          was automatically saved as a result of browser operations (e.g. the
    373          user closed a window that has open tab groups).
    374        type: boolean
    375      id:
    376        description: The ID of the saved tab group
    377        type: string
    378 
    379  delete:
    380    type: event
    381    description: >
    382      Recorded when the user deletes a tab group
    383    notification_emails:
    384      - dao@mozilla.com
    385      - jswinarton@mozilla.com
    386      - sthompson@mozilla.com
    387    bugs:
    388      - https://bugzil.la/1938430
    389    data_reviews:
    390      - https://bugzil.la/1938430
    391    data_sensitivity:
    392      - interaction
    393    extra_keys:
    394      source:
    395        description: The system, surface, or control the user used to delete the tab group
    396        type: string
    397      id:
    398        description: Tab group ID of the tab group being deleted. Tab group IDs are derived from their creation timestamps and have no other relationship to any tab group metadata.
    399        type: string
    400    expires: never
    401 
    402  ungroup:
    403    type: event
    404    description: >
    405      Recorded when the user ungroups all tabs of a tab group
    406    notification_emails:
    407      - dao@mozilla.com
    408      - jswinarton@mozilla.com
    409      - sthompson@mozilla.com
    410    bugs:
    411      - https://bugzil.la/1963713
    412    data_reviews:
    413      - https://bugzil.la/1963713
    414    data_sensitivity:
    415      - interaction
    416    extra_keys:
    417      source:
    418        description: The system, surface, or control the user used to ungroup the tabs of the tab group
    419        type: string
    420    expires: never
    421 
    422  tab_interactions:
    423    type: labeled_counter
    424    description: >
    425      Records interactions with tabs related to a group: open, add tab to
    426      group, duplicate, create a new tab, close a tab, reorder, and remove from
    427      group
    428    notification_emails:
    429      - dao@mozilla.com
    430      - jswinarton@mozilla.com
    431      - sthompson@mozilla.com
    432    bugs:
    433      - https://bugzil.la/1938405
    434      - https://bugzil.la/1960360
    435      - https://bugzil.la/1961161
    436    data_reviews:
    437      - https://bugzil.la/1938405
    438      - https://bugzil.la/1960360
    439      - https://bugzil.la/1961161
    440    data_sensitivity:
    441      - interaction
    442    labels:
    443      - activate_expanded
    444      - activate_collapsed
    445      - add
    446      - duplicate
    447      - new
    448      - close_tabstrip
    449      - close_tabmenu
    450      - close_tab_other
    451      - reorder
    452      - remove_same_window
    453      - remove_other_window
    454      - remove_new_window
    455    expires: never
    456 
    457  group_interactions:
    458    type: labeled_counter
    459    description: >
    460      Records interactions with tab groups: expand/collapse; rename, change
    461      color; save/reopen/delete; ungroup tabs; open from tab menu/recent/
    462      Awesomebar; move to another window
    463    notification_emails:
    464      - dao@mozilla.com
    465      - jswinarton@mozilla.com
    466      - sthompson@mozilla.com
    467    bugs:
    468      - https://bugzil.la/1938401
    469      - https://bugzil.la/1971241
    470    data_reviews:
    471      - https://bugzil.la/1938401
    472    data_sensitivity:
    473      - interaction
    474    labels:
    475      - expand
    476      - collapse
    477      - rename
    478      - change_color
    479      - save
    480      - reopen
    481      - open_tabmenu
    482      - open_recent
    483      - open_suggest
    484      - delete
    485      - ungroup
    486      - move_window
    487      - hover_preview
    488    expires: never
    489 
    490 
    491  smart_tab_optin:
    492    type: event
    493    description: >
    494      Recorded when onboards to smart tab grouping through opt-in UI
    495    notification_emails:
    496      - rrando@mozilla.com
    497      - vbaungally@mozilla.com
    498    bugs:
    499      - https://bugzil.la/1956073
    500    data_reviews:
    501      - https://bugzil.la/1956073
    502    data_sensitivity:
    503      - interaction
    504    extra_keys:
    505      step:
    506        description: step and description of opt-in screen interaction
    507        type: string
    508    expires: never
    509    no_lint:
    510      - COMMON_PREFIX
    511 
    512  smart_tab_topic:
    513    type: event
    514    description: >
    515      Recorded when the user saves a tab group label with the ml topic
    516      model
    517    notification_emails:
    518      - rrando@mozilla.com
    519      - vbaungally@mozilla.com
    520    bugs:
    521      - https://bugzil.la/1949010
    522      - https://bugzil.la/1961641
    523    data_reviews:
    524      - https://bugzil.la/1949010
    525      - https://bugzil.la/1961641
    526    data_sensitivity:
    527      - interaction
    528    extra_keys:
    529      action:
    530        description: >
    531          whether the user saved or canceled generating a label
    532        type: string
    533      tabs_in_group:
    534        description: >
    535          number of tabs in the group for which model is generating a
    536          label
    537        type: quantity
    538      ml_label_length:
    539        description: length of label suggested by model
    540        type: quantity
    541      user_label_length:
    542        description: length of label saved by the user
    543        type: quantity
    544      levenshtein_distance:
    545        description: >
    546          Levenshtein distance between label suggested by model
    547          and saved by user
    548        type: quantity
    549      model_revision:
    550        description: topic model version currently running
    551        type: string
    552      id:
    553        description: The ID of the created tab group
    554        type: string
    555      label_reason:
    556        description: Whether the model suggested no label due to low probability or dissimilar tabs
    557        type: string
    558      backend:
    559        description: The backend used for the ML Engine
    560        type: string
    561    expires: never
    562    no_lint:
    563      - COMMON_PREFIX
    564 
    565  smart_tab_suggest:
    566    type: event
    567    description: >
    568      Recorded when the user saves suggested tabs using the ml
    569      embedding model
    570    notification_emails:
    571      - rrando@mozilla.com
    572      - vbaungally@mozilla.com
    573    bugs:
    574      - https://bugzil.la/1949010
    575    data_reviews:
    576      - https://bugzil.la/1949010
    577    data_sensitivity:
    578      - interaction
    579    extra_keys:
    580      action:
    581        description: whether the user saved or canceled
    582        type: string
    583      tabs_in_window:
    584        description: number of tabs in current window
    585        type: quantity
    586      tabs_in_group:
    587        description: number of tabs in the current group
    588        type: quantity
    589      tabs_suggested:
    590        description: number of tabs suggested by the ml model
    591        type: quantity
    592      tabs_approved:
    593        description: number of tabs the user saved from the suggestions
    594        type: quantity
    595      tabs_removed:
    596        description: >
    597          number of tabs the user removed from the
    598          suggestions
    599        type: quantity
    600      model_revision:
    601        description: embedding model version currently running
    602        type: string
    603      id:
    604        description: The ID of the created tab group
    605        type: string
    606      backend:
    607        description: The backend used for the ML Engine
    608        type: string
    609    expires: never
    610    no_lint:
    611      - COMMON_PREFIX
    612 
    613  smart_tab:
    614    type: event
    615    description: >
    616      Recorded when any pref cause smart tabs to be enabled / disabled
    617    notification_emails:
    618      - rrando@mozilla.com
    619      - vbaungally@mozilla.com
    620    bugs:
    621      - https://bugzil.la/1962228
    622    data_reviews:
    623      - https://bugzil.la/1962228
    624    data_sensitivity:
    625      - interaction
    626    extra_keys:
    627      enabled:
    628        description: whether the preference was enabled or disabled in any way
    629        type: boolean
    630    expires: never
    631    no_lint:
    632      - COMMON_PREFIX
    633 
    634  smart_tab_enabled:
    635    # metrics
    636    type: boolean
    637    lifetime: application
    638    description: >
    639      Records if the user has smart tab groups enabled
    640    notification_emails:
    641      - rrando@mozilla.com
    642      - vbaungally@mozilla.com
    643    bugs:
    644      - https://bugzil.la/1962228
    645    data_reviews:
    646      - https://bugzil.la/1962228
    647    data_sensitivity:
    648      - interaction
    649    expires: never
    650    send_in_pings:
    651      - metrics
    652    no_lint:
    653      - COMMON_PREFIX
    654 
    655 browser.tabswitch:
    656  update:
    657    type: timing_distribution
    658    description: >
    659      Firefox: Time in ms spent updating UI in response to a tab switch
    660 
    661      This metric was generated to correspond to the Legacy Telemetry
    662      exponential histogram FX_TAB_SWITCH_UPDATE_MS.
    663    time_unit: millisecond
    664    bugs:
    665      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    666    data_reviews:
    667      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    668    notification_emails:
    669      - perf-telemetry-alerts@mozilla.com
    670      - mconley@mozilla.com
    671    expires: never
    672    telemetry_mirror: FX_TAB_SWITCH_UPDATE_MS
    673 
    674  total:
    675    type: timing_distribution
    676    description: >
    677      Firefox: Time in ms between tab selection and tab content paint in e10s
    678      windows
    679 
    680      This metric was generated to correspond to the Legacy Telemetry
    681      exponential histogram FX_TAB_SWITCH_TOTAL_E10S_MS.
    682    time_unit: millisecond
    683    bugs:
    684      - https://bugzilla.mozilla.org/show_bug.cgi?id=1156592
    685      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    686    data_reviews:
    687      - https://bugzilla.mozilla.org/show_bug.cgi?id=1156592
    688      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
    689    notification_emails:
    690      - mconley@mozilla.com
    691    expires: never
    692    telemetry_mirror: FX_TAB_SWITCH_TOTAL_E10S_MS
    693 
    694  spinner_visible:
    695    type: timing_distribution
    696    description: >
    697      Firefox: If the spinner interstitial displays during tab switching,
    698      records the time in ms the graphic is visible
    699 
    700      This metric was generated to correspond to the Legacy Telemetry
    701      exponential histogram FX_TAB_SWITCH_SPINNER_VISIBLE_MS.
    702    time_unit: millisecond
    703    bugs:
    704      - https://bugzilla.mozilla.org/show_bug.cgi?id=1156592
    705    data_reviews:
    706      - https://bugzilla.mozilla.org/show_bug.cgi?id=1156592
    707    notification_emails:
    708      - mconley@mozilla.com
    709      - dothayer@mozilla.com
    710    expires: never
    711    telemetry_mirror: FX_TAB_SWITCH_SPINNER_VISIBLE_MS
    712 
    713  spinner_visible_trigger:
    714    type: labeled_counter
    715    description: >
    716      Diagnostic probe to aid in categorizing tab switch spinners. Records what
    717      most recently set the loadTimer to null if a spinner was displayed.
    718 
    719      This metric was generated to correspond to the Legacy Telemetry
    720      categorical histogram FX_TAB_SWITCH_SPINNER_VISIBLE_TRIGGER.
    721    labels:
    722      - none
    723      - preActions
    724      - postActions
    725      - onLoadTimeout
    726      - onLayersReady
    727      - onSizeModeOrOcc
    728      - onEndSwapDocShells
    729    bugs:
    730      - https://bugzilla.mozilla.org/show_bug.cgi?id=1442068
    731    data_reviews:
    732      - https://bugzilla.mozilla.org/show_bug.cgi?id=1442068
    733    notification_emails:
    734      - dothayer@mozilla.com
    735    expires: never
    736    telemetry_mirror: h#FX_TAB_SWITCH_SPINNER_VISIBLE_TRIGGER
    737 
    738 browser.tabclose:
    739  time_anim:
    740    type: timing_distribution
    741    description: >
    742      Firefox: Time taken from the point of closing a tab (with animation), to
    743      the browser element being removed from the DOM. (ms).
    744 
    745      This metric was generated to correspond to the Legacy Telemetry
    746      exponential histogram FX_TAB_CLOSE_TIME_ANIM_MS.
    747    time_unit: millisecond
    748    bugs:
    749      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340842
    750      - https://bugzilla.mozilla.org/show_bug.cgi?id=1488952
    751    data_reviews:
    752      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340842
    753      - https://bugzilla.mozilla.org/show_bug.cgi?id=1488952
    754    notification_emails:
    755      - mconley@mozilla.com
    756    expires: never
    757    telemetry_mirror: FX_TAB_CLOSE_TIME_ANIM_MS
    758 
    759  time_no_anim:
    760    type: timing_distribution
    761    description: >
    762      Firefox: Time taken from the point of closing a tab (without animation) to
    763      the browser element being removed from the DOM. (ms).
    764 
    765      This metric was generated to correspond to the Legacy Telemetry
    766      exponential histogram FX_TAB_CLOSE_TIME_NO_ANIM_MS.
    767    time_unit: millisecond
    768    bugs:
    769      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340842
    770      - https://bugzilla.mozilla.org/show_bug.cgi?id=1714255
    771      - https://bugzilla.mozilla.org/show_bug.cgi?id=1730041
    772      - https://bugzilla.mozilla.org/show_bug.cgi?id=1754640
    773    data_reviews:
    774      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340842
    775      - https://bugzilla.mozilla.org/show_bug.cgi?id=1714255
    776      - https://bugzilla.mozilla.org/show_bug.cgi?id=1730041
    777      - https://bugzilla.mozilla.org/show_bug.cgi?id=1754640
    778    notification_emails:
    779      - mconley@mozilla.com
    780    expires: never
    781    telemetry_mirror: FX_TAB_CLOSE_TIME_NO_ANIM_MS
    782 
    783  permit_unload_time:
    784    type: timing_distribution
    785    description: >
    786      Firefox: Time taken to run permitUnload on a browser during tab close to
    787      see whether or not we're allowed to close the tab (ms).
    788 
    789      This metric was generated to correspond to the Legacy Telemetry
    790      exponential histogram FX_TAB_CLOSE_PERMIT_UNLOAD_TIME_MS.
    791    time_unit: millisecond
    792    bugs:
    793      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340842
    794      - https://bugzilla.mozilla.org/show_bug.cgi?id=1714255
    795      - https://bugzilla.mozilla.org/show_bug.cgi?id=1730041
    796      - https://bugzilla.mozilla.org/show_bug.cgi?id=1754640
    797    data_reviews:
    798      - https://bugzilla.mozilla.org/show_bug.cgi?id=1340842
    799      - https://bugzilla.mozilla.org/show_bug.cgi?id=1714255
    800      - https://bugzilla.mozilla.org/show_bug.cgi?id=1730041
    801      - https://bugzilla.mozilla.org/show_bug.cgi?id=1754640
    802    notification_emails:
    803      - mconley@mozilla.com
    804    expires: never
    805    telemetry_mirror: FX_TAB_CLOSE_PERMIT_UNLOAD_TIME_MS
    806 
    807 link.handling:
    808  open_next_to_active_tab_settings_enabled:
    809    type: boolean
    810    lifetime: application
    811    description: >
    812      Records if the user has the "Open links from apps next to your active tab"
    813      feature enabled.
    814    notification_emails:
    815      - sthompson@mozilla.com
    816    bugs:
    817      - https://bugzil.la/1988855
    818    data_reviews:
    819      - https://bugzil.la/1988855
    820    data_sensitivity:
    821      - interaction
    822    expires: never
    823    no_lint:
    824      - COMMON_PREFIX
    825  open_next_to_active_tab_settings_change:
    826    type: event
    827    description: >
    828      This is recorded when the "Open links from apps next to your active tab"
    829      checkbox in the General > Tabs section of about:preferences is toggled.
    830    bugs:
    831      - https://bugzil.la/1988855
    832    data_reviews:
    833      - https://bugzil.la/1988855
    834    data_sensitivity:
    835      - interaction
    836    notification_emails:
    837      - sthompson@mozilla.com
    838    expires: never
    839    extra_keys:
    840      checked:
    841        description: >
    842          Whether the checkbox was toggled on or off.
    843        type: boolean
    844    no_lint:
    845      - COMMON_PREFIX
    846  open_from_external_app:
    847    type: event
    848    description: >
    849      This is recorded when a link is clicked outside of Firefox and this external
    850      link is then opened inside of Firefox. The "Open links from apps next to
    851      your active tab" option governs the behavior of where the link will be opened.
    852    bugs:
    853      - https://bugzil.la/1988855
    854    data_reviews:
    855      - https://bugzil.la/1988855
    856    data_sensitivity:
    857      - interaction
    858    notification_emails:
    859      - sthompson@mozilla.com
    860    expires: never
    861    extra_keys:
    862      next_to_active_tab:
    863        description: >
    864          Whether the link was opened next to the active tab.
    865        type: boolean
    866    no_lint:
    867      - COMMON_PREFIX