tor-browser

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

metrics.yaml (13561B)


      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 :: Firefox View'
     12 
     13 firefoxview_next:
     14  recently_closed_tabs:
     15    type: event
     16    description: >
     17      Recorded when a recently closed tab is clicked
     18      This event was generated to correspond to the Legacy Telemetry event
     19      firefoxview_next.recently_closed#tabs.
     20    bugs:
     21      - https://bugzil.la/1842616
     22    data_reviews:
     23      - https://bugzil.la/1842616
     24    notification_emails:
     25      - firefoxview@mozilla.com
     26    expires: never
     27    extra_keys:
     28      delta:
     29        description: >
     30          Time since the tab was closed
     31        type: string
     32      position:
     33        description: >
     34          The position of the tab in the recently closed tab list (starting at 1)
     35        type: quantity
     36      page:
     37        description: >
     38          The short page name where the recently closed tab was clicked
     39        type: string
     40    telemetry_mirror: Firefoxview_next_RecentlyClosed_Tabs
     41 
     42  dismiss_closed_tab_tabs:
     43    type: event
     44    description: >
     45      Recorded when a recently closed tab is dismissed
     46      This event was generated to correspond to the Legacy Telemetry event
     47      firefoxview_next.dismiss_closed_tab#tabs.
     48    bugs:
     49      - https://bugzil.la/1842616
     50    data_reviews:
     51      - https://bugzil.la/1842616
     52    notification_emails:
     53      - firefoxview@mozilla.com
     54    expires: never
     55    extra_keys:
     56      delta:
     57        description: >
     58          Time since the tab was closed to when dismissed
     59        type: string
     60      position:
     61        description: >
     62          The position of the tab in the recently closed tab list (starting at 1)
     63        type: quantity
     64      page:
     65        description: >
     66          The short page name where the recently closed tab was dismissed
     67        type: string
     68    telemetry_mirror: Firefoxview_next_DismissClosedTab_Tabs
     69 
     70  card_collapsed_card_container:
     71    type: event
     72    description: >
     73      Recorded when a card-container is collapsed on the 'Recent browsing'
     74      page
     75      This event was generated to correspond to the Legacy Telemetry event
     76      firefoxview_next.card_collapsed#card_container.
     77    bugs:
     78      - https://bugzil.la/1842616
     79    data_reviews:
     80      - https://bugzil.la/1842616
     81    notification_emails:
     82      - firefoxview@mozilla.com
     83    expires: never
     84    extra_keys:
     85      data_type:
     86        description: >
     87          The type of data being collapsed in a card on the 'Recent browsing' page
     88        type: string
     89    telemetry_mirror: Firefoxview_next_CardCollapsed_CardContainer
     90 
     91  card_expanded_card_container:
     92    type: event
     93    description: >
     94      Recorded when a card-container is expanded on the 'Recent browsing'
     95      page
     96      This event was generated to correspond to the Legacy Telemetry event
     97      firefoxview_next.card_expanded#card_container.
     98    bugs:
     99      - https://bugzil.la/1842616
    100    data_reviews:
    101      - https://bugzil.la/1842616
    102    notification_emails:
    103      - firefoxview@mozilla.com
    104    expires: never
    105    extra_keys:
    106      data_type:
    107        description: >
    108          The type of data being expanded in a card on the 'Recent browsing' page
    109        type: string
    110    telemetry_mirror: Firefoxview_next_CardExpanded_CardContainer
    111 
    112  change_page_navigation:
    113    type: event
    114    description: >
    115      Recorded when the page/view is changed in Firefox View
    116      This event was generated to correspond to the Legacy Telemetry event
    117      firefoxview_next.change_page#navigation.
    118    bugs:
    119      - https://bugzil.la/1842616
    120    data_reviews:
    121      - https://bugzil.la/1842616
    122    notification_emails:
    123      - firefoxview@mozilla.com
    124    expires: never
    125    extra_keys:
    126      page:
    127        description: >
    128          The short page name that the user is navigating to
    129        type: string
    130      source:
    131        description: >
    132          Whether the page was changed via the side navigation vs the 'View all' link on cards on the Recent browsing page
    133        type: string
    134    telemetry_mirror: Firefoxview_next_ChangePage_Navigation
    135 
    136  context_menu_tabs:
    137    type: event
    138    description: >
    139      Recorded when a context menu selection is made in Firefox View
    140      This event was generated to correspond to the Legacy Telemetry event
    141      firefoxview_next.context_menu#tabs.
    142    bugs:
    143      - https://bugzil.la/1842616
    144    data_reviews:
    145      - https://bugzil.la/1842616
    146    notification_emails:
    147      - firefoxview@mozilla.com
    148    expires: never
    149    extra_keys:
    150      menu_action:
    151        description: >
    152          The menu action the user has selected for a given tab
    153        type: string
    154      data_type:
    155        description: >
    156          The type of data the user has used the context menu for
    157        type: string
    158    telemetry_mirror: Firefoxview_next_ContextMenu_Tabs
    159 
    160  close_open_tab_tabs:
    161    type: event
    162    description: >
    163      Recorded when a tab is closed via the close button on an open tab
    164      row.
    165      This event was generated to correspond to the Legacy Telemetry event
    166      firefoxview_next.close_open_tab#tabs.
    167    bugs:
    168      - https://bugzil.la/1857298
    169    data_reviews:
    170      - https://bugzil.la/1857298
    171    notification_emails:
    172      - firefoxview@mozilla.com
    173    expires: never
    174    telemetry_mirror: Firefoxview_next_CloseOpenTab_Tabs
    175 
    176  browser_context_menu_tabs:
    177    type: event
    178    description: >
    179      Recorded when a browser context menu selection is made in Firefox
    180      View
    181      This event was generated to correspond to the Legacy Telemetry event
    182      firefoxview_next.browser_context_menu#tabs.
    183    bugs:
    184      - https://bugzil.la/1851197
    185    data_reviews:
    186      - https://bugzil.la/1851197
    187    notification_emails:
    188      - firefoxview@mozilla.com
    189    expires: never
    190    extra_keys:
    191      menu_action:
    192        description: >
    193          The menu action the user has selected for a given tab
    194        type: string
    195      page:
    196        description: >
    197          The short page name used as the location hash when selecting the Firefox View tab
    198        type: string
    199    telemetry_mirror: Firefoxview_next_BrowserContextMenu_Tabs
    200 
    201  entered_firefoxview:
    202    type: event
    203    description: >
    204      Recorded when the Firefox View tab is selected
    205      This event was generated to correspond to the Legacy Telemetry event
    206      firefoxview_next.entered#firefoxview.
    207    bugs:
    208      - https://bugzil.la/1852036
    209    data_reviews:
    210      - https://bugzil.la/1852036
    211    notification_emails:
    212      - firefoxview@mozilla.com
    213    expires: never
    214    extra_keys:
    215      page:
    216        description: >
    217          The short page name used as the location hash when selecting the Firefox View tab
    218        type: string
    219    telemetry_mirror: Firefoxview_next_Entered_Firefoxview
    220 
    221  fxa_continue_sync:
    222    type: event
    223    description: >
    224      Recorded when button to sign in or sign up is clicked
    225      This event was generated to correspond to the Legacy Telemetry event
    226      firefoxview_next.fxa_continue#sync.
    227    bugs:
    228      - https://bugzil.la/1833671
    229    data_reviews:
    230      - https://bugzil.la/1833671
    231    notification_emails:
    232      - firefoxview@mozilla.com
    233    expires: never
    234    telemetry_mirror: Firefoxview_next_FxaContinue_Sync
    235 
    236  fxa_mobile_sync:
    237    type: event
    238    description: >
    239      Recorded when the 'Try Firefox for mobile' button is clicked
    240      This event was generated to correspond to the Legacy Telemetry event
    241      firefoxview_next.fxa_mobile#sync.
    242    bugs:
    243      - https://bugzil.la/1833671
    244    data_reviews:
    245      - https://bugzil.la/1833671
    246    notification_emails:
    247      - firefoxview@mozilla.com
    248    expires: never
    249    extra_keys:
    250      has_devices:
    251        description: >
    252          True if user has other devices signed into sync
    253        type: boolean
    254    telemetry_mirror: Firefoxview_next_FxaMobile_Sync
    255 
    256  synced_tabs_tabs:
    257    type: event
    258    description: >
    259      Recorded when a synced tab is clicked
    260      This event was generated to correspond to the Legacy Telemetry event
    261      firefoxview_next.synced_tabs#tabs.
    262    bugs:
    263      - https://bugzil.la/1833671
    264    data_reviews:
    265      - https://bugzil.la/1833671
    266    notification_emails:
    267      - firefoxview@mozilla.com
    268    expires: never
    269    extra_keys:
    270      page:
    271        description: >
    272          The short page name where the synced tab was clicked
    273        type: string
    274    telemetry_mirror: Firefoxview_next_SyncedTabs_Tabs
    275 
    276  history_visits:
    277    type: event
    278    description: >
    279      Recorded when a history tab is clicked
    280      This event was generated to correspond to the Legacy Telemetry event
    281      firefoxview_next.history#visits.
    282    bugs:
    283      - https://bugzil.la/1842616
    284    data_reviews:
    285      - https://bugzil.la/1842616
    286    notification_emails:
    287      - firefoxview@mozilla.com
    288    expires: never
    289    telemetry_mirror: Firefoxview_next_History_Visits
    290 
    291  sort_history_tabs:
    292    type: event
    293    description: >
    294      Recorded when the sort option is changed for History in Firefox View
    295      This event was generated to correspond to the Legacy Telemetry event
    296      firefoxview_next.sort_history#tabs.
    297    bugs:
    298      - https://bugzil.la/1833674
    299    data_reviews:
    300      - https://bugzil.la/1833674
    301    notification_emails:
    302      - firefoxview@mozilla.com
    303    expires: never
    304    extra_keys:
    305      sort_type:
    306        description: >
    307          The type of sort the user has switched to
    308        type: string
    309      search_start:
    310        description: >
    311          Boolean for if the sort by click occured during search activity.
    312        type: string
    313    telemetry_mirror: Firefoxview_next_SortHistory_Tabs
    314 
    315  show_all_history_tabs:
    316    type: event
    317    description: >
    318      Recorded when the 'Show all history' button is clicked on the
    319      History page in Firefox View
    320      This event was generated to correspond to the Legacy Telemetry event
    321      firefoxview_next.show_all_history#tabs.
    322    bugs:
    323      - https://bugzil.la/1833674
    324    data_reviews:
    325      - https://bugzil.la/1833674
    326    notification_emails:
    327      - firefoxview@mozilla.com
    328    expires: never
    329    telemetry_mirror: Firefoxview_next_ShowAllHistory_Tabs
    330 
    331  open_tab_tabs:
    332    type: event
    333    description: >
    334      Recorded when an open tab is clicked
    335      This event was generated to correspond to the Legacy Telemetry event
    336      firefoxview_next.open_tab#tabs.
    337    bugs:
    338      - https://bugzil.la/1833669
    339    data_reviews:
    340      - https://bugzil.la/1833669
    341    notification_emails:
    342      - firefoxview@mozilla.com
    343    expires: never
    344    extra_keys:
    345      page:
    346        description: >
    347          The short page name where the open tab was clicked
    348        type: string
    349      window:
    350        description: >
    351          The window the open tab belongs to
    352        type: string
    353    telemetry_mirror: Firefoxview_next_OpenTab_Tabs
    354 
    355  tab_selected_toolbarbutton:
    356    type: event
    357    description: >
    358      Recorded when the Firefox View tab is clicked
    359      This event was generated to correspond to the Legacy Telemetry event
    360      firefoxview_next.tab_selected#toolbarbutton.
    361    bugs:
    362      - https://bugzil.la/1852989
    363    data_reviews:
    364      - https://bugzil.la/1852989
    365    notification_emails:
    366      - firefoxview@mozilla.com
    367    expires: never
    368    telemetry_mirror: Firefoxview_next_TabSelected_Toolbarbutton
    369 
    370  search_initiated_search:
    371    type: event
    372    description: >
    373      Recorded when search is initiated and from what page.
    374      This event was generated to correspond to the Legacy Telemetry event
    375      firefoxview_next.search_initiated#search.
    376    bugs:
    377      - https://bugzil.la/1869765
    378    data_reviews:
    379      - https://bugzil.la/1869765
    380    notification_emails:
    381      - firefoxview@mozilla.com
    382    expires: never
    383    extra_keys:
    384      page:
    385        description: >
    386          The short page name used as the location hash when selecting the Firefox View tab.
    387        type: string
    388    telemetry_mirror: Firefoxview_next_SearchInitiated_Search
    389 
    390  search_show_all_showallbutton:
    391    type: event
    392    description: >
    393      Recorded when the show all button is clicked to show more search
    394      results.
    395      This event was generated to correspond to the Legacy Telemetry event
    396      firefoxview_next.search_show_all#showallbutton.
    397    bugs:
    398      - https://bugzil.la/1869765
    399    data_reviews:
    400      - https://bugzil.la/1869765
    401    notification_emails:
    402      - firefoxview@mozilla.com
    403    expires: never
    404    extra_keys:
    405      section:
    406        description: >
    407          Section within which show all is clicked.
    408        type: string
    409    telemetry_mirror: Firefoxview_next_SearchShowAll_Showallbutton
    410 
    411 firefoxview:
    412  cumulative_searches:
    413    type: labeled_custom_distribution
    414    description: >
    415      Cumulative no. of searches performed before selecting a resulting tab.
    416 
    417      This metric was generated to correspond to the Legacy Telemetry enumerated
    418      histogram FIREFOX_VIEW_CUMULATIVE_SEARCHES.
    419    labels:
    420      - recentbrowsing
    421      - opentabs
    422      - recentlyclosed
    423      - history
    424      - syncedtabs
    425    range_min: 0
    426    range_max: 100
    427    bucket_count: 101
    428    histogram_type: linear
    429    bugs:
    430      - https://bugzilla.mozilla.org/show_bug.cgi?id=1869765
    431    data_reviews:
    432      - https://bugzilla.mozilla.org/show_bug.cgi?id=1869765
    433    notification_emails:
    434      - firefoxview@mozilla.com
    435    expires: never
    436    telemetry_mirror: FIREFOX_VIEW_CUMULATIVE_SEARCHES