metrics.yaml (2894B)
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: Editor' 12 13 htmleditors: 14 with_beforeinput_listeners: 15 type: labeled_counter 16 description: > 17 Number of HTML editors whose window or a node in it has had beforeinput 18 event listeners 19 20 This metric was generated to correspond to the Legacy Telemetry boolean 21 histogram HTMLEDITORS_WITH_BEFOREINPUT_LISTENERS. 22 labels: 23 - "false" 24 - "true" 25 bugs: 26 - https://bugzilla.mozilla.org/show_bug.cgi?id=1668134 27 - https://bugzilla.mozilla.org/show_bug.cgi?id=1665530 28 data_reviews: 29 - https://bugzilla.mozilla.org/show_bug.cgi?id=1668134 30 - https://bugzilla.mozilla.org/show_bug.cgi?id=1665530 31 notification_emails: 32 - mnakano.birchill@mozilla.com 33 expires: never 34 telemetry_mirror: h#HTMLEDITORS_WITH_BEFOREINPUT_LISTENERS 35 36 overridden_by_beforeinput_listeners: 37 type: labeled_counter 38 description: > 39 Number of HTML editors whose dispatching beforeinput events are canceled 40 41 This metric was generated to correspond to the Legacy Telemetry boolean 42 histogram HTMLEDITORS_OVERRIDDEN_BY_BEFOREINPUT_LISTENERS. 43 labels: 44 - "false" 45 - "true" 46 bugs: 47 - https://bugzilla.mozilla.org/show_bug.cgi?id=1668134 48 - https://bugzilla.mozilla.org/show_bug.cgi?id=1665530 49 data_reviews: 50 - https://bugzilla.mozilla.org/show_bug.cgi?id=1668134 51 - https://bugzilla.mozilla.org/show_bug.cgi?id=1665530 52 notification_emails: 53 - mnakano.birchill@mozilla.com 54 expires: never 55 telemetry_mirror: h#HTMLEDITORS_OVERRIDDEN_BY_BEFOREINPUT_LISTENERS 56 57 with_mutation_observers_without_beforeinput_listeners: 58 type: labeled_counter 59 description: > 60 Number of HTML editors a node in the window has been observed by mutation 61 observers, but has not had beforeinput event listeners 62 63 This metric was generated to correspond to the Legacy Telemetry boolean 64 histogram 65 HTMLEDITORS_WITH_MUTATION_OBSERVERS_WITHOUT_BEFOREINPUT_LISTENERS. 66 labels: 67 - "false" 68 - "true" 69 bugs: 70 - https://bugzilla.mozilla.org/show_bug.cgi?id=1668134 71 - https://bugzilla.mozilla.org/show_bug.cgi?id=1665530 72 data_reviews: 73 - https://bugzilla.mozilla.org/show_bug.cgi?id=1668134 74 - https://bugzilla.mozilla.org/show_bug.cgi?id=1665530 75 notification_emails: 76 - mnakano.birchill@mozilla.com 77 expires: never 78 telemetry_mirror: h#HTMLEDITORS_WITH_MUTATION_OBSERVERS_WITHOUT_BEFOREINPUT_LISTENERS