metrics.yaml (14538B)
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 :: Screenshots' 12 13 screenshots: 14 download_overlay_download: 15 type: event 16 description: > 17 Recorded when a user downloads a screenshot from the overlay or the 18 preview. 19 This event was generated to correspond to the Legacy Telemetry event 20 screenshots.download#overlay_download. 21 bugs: &screenshots_download_bugs 22 - https://bugzil.la/1801019 23 data_reviews: &screenshots_download_data_reviews 24 - https://bugzil.la/1801019 25 notification_emails: &screenshots_download_emails 26 - screenshots-dev@mozilla.org 27 expires: never 28 extra_keys: &screenshots_download_extra 29 fullpage: 30 description: > 31 Number of times a full page was selected 32 type: string 33 visible: 34 description: > 35 Number of times a visible page was selected 36 type: string 37 element: 38 description: > 39 Number of times an element was selected 40 type: string 41 region: 42 description: > 43 Number of times a region was selected 44 type: string 45 move: 46 description: > 47 Number of times a region was moved 48 type: string 49 resize: 50 description: > 51 Number of times a region was resized 52 type: string 53 telemetry_mirror: Screenshots_Download_OverlayDownload 54 55 download_preview_download: 56 type: event 57 description: > 58 Recorded when a user downloads a screenshot from the overlay or the 59 preview. 60 This event was generated to correspond to the Legacy Telemetry event 61 screenshots.download#preview_download. 62 bugs: *screenshots_download_bugs 63 data_reviews: *screenshots_download_data_reviews 64 notification_emails: *screenshots_download_emails 65 expires: never 66 extra_keys: *screenshots_download_extra 67 telemetry_mirror: Screenshots_Download_PreviewDownload 68 69 copy_overlay_copy: 70 type: event 71 description: > 72 Recorded when a user copies a screenshot from the overlay or the 73 preview. 74 This event was generated to correspond to the Legacy Telemetry event 75 screenshots.copy#overlay_copy. 76 bugs: &screenshots_copy_bugs 77 - https://bugzil.la/1801019 78 data_reviews: &screenshots_copy_data_reviews 79 - https://bugzil.la/1801019 80 notification_emails: &screenshots_copy_emails 81 - screenshots-dev@mozilla.org 82 expires: never 83 extra_keys: &screenshots_copy_extra 84 fullpage: 85 description: > 86 Number of times a full page was selected 87 type: string 88 visible: 89 description: > 90 Number of times a visible page was selected 91 type: string 92 element: 93 description: > 94 Number of times an element was selected 95 type: string 96 region: 97 description: > 98 Number of times a region was selected 99 type: string 100 move: 101 description: > 102 Number of times a region was moved 103 type: string 104 resize: 105 description: > 106 Number of times a region was resized 107 type: string 108 telemetry_mirror: Screenshots_Copy_OverlayCopy 109 110 copy_preview_copy: 111 type: event 112 description: > 113 Recorded when a user copies a screenshot from the overlay or the 114 preview. 115 This event was generated to correspond to the Legacy Telemetry event 116 screenshots.copy#preview_copy. 117 bugs: *screenshots_copy_bugs 118 data_reviews: *screenshots_copy_data_reviews 119 notification_emails: *screenshots_copy_emails 120 expires: never 121 extra_keys: *screenshots_copy_extra 122 telemetry_mirror: Screenshots_Copy_PreviewCopy 123 124 selected_element: 125 type: event 126 description: > 127 Recorded when a user selects a region by hand, selects an element, 128 selects the save visible, or selects save full page. Note that this 129 is recorded independent of whether or not the screenshot is saved. 130 This event was generated to correspond to the Legacy Telemetry event 131 screenshots.selected#element. 132 bugs: &screenshots_selected_bugs 133 - https://bugzil.la/1801019 134 data_reviews: &screenshots_selected_data_reviews 135 - https://bugzil.la/1801019 136 notification_emails: &screenshots_selected_emails 137 - screenshots-dev@mozilla.org 138 expires: never 139 telemetry_mirror: Screenshots_Selected_Element 140 141 selected_region_selection: 142 type: event 143 description: > 144 Recorded when a user selects a region by hand, selects an element, 145 selects the save visible, or selects save full page. Note that this 146 is recorded independent of whether or not the screenshot is saved. 147 This event was generated to correspond to the Legacy Telemetry event 148 screenshots.selected#region_selection. 149 bugs: *screenshots_selected_bugs 150 data_reviews: *screenshots_selected_data_reviews 151 notification_emails: *screenshots_selected_emails 152 expires: never 153 telemetry_mirror: Screenshots_Selected_RegionSelection 154 155 selected_visible: 156 type: event 157 description: > 158 Recorded when a user selects a region by hand, selects an element, 159 selects the save visible, or selects save full page. Note that this 160 is recorded independent of whether or not the screenshot is saved. 161 This event was generated to correspond to the Legacy Telemetry event 162 screenshots.selected#visible. 163 bugs: *screenshots_selected_bugs 164 data_reviews: *screenshots_selected_data_reviews 165 notification_emails: *screenshots_selected_emails 166 expires: never 167 telemetry_mirror: Screenshots_Selected_Visible 168 169 selected_full_page: 170 type: event 171 description: > 172 Recorded when a user selects a region by hand, selects an element, 173 selects the save visible, or selects save full page. Note that this 174 is recorded independent of whether or not the screenshot is saved. 175 This event was generated to correspond to the Legacy Telemetry event 176 screenshots.selected#full_page. 177 bugs: *screenshots_selected_bugs 178 data_reviews: *screenshots_selected_data_reviews 179 notification_emails: *screenshots_selected_emails 180 expires: never 181 telemetry_mirror: Screenshots_Selected_FullPage 182 183 started_toolbar_button: 184 type: event 185 description: > 186 Recorded when a user opens the screenshots ui. 187 This event was generated to correspond to the Legacy Telemetry event 188 screenshots.started#toolbar_button. 189 bugs: &screenshots_started_bugs 190 - https://bugzil.la/1801019 191 data_reviews: &screenshots_started_data_reviews 192 - https://bugzil.la/1801019 193 notification_emails: &screenshots_started_emails 194 - screenshots-dev@mozilla.org 195 expires: never 196 telemetry_mirror: Screenshots_Started_ToolbarButton 197 198 started_shortcut: 199 type: event 200 description: > 201 Recorded when a user opens the screenshots ui. 202 This event was generated to correspond to the Legacy Telemetry event 203 screenshots.started#shortcut. 204 bugs: *screenshots_started_bugs 205 data_reviews: *screenshots_started_data_reviews 206 notification_emails: *screenshots_started_emails 207 expires: never 208 telemetry_mirror: Screenshots_Started_Shortcut 209 210 started_context_menu: 211 type: event 212 description: > 213 Recorded when a user opens the screenshots ui. 214 This event was generated to correspond to the Legacy Telemetry event 215 screenshots.started#context_menu. 216 bugs: *screenshots_started_bugs 217 data_reviews: *screenshots_started_data_reviews 218 notification_emails: *screenshots_started_emails 219 expires: never 220 telemetry_mirror: Screenshots_Started_ContextMenu 221 222 started_quick_actions: 223 type: event 224 description: > 225 Recorded when a user opens the screenshots ui. 226 This event was generated to correspond to the Legacy Telemetry event 227 screenshots.started#quick_actions. 228 bugs: *screenshots_started_bugs 229 data_reviews: *screenshots_started_data_reviews 230 notification_emails: *screenshots_started_emails 231 expires: never 232 telemetry_mirror: Screenshots_Started_QuickActions 233 234 started_preview_retry: 235 type: event 236 description: > 237 Recorded when a user opens the screenshots ui. 238 This event was generated to correspond to the Legacy Telemetry event 239 screenshots.started#preview_retry. 240 bugs: *screenshots_started_bugs 241 data_reviews: *screenshots_started_data_reviews 242 notification_emails: *screenshots_started_emails 243 expires: never 244 telemetry_mirror: Screenshots_Started_PreviewRetry 245 246 started_overlay_retry: 247 type: event 248 description: > 249 Recorded when a user opens the screenshots ui. 250 This event was generated to correspond to the Legacy Telemetry event 251 screenshots.started#overlay_retry. 252 bugs: *screenshots_started_bugs 253 data_reviews: *screenshots_started_data_reviews 254 notification_emails: *screenshots_started_emails 255 expires: never 256 telemetry_mirror: Screenshots_Started_OverlayRetry 257 258 canceled_toolbar_button: 259 type: event 260 description: > 261 Recorded when a user closes the screenshots ui. The screenshots ui 262 is closed after copying/downloading but we do not record that as 263 canceling the screenshots ui. 264 This event was generated to correspond to the Legacy Telemetry event 265 screenshots.canceled#toolbar_button. 266 bugs: &screenshots_canceled_bugs 267 - https://bugzil.la/1801019 268 data_reviews: &screenshots_canceled_data_reviews 269 - https://bugzil.la/1801019 270 notification_emails: &screenshots_canceled_emails 271 - screenshots-dev@mozilla.org 272 expires: never 273 telemetry_mirror: Screenshots_Canceled_ToolbarButton 274 275 canceled_shortcut: 276 type: event 277 description: > 278 Recorded when a user closes the screenshots ui. The screenshots ui 279 is closed after copying/downloading but we do not record that as 280 canceling the screenshots ui. 281 This event was generated to correspond to the Legacy Telemetry event 282 screenshots.canceled#shortcut. 283 bugs: *screenshots_canceled_bugs 284 data_reviews: *screenshots_canceled_data_reviews 285 notification_emails: *screenshots_canceled_emails 286 expires: never 287 telemetry_mirror: Screenshots_Canceled_Shortcut 288 289 canceled_context_menu: 290 type: event 291 description: > 292 Recorded when a user closes the screenshots ui. The screenshots ui 293 is closed after copying/downloading but we do not record that as 294 canceling the screenshots ui. 295 This event was generated to correspond to the Legacy Telemetry event 296 screenshots.canceled#context_menu. 297 bugs: *screenshots_canceled_bugs 298 data_reviews: *screenshots_canceled_data_reviews 299 notification_emails: *screenshots_canceled_emails 300 expires: never 301 telemetry_mirror: Screenshots_Canceled_ContextMenu 302 303 canceled_quick_actions: 304 type: event 305 description: > 306 Recorded when a user closes the screenshots ui. The screenshots ui 307 is closed after copying/downloading but we do not record that as 308 canceling the screenshots ui. 309 This event was generated to correspond to the Legacy Telemetry event 310 screenshots.canceled#quick_actions. 311 bugs: *screenshots_canceled_bugs 312 data_reviews: *screenshots_canceled_data_reviews 313 notification_emails: *screenshots_canceled_emails 314 expires: never 315 telemetry_mirror: Screenshots_Canceled_QuickActions 316 317 canceled_preview_cancel: 318 type: event 319 description: > 320 Recorded when a user closes the screenshots ui. The screenshots ui 321 is closed after copying/downloading but we do not record that as 322 canceling the screenshots ui. 323 This event was generated to correspond to the Legacy Telemetry event 324 screenshots.canceled#preview_cancel. 325 bugs: *screenshots_canceled_bugs 326 data_reviews: *screenshots_canceled_data_reviews 327 notification_emails: *screenshots_canceled_emails 328 expires: never 329 telemetry_mirror: Screenshots_Canceled_PreviewCancel 330 331 canceled_overlay_cancel: 332 type: event 333 description: > 334 Recorded when a user closes the screenshots ui. The screenshots ui 335 is closed after copying/downloading but we do not record that as 336 canceling the screenshots ui. 337 This event was generated to correspond to the Legacy Telemetry event 338 screenshots.canceled#overlay_cancel. 339 bugs: *screenshots_canceled_bugs 340 data_reviews: *screenshots_canceled_data_reviews 341 notification_emails: *screenshots_canceled_emails 342 expires: never 343 telemetry_mirror: Screenshots_Canceled_OverlayCancel 344 345 canceled_escape: 346 type: event 347 description: > 348 Recorded when a user closes the screenshots ui. The screenshots ui 349 is closed after copying/downloading but we do not record that as 350 canceling the screenshots ui. 351 This event was generated to correspond to the Legacy Telemetry event 352 screenshots.canceled#escape. 353 bugs: *screenshots_canceled_bugs 354 data_reviews: *screenshots_canceled_data_reviews 355 notification_emails: *screenshots_canceled_emails 356 expires: never 357 telemetry_mirror: Screenshots_Canceled_Escape 358 359 canceled_navigation: 360 type: event 361 description: > 362 Recorded when a user closes the screenshots ui. The screenshots ui 363 is closed after copying/downloading but we do not record that as 364 canceling the screenshots ui. 365 This event was generated to correspond to the Legacy Telemetry event 366 screenshots.canceled#navigation. 367 bugs: *screenshots_canceled_bugs 368 data_reviews: *screenshots_canceled_data_reviews 369 notification_emails: *screenshots_canceled_emails 370 expires: never 371 telemetry_mirror: Screenshots_Canceled_Navigation 372 373 failed_screenshot_too_large: 374 type: event 375 description: > 376 Recorded when a screenshot is too big to capture and we have to crop 377 the screenshot. 378 This event was generated to correspond to the Legacy Telemetry event 379 screenshots.failed#screenshot_too_large. 380 bugs: 381 - https://bugzil.la/1801019 382 data_reviews: 383 - https://bugzil.la/1801019 384 notification_emails: 385 - screenshots-dev@mozilla.org 386 expires: never 387 telemetry_mirror: Screenshots_Failed_ScreenshotTooLarge