metrics.yaml (4162B)
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 - 'Core :: Graphics: Canvas2D' 12 13 canvas: 14 used_2d: 15 type: labeled_counter 16 description: > 17 2D canvas used 18 19 This metric was generated to correspond to the Legacy Telemetry boolean 20 histogram CANVAS_2D_USED. 21 labels: 22 - "false" 23 - "true" 24 bugs: 25 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 26 data_reviews: 27 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 28 notification_emails: 29 - gfx-telemetry-alerts@mozilla.com 30 expires: never 31 telemetry_mirror: h#CANVAS_2D_USED 32 33 webgl_accl_failure_id: 34 type: labeled_counter 35 description: > 36 Track the failure IDs that lead us to reject attempting to create an 37 accelerated context. CANVAS_WEBGL_FAILURE_ID reports the overall WebGL 38 status with the attempt to fallback. 39 40 This metric was generated to correspond to the Legacy Telemetry count 41 histogram CANVAS_WEBGL_ACCL_FAILURE_ID. 42 bugs: 43 - https://bugzilla.mozilla.org/show_bug.cgi?id=1272808 44 data_reviews: 45 - https://bugzilla.mozilla.org/show_bug.cgi?id=1272808 46 notification_emails: 47 - gfx-telemetry-alerts@mozilla.com 48 - rhunt@mozilla.com 49 expires: never 50 telemetry_mirror: h#CANVAS_WEBGL_ACCL_FAILURE_ID 51 52 webgl_failure_id: 53 type: labeled_counter 54 description: > 55 WebGL runtime and dynamic failure IDs. This will record a count for each 56 context creation success or failure. Each failure id is a unique 57 identifier that can be traced back to a particular failure branch or 58 blocklist rule. 59 60 This metric was generated to correspond to the Legacy Telemetry count 61 histogram CANVAS_WEBGL_FAILURE_ID. 62 bugs: 63 - https://bugzilla.mozilla.org/show_bug.cgi?id=1272808 64 data_reviews: 65 - https://bugzilla.mozilla.org/show_bug.cgi?id=1272808 66 notification_emails: 67 - gfx-telemetry-alerts@mozilla.com 68 - rhunt@mozilla.com 69 expires: never 70 telemetry_mirror: h#CANVAS_WEBGL_FAILURE_ID 71 72 webgl_success: 73 type: labeled_counter 74 description: > 75 WebGL1 creation success 76 77 This metric was generated to correspond to the Legacy Telemetry boolean 78 histogram CANVAS_WEBGL_SUCCESS. 79 labels: 80 - "false" 81 - "true" 82 bugs: 83 - https://bugzilla.mozilla.org/show_bug.cgi?id=1247327 84 - https://bugzilla.mozilla.org/show_bug.cgi?id=1529352 85 data_reviews: 86 - https://bugzilla.mozilla.org/show_bug.cgi?id=1247327 87 - https://bugzilla.mozilla.org/show_bug.cgi?id=1529352 88 notification_emails: 89 - gfx-telemetry-alerts@mozilla.com 90 - rhunt@mozilla.com 91 expires: never 92 telemetry_mirror: h#CANVAS_WEBGL_SUCCESS 93 94 webgl_used: 95 type: labeled_counter 96 description: > 97 WebGL canvas used 98 99 This metric was generated to correspond to the Legacy Telemetry boolean 100 histogram CANVAS_WEBGL_USED. 101 labels: 102 - "false" 103 - "true" 104 bugs: 105 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 106 data_reviews: 107 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 108 notification_emails: 109 - gfx-telemetry-alerts@mozilla.com 110 expires: never 111 telemetry_mirror: h#CANVAS_WEBGL_USED 112 113 webgl2_success: 114 type: labeled_counter 115 description: > 116 WebGL2 creation success 117 118 This metric was generated to correspond to the Legacy Telemetry boolean 119 histogram CANVAS_WEBGL2_SUCCESS. 120 labels: 121 - "false" 122 - "true" 123 bugs: 124 - https://bugzilla.mozilla.org/show_bug.cgi?id=1247327 125 data_reviews: 126 - https://bugzilla.mozilla.org/show_bug.cgi?id=1247327 127 notification_emails: 128 - gfx-telemetry-alerts@mozilla.com 129 - rhunt@mozilla.com 130 expires: never 131 telemetry_mirror: h#CANVAS_WEBGL2_SUCCESS