metrics.yaml (3389B)
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: Push Subscriptions' 12 13 web_push: 14 detected_duplicated_message_ids: 15 type: counter 16 description: > 17 Counts the duplicated IDs from the server. The ability to detect 18 depends on the pref `dom.push.maxRecentMessageIDsPerSubscription`. 19 bugs: 20 - https://bugzilla.mozilla.org/show_bug.cgi?id=1928124 21 data_reviews: 22 - https://bugzilla.mozilla.org/show_bug.cgi?id=1928124 23 notification_emails: 24 - krosylight@mozilla.com 25 expires: never 26 27 error_code: 28 type: labeled_counter 29 description: > 30 The code indicating why the push message couldn't be processed. 31 labels: 32 - decryption_error 33 - not_delivered 34 - uncaught_exception 35 - unhandled_rejection 36 - internal_error 37 bugs: 38 - https://bugzilla.mozilla.org/show_bug.cgi?id=1928124 39 data_reviews: 40 - https://bugzilla.mozilla.org/show_bug.cgi?id=1928124 41 notification_emails: 42 - krosylight@mozilla.com 43 expires: never 44 45 content_encoding: 46 type: labeled_counter 47 description: > 48 Which content encoding is being used for push. 49 labels: 50 - aes128gcm 51 - aesgcm 52 bugs: 53 - https://bugzilla.mozilla.org/show_bug.cgi?id=1928131 54 data_reviews: 55 - https://bugzilla.mozilla.org/show_bug.cgi?id=1928131 56 notification_emails: 57 - krosylight@mozilla.com 58 expires: never 59 60 unsubscribed_by_clearing_data: 61 type: counter 62 description: > 63 Counts unsubscriptions triggered by ClearDataService. 64 bugs: 65 - https://bugzilla.mozilla.org/show_bug.cgi?id=1948721 66 data_reviews: 67 - https://bugzilla.mozilla.org/show_bug.cgi?id=1948721 68 notification_emails: 69 - krosylight@mozilla.com 70 expires: 159 71 72 api_notify: 73 type: counter 74 description: > 75 Number of push messages that were successfully decrypted and delivered to 76 a ServiceWorker when required. 77 78 This metric was generated to correspond to the Legacy Telemetry count 79 histogram PUSH_API_NOTIFY. 80 bugs: 81 - https://bugzilla.mozilla.org/show_bug.cgi?id=1429286 82 data_reviews: 83 - https://bugzilla.mozilla.org/show_bug.cgi?id=1429286 84 notification_emails: 85 - push@mozilla.com 86 expires: never 87 telemetry_mirror: h#PUSH_API_NOTIFY 88 89 declarative: 90 type: counter 91 description: > 92 Number of push messages in the Declarative Web Push format. 93 bugs: 94 - https://bugzilla.mozilla.org/show_bug.cgi?id=1969357 95 data_reviews: 96 - https://bugzilla.mozilla.org/show_bug.cgi?id=1969357 97 notification_emails: 98 - krosylight@mozilla.com 99 expires: never 100 101 declarative_mutable: 102 type: counter 103 description: > 104 Number of push messages in the Declarative Web Push format with mutable: true. 105 bugs: 106 - https://bugzilla.mozilla.org/show_bug.cgi?id=1969357 107 data_reviews: 108 - https://bugzilla.mozilla.org/show_bug.cgi?id=1969357 109 notification_emails: 110 - krosylight@mozilla.com 111 expires: never