metrics.yaml (4684B)
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 :: DOM: Security' 12 13 webcrypto: 14 extractable_import: 15 type: labeled_counter 16 description: > 17 Whether an imported key was marked as extractable 18 19 This metric was generated to correspond to the Legacy Telemetry boolean 20 histogram WEBCRYPTO_EXTRACTABLE_IMPORT. 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 - seceng-telemetry@mozilla.com 30 expires: never 31 telemetry_mirror: h#WEBCRYPTO_EXTRACTABLE_IMPORT 32 33 extractable_generate: 34 type: labeled_counter 35 description: > 36 Whether a generated key was marked as extractable 37 38 This metric was generated to correspond to the Legacy Telemetry boolean 39 histogram WEBCRYPTO_EXTRACTABLE_GENERATE. 40 labels: 41 - "false" 42 - "true" 43 bugs: 44 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 45 data_reviews: 46 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 47 notification_emails: 48 - seceng-telemetry@mozilla.com 49 expires: never 50 telemetry_mirror: h#WEBCRYPTO_EXTRACTABLE_GENERATE 51 52 extractable_enc: 53 type: labeled_counter 54 description: > 55 Whether a key used in an encrypt/decrypt operation was marked as 56 extractable 57 58 This metric was generated to correspond to the Legacy Telemetry boolean 59 histogram WEBCRYPTO_EXTRACTABLE_ENC. 60 labels: 61 - "false" 62 - "true" 63 bugs: 64 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 65 data_reviews: 66 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 67 notification_emails: 68 - seceng-telemetry@mozilla.com 69 expires: never 70 telemetry_mirror: h#WEBCRYPTO_EXTRACTABLE_ENC 71 72 extractable_sig: 73 type: labeled_counter 74 description: > 75 Whether a key used in a sign/verify operation was marked as extractable 76 77 This metric was generated to correspond to the Legacy Telemetry boolean 78 histogram WEBCRYPTO_EXTRACTABLE_SIG. 79 labels: 80 - "false" 81 - "true" 82 bugs: 83 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 84 data_reviews: 85 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 86 notification_emails: 87 - seceng-telemetry@mozilla.com 88 expires: never 89 telemetry_mirror: h#WEBCRYPTO_EXTRACTABLE_SIG 90 91 resolved: 92 type: labeled_counter 93 description: > 94 Whether a promise created by WebCrypto was resolved (vs rejected) 95 96 This metric was generated to correspond to the Legacy Telemetry boolean 97 histogram WEBCRYPTO_RESOLVED. 98 labels: 99 - "false" 100 - "true" 101 bugs: 102 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 103 data_reviews: 104 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 105 notification_emails: 106 - seceng-telemetry@mozilla.com 107 expires: never 108 telemetry_mirror: h#WEBCRYPTO_RESOLVED 109 110 method: 111 type: custom_distribution 112 description: > 113 Methods invoked under window.crypto.subtle (0=encrypt, 1=decrypt, 2=sign, 114 3=verify, 4=digest, 5=generateKey, 6=deriveKey, 7=deriveBits, 8=importKey, 115 9=exportKey, 10=wrapKey, 11=unwrapKey) 116 117 This metric was generated to correspond to the Legacy Telemetry enumerated 118 histogram WEBCRYPTO_METHOD. 119 range_min: 0 120 range_max: 20 121 bucket_count: 21 122 histogram_type: linear 123 bugs: 124 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 125 data_reviews: 126 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 127 notification_emails: 128 - seceng-telemetry@mozilla.com 129 expires: never 130 telemetry_mirror: WEBCRYPTO_METHOD 131 132 alg: 133 type: custom_distribution 134 description: > 135 Algorithms used with WebCrypto (see table in WebCryptoTask.cpp) 136 137 This metric was generated to correspond to the Legacy Telemetry enumerated 138 histogram WEBCRYPTO_ALG. 139 range_min: 0 140 range_max: 30 141 bucket_count: 31 142 histogram_type: linear 143 bugs: 144 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 145 data_reviews: 146 - https://bugzilla.mozilla.org/show_bug.cgi?id=1935420 147 notification_emails: 148 - seceng-telemetry@mozilla.com 149 expires: never 150 telemetry_mirror: WEBCRYPTO_ALG