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 (387 lines) | stat: -rw-r--r-- 14,538 bytes parent folder | download | duplicates (4)
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
# 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 :: Screenshots'

screenshots:
  download_overlay_download:
    type: event
    description: >
      Recorded when a user downloads a screenshot from the overlay or the
      preview.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.download#overlay_download.
    bugs: &screenshots_download_bugs
      - https://bugzil.la/1801019
    data_reviews: &screenshots_download_data_reviews
      - https://bugzil.la/1801019
    notification_emails: &screenshots_download_emails
      - screenshots-dev@mozilla.org
    expires: never
    extra_keys: &screenshots_download_extra
      fullpage:
        description: >
          Number of times a full page was selected
        type: string
      visible:
        description: >
          Number of times a visible page was selected
        type: string
      element:
        description: >
          Number of times an element was selected
        type: string
      region:
        description: >
          Number of times a region was selected
        type: string
      move:
        description: >
          Number of times a region was moved
        type: string
      resize:
        description: >
          Number of times a region was resized
        type: string
    telemetry_mirror: Screenshots_Download_OverlayDownload

  download_preview_download:
    type: event
    description: >
      Recorded when a user downloads a screenshot from the overlay or the
      preview.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.download#preview_download.
    bugs: *screenshots_download_bugs
    data_reviews: *screenshots_download_data_reviews
    notification_emails: *screenshots_download_emails
    expires: never
    extra_keys: *screenshots_download_extra
    telemetry_mirror: Screenshots_Download_PreviewDownload

  copy_overlay_copy:
    type: event
    description: >
      Recorded when a user copies a screenshot from the overlay or the
      preview.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.copy#overlay_copy.
    bugs: &screenshots_copy_bugs
      - https://bugzil.la/1801019
    data_reviews: &screenshots_copy_data_reviews
      - https://bugzil.la/1801019
    notification_emails: &screenshots_copy_emails
      - screenshots-dev@mozilla.org
    expires: never
    extra_keys: &screenshots_copy_extra
      fullpage:
        description: >
          Number of times a full page was selected
        type: string
      visible:
        description: >
          Number of times a visible page was selected
        type: string
      element:
        description: >
          Number of times an element was selected
        type: string
      region:
        description: >
          Number of times a region was selected
        type: string
      move:
        description: >
          Number of times a region was moved
        type: string
      resize:
        description: >
          Number of times a region was resized
        type: string
    telemetry_mirror: Screenshots_Copy_OverlayCopy

  copy_preview_copy:
    type: event
    description: >
      Recorded when a user copies a screenshot from the overlay or the
      preview.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.copy#preview_copy.
    bugs: *screenshots_copy_bugs
    data_reviews: *screenshots_copy_data_reviews
    notification_emails: *screenshots_copy_emails
    expires: never
    extra_keys: *screenshots_copy_extra
    telemetry_mirror: Screenshots_Copy_PreviewCopy

  selected_element:
    type: event
    description: >
      Recorded when a user selects a region by hand, selects an element,
      selects the save visible, or selects save full page. Note that this
      is recorded independent of whether or not the screenshot is saved.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.selected#element.
    bugs: &screenshots_selected_bugs
      - https://bugzil.la/1801019
    data_reviews: &screenshots_selected_data_reviews
      - https://bugzil.la/1801019
    notification_emails: &screenshots_selected_emails
      - screenshots-dev@mozilla.org
    expires: never
    telemetry_mirror: Screenshots_Selected_Element

  selected_region_selection:
    type: event
    description: >
      Recorded when a user selects a region by hand, selects an element,
      selects the save visible, or selects save full page. Note that this
      is recorded independent of whether or not the screenshot is saved.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.selected#region_selection.
    bugs: *screenshots_selected_bugs
    data_reviews: *screenshots_selected_data_reviews
    notification_emails: *screenshots_selected_emails
    expires: never
    telemetry_mirror: Screenshots_Selected_RegionSelection

  selected_visible:
    type: event
    description: >
      Recorded when a user selects a region by hand, selects an element,
      selects the save visible, or selects save full page. Note that this
      is recorded independent of whether or not the screenshot is saved.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.selected#visible.
    bugs: *screenshots_selected_bugs
    data_reviews: *screenshots_selected_data_reviews
    notification_emails: *screenshots_selected_emails
    expires: never
    telemetry_mirror: Screenshots_Selected_Visible

  selected_full_page:
    type: event
    description: >
      Recorded when a user selects a region by hand, selects an element,
      selects the save visible, or selects save full page. Note that this
      is recorded independent of whether or not the screenshot is saved.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.selected#full_page.
    bugs: *screenshots_selected_bugs
    data_reviews: *screenshots_selected_data_reviews
    notification_emails: *screenshots_selected_emails
    expires: never
    telemetry_mirror: Screenshots_Selected_FullPage

  started_toolbar_button:
    type: event
    description: >
      Recorded when a user opens the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.started#toolbar_button.
    bugs: &screenshots_started_bugs
      - https://bugzil.la/1801019
    data_reviews: &screenshots_started_data_reviews
      - https://bugzil.la/1801019
    notification_emails: &screenshots_started_emails
      - screenshots-dev@mozilla.org
    expires: never
    telemetry_mirror: Screenshots_Started_ToolbarButton

  started_shortcut:
    type: event
    description: >
      Recorded when a user opens the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.started#shortcut.
    bugs: *screenshots_started_bugs
    data_reviews: *screenshots_started_data_reviews
    notification_emails: *screenshots_started_emails
    expires: never
    telemetry_mirror: Screenshots_Started_Shortcut

  started_context_menu:
    type: event
    description: >
      Recorded when a user opens the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.started#context_menu.
    bugs: *screenshots_started_bugs
    data_reviews: *screenshots_started_data_reviews
    notification_emails: *screenshots_started_emails
    expires: never
    telemetry_mirror: Screenshots_Started_ContextMenu

  started_quick_actions:
    type: event
    description: >
      Recorded when a user opens the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.started#quick_actions.
    bugs: *screenshots_started_bugs
    data_reviews: *screenshots_started_data_reviews
    notification_emails: *screenshots_started_emails
    expires: never
    telemetry_mirror: Screenshots_Started_QuickActions

  started_preview_retry:
    type: event
    description: >
      Recorded when a user opens the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.started#preview_retry.
    bugs: *screenshots_started_bugs
    data_reviews: *screenshots_started_data_reviews
    notification_emails: *screenshots_started_emails
    expires: never
    telemetry_mirror: Screenshots_Started_PreviewRetry

  started_overlay_retry:
    type: event
    description: >
      Recorded when a user opens the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.started#overlay_retry.
    bugs: *screenshots_started_bugs
    data_reviews: *screenshots_started_data_reviews
    notification_emails: *screenshots_started_emails
    expires: never
    telemetry_mirror: Screenshots_Started_OverlayRetry

  canceled_toolbar_button:
    type: event
    description: >
      Recorded when a user closes the screenshots ui. The screenshots ui
      is closed after copying/downloading but we do not record that as
      canceling the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.canceled#toolbar_button.
    bugs: &screenshots_canceled_bugs
      - https://bugzil.la/1801019
    data_reviews: &screenshots_canceled_data_reviews
      - https://bugzil.la/1801019
    notification_emails: &screenshots_canceled_emails
      - screenshots-dev@mozilla.org
    expires: never
    telemetry_mirror: Screenshots_Canceled_ToolbarButton

  canceled_shortcut:
    type: event
    description: >
      Recorded when a user closes the screenshots ui. The screenshots ui
      is closed after copying/downloading but we do not record that as
      canceling the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.canceled#shortcut.
    bugs: *screenshots_canceled_bugs
    data_reviews: *screenshots_canceled_data_reviews
    notification_emails: *screenshots_canceled_emails
    expires: never
    telemetry_mirror: Screenshots_Canceled_Shortcut

  canceled_context_menu:
    type: event
    description: >
      Recorded when a user closes the screenshots ui. The screenshots ui
      is closed after copying/downloading but we do not record that as
      canceling the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.canceled#context_menu.
    bugs: *screenshots_canceled_bugs
    data_reviews: *screenshots_canceled_data_reviews
    notification_emails: *screenshots_canceled_emails
    expires: never
    telemetry_mirror: Screenshots_Canceled_ContextMenu

  canceled_quick_actions:
    type: event
    description: >
      Recorded when a user closes the screenshots ui. The screenshots ui
      is closed after copying/downloading but we do not record that as
      canceling the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.canceled#quick_actions.
    bugs: *screenshots_canceled_bugs
    data_reviews: *screenshots_canceled_data_reviews
    notification_emails: *screenshots_canceled_emails
    expires: never
    telemetry_mirror: Screenshots_Canceled_QuickActions

  canceled_preview_cancel:
    type: event
    description: >
      Recorded when a user closes the screenshots ui. The screenshots ui
      is closed after copying/downloading but we do not record that as
      canceling the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.canceled#preview_cancel.
    bugs: *screenshots_canceled_bugs
    data_reviews: *screenshots_canceled_data_reviews
    notification_emails: *screenshots_canceled_emails
    expires: never
    telemetry_mirror: Screenshots_Canceled_PreviewCancel

  canceled_overlay_cancel:
    type: event
    description: >
      Recorded when a user closes the screenshots ui. The screenshots ui
      is closed after copying/downloading but we do not record that as
      canceling the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.canceled#overlay_cancel.
    bugs: *screenshots_canceled_bugs
    data_reviews: *screenshots_canceled_data_reviews
    notification_emails: *screenshots_canceled_emails
    expires: never
    telemetry_mirror: Screenshots_Canceled_OverlayCancel

  canceled_escape:
    type: event
    description: >
      Recorded when a user closes the screenshots ui. The screenshots ui
      is closed after copying/downloading but we do not record that as
      canceling the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.canceled#escape.
    bugs: *screenshots_canceled_bugs
    data_reviews: *screenshots_canceled_data_reviews
    notification_emails: *screenshots_canceled_emails
    expires: never
    telemetry_mirror: Screenshots_Canceled_Escape

  canceled_navigation:
    type: event
    description: >
      Recorded when a user closes the screenshots ui. The screenshots ui
      is closed after copying/downloading but we do not record that as
      canceling the screenshots ui.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.canceled#navigation.
    bugs: *screenshots_canceled_bugs
    data_reviews: *screenshots_canceled_data_reviews
    notification_emails: *screenshots_canceled_emails
    expires: never
    telemetry_mirror: Screenshots_Canceled_Navigation

  failed_screenshot_too_large:
    type: event
    description: >
      Recorded when a screenshot is too big to capture and we have to crop
      the screenshot.
      This event was generated to correspond to the Legacy Telemetry event
      screenshots.failed#screenshot_too_large.
    bugs:
      - https://bugzil.la/1801019
    data_reviews:
      - https://bugzil.la/1801019
    notification_emails:
      - screenshots-dev@mozilla.org
    expires: never
    telemetry_mirror: Screenshots_Failed_ScreenshotTooLarge