File: metrics.yaml

package info (click to toggle)
firefox 141.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,550,588 kB
  • sloc: cpp: 7,426,506; javascript: 6,367,238; ansic: 3,707,351; python: 1,369,002; xml: 623,983; asm: 426,918; java: 184,324; sh: 64,488; makefile: 19,203; objc: 13,059; perl: 12,955; yacc: 4,583; cs: 3,846; pascal: 3,352; lex: 1,720; ruby: 1,071; exp: 762; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10
file content (436 lines) | stat: -rw-r--r-- 13,561 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# Adding a new metric? We have docs for that!
# https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html

---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
  - 'Firefox :: Firefox View'

firefoxview_next:
  recently_closed_tabs:
    type: event
    description: >
      Recorded when a recently closed tab is clicked
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.recently_closed#tabs.
    bugs:
      - https://bugzil.la/1842616
    data_reviews:
      - https://bugzil.la/1842616
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      delta:
        description: >
          Time since the tab was closed
        type: string
      position:
        description: >
          The position of the tab in the recently closed tab list (starting at 1)
        type: quantity
      page:
        description: >
          The short page name where the recently closed tab was clicked
        type: string
    telemetry_mirror: Firefoxview_next_RecentlyClosed_Tabs

  dismiss_closed_tab_tabs:
    type: event
    description: >
      Recorded when a recently closed tab is dismissed
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.dismiss_closed_tab#tabs.
    bugs:
      - https://bugzil.la/1842616
    data_reviews:
      - https://bugzil.la/1842616
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      delta:
        description: >
          Time since the tab was closed to when dismissed
        type: string
      position:
        description: >
          The position of the tab in the recently closed tab list (starting at 1)
        type: quantity
      page:
        description: >
          The short page name where the recently closed tab was dismissed
        type: string
    telemetry_mirror: Firefoxview_next_DismissClosedTab_Tabs

  card_collapsed_card_container:
    type: event
    description: >
      Recorded when a card-container is collapsed on the 'Recent browsing'
      page
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.card_collapsed#card_container.
    bugs:
      - https://bugzil.la/1842616
    data_reviews:
      - https://bugzil.la/1842616
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      data_type:
        description: >
          The type of data being collapsed in a card on the 'Recent browsing' page
        type: string
    telemetry_mirror: Firefoxview_next_CardCollapsed_CardContainer

  card_expanded_card_container:
    type: event
    description: >
      Recorded when a card-container is expanded on the 'Recent browsing'
      page
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.card_expanded#card_container.
    bugs:
      - https://bugzil.la/1842616
    data_reviews:
      - https://bugzil.la/1842616
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      data_type:
        description: >
          The type of data being expanded in a card on the 'Recent browsing' page
        type: string
    telemetry_mirror: Firefoxview_next_CardExpanded_CardContainer

  change_page_navigation:
    type: event
    description: >
      Recorded when the page/view is changed in Firefox View
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.change_page#navigation.
    bugs:
      - https://bugzil.la/1842616
    data_reviews:
      - https://bugzil.la/1842616
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      page:
        description: >
          The short page name that the user is navigating to
        type: string
      source:
        description: >
          Whether the page was changed via the side navigation vs the 'View all' link on cards on the Recent browsing page
        type: string
    telemetry_mirror: Firefoxview_next_ChangePage_Navigation

  context_menu_tabs:
    type: event
    description: >
      Recorded when a context menu selection is made in Firefox View
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.context_menu#tabs.
    bugs:
      - https://bugzil.la/1842616
    data_reviews:
      - https://bugzil.la/1842616
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      menu_action:
        description: >
          The menu action the user has selected for a given tab
        type: string
      data_type:
        description: >
          The type of data the user has used the context menu for
        type: string
    telemetry_mirror: Firefoxview_next_ContextMenu_Tabs

  close_open_tab_tabs:
    type: event
    description: >
      Recorded when a tab is closed via the close button on an open tab
      row.
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.close_open_tab#tabs.
    bugs:
      - https://bugzil.la/1857298
    data_reviews:
      - https://bugzil.la/1857298
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    telemetry_mirror: Firefoxview_next_CloseOpenTab_Tabs

  browser_context_menu_tabs:
    type: event
    description: >
      Recorded when a browser context menu selection is made in Firefox
      View
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.browser_context_menu#tabs.
    bugs:
      - https://bugzil.la/1851197
    data_reviews:
      - https://bugzil.la/1851197
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      menu_action:
        description: >
          The menu action the user has selected for a given tab
        type: string
      page:
        description: >
          The short page name used as the location hash when selecting the Firefox View tab
        type: string
    telemetry_mirror: Firefoxview_next_BrowserContextMenu_Tabs

  entered_firefoxview:
    type: event
    description: >
      Recorded when the Firefox View tab is selected
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.entered#firefoxview.
    bugs:
      - https://bugzil.la/1852036
    data_reviews:
      - https://bugzil.la/1852036
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      page:
        description: >
          The short page name used as the location hash when selecting the Firefox View tab
        type: string
    telemetry_mirror: Firefoxview_next_Entered_Firefoxview

  fxa_continue_sync:
    type: event
    description: >
      Recorded when button to sign in or sign up is clicked
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.fxa_continue#sync.
    bugs:
      - https://bugzil.la/1833671
    data_reviews:
      - https://bugzil.la/1833671
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    telemetry_mirror: Firefoxview_next_FxaContinue_Sync

  fxa_mobile_sync:
    type: event
    description: >
      Recorded when the 'Try Firefox for mobile' button is clicked
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.fxa_mobile#sync.
    bugs:
      - https://bugzil.la/1833671
    data_reviews:
      - https://bugzil.la/1833671
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      has_devices:
        description: >
          True if user has other devices signed into sync
        type: boolean
    telemetry_mirror: Firefoxview_next_FxaMobile_Sync

  synced_tabs_tabs:
    type: event
    description: >
      Recorded when a synced tab is clicked
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.synced_tabs#tabs.
    bugs:
      - https://bugzil.la/1833671
    data_reviews:
      - https://bugzil.la/1833671
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      page:
        description: >
          The short page name where the synced tab was clicked
        type: string
    telemetry_mirror: Firefoxview_next_SyncedTabs_Tabs

  history_visits:
    type: event
    description: >
      Recorded when a history tab is clicked
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.history#visits.
    bugs:
      - https://bugzil.la/1842616
    data_reviews:
      - https://bugzil.la/1842616
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    telemetry_mirror: Firefoxview_next_History_Visits

  sort_history_tabs:
    type: event
    description: >
      Recorded when the sort option is changed for History in Firefox View
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.sort_history#tabs.
    bugs:
      - https://bugzil.la/1833674
    data_reviews:
      - https://bugzil.la/1833674
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      sort_type:
        description: >
          The type of sort the user has switched to
        type: string
      search_start:
        description: >
          Boolean for if the sort by click occured during search activity.
        type: string
    telemetry_mirror: Firefoxview_next_SortHistory_Tabs

  show_all_history_tabs:
    type: event
    description: >
      Recorded when the 'Show all history' button is clicked on the
      History page in Firefox View
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.show_all_history#tabs.
    bugs:
      - https://bugzil.la/1833674
    data_reviews:
      - https://bugzil.la/1833674
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    telemetry_mirror: Firefoxview_next_ShowAllHistory_Tabs

  open_tab_tabs:
    type: event
    description: >
      Recorded when an open tab is clicked
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.open_tab#tabs.
    bugs:
      - https://bugzil.la/1833669
    data_reviews:
      - https://bugzil.la/1833669
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      page:
        description: >
          The short page name where the open tab was clicked
        type: string
      window:
        description: >
          The window the open tab belongs to
        type: string
    telemetry_mirror: Firefoxview_next_OpenTab_Tabs

  tab_selected_toolbarbutton:
    type: event
    description: >
      Recorded when the Firefox View tab is clicked
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.tab_selected#toolbarbutton.
    bugs:
      - https://bugzil.la/1852989
    data_reviews:
      - https://bugzil.la/1852989
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    telemetry_mirror: Firefoxview_next_TabSelected_Toolbarbutton

  search_initiated_search:
    type: event
    description: >
      Recorded when search is initiated and from what page.
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.search_initiated#search.
    bugs:
      - https://bugzil.la/1869765
    data_reviews:
      - https://bugzil.la/1869765
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      page:
        description: >
          The short page name used as the location hash when selecting the Firefox View tab.
        type: string
    telemetry_mirror: Firefoxview_next_SearchInitiated_Search

  search_show_all_showallbutton:
    type: event
    description: >
      Recorded when the show all button is clicked to show more search
      results.
      This event was generated to correspond to the Legacy Telemetry event
      firefoxview_next.search_show_all#showallbutton.
    bugs:
      - https://bugzil.la/1869765
    data_reviews:
      - https://bugzil.la/1869765
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    extra_keys:
      section:
        description: >
          Section within which show all is clicked.
        type: string
    telemetry_mirror: Firefoxview_next_SearchShowAll_Showallbutton

firefoxview:
  cumulative_searches:
    type: labeled_custom_distribution
    description: >
      Cumulative no. of searches performed before selecting a resulting tab.

      This metric was generated to correspond to the Legacy Telemetry enumerated
      histogram FIREFOX_VIEW_CUMULATIVE_SEARCHES.
    labels:
      - recentbrowsing
      - opentabs
      - recentlyclosed
      - history
      - syncedtabs
    range_min: 0
    range_max: 100
    bucket_count: 101
    histogram_type: linear
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1869765
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1869765
    notification_emails:
      - firefoxview@mozilla.com
    expires: never
    telemetry_mirror: FIREFOX_VIEW_CUMULATIVE_SEARCHES