metrics.yaml (3936B)
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: Content Processes' 12 13 process: 14 child_launch: 15 type: timing_distribution 16 description: > 17 Time spent in the generic child process launching code, which is run 18 off-main-thread and used by all child process types 19 20 This metric was generated to correspond to the Legacy Telemetry 21 exponential histogram CHILD_PROCESS_LAUNCH_MS. 22 time_unit: millisecond 23 bugs: 24 - https://bugzilla.mozilla.org/show_bug.cgi?id=1474991 25 data_reviews: 26 - https://bugzilla.mozilla.org/show_bug.cgi?id=1474991 27 notification_emails: 28 - jld@mozilla.com 29 - jimm@mozilla.com 30 - mconley@mozilla.com 31 expires: never 32 telemetry_mirror: CHILD_PROCESS_LAUNCH_MS 33 34 ipc: 35 transaction_cancel: 36 type: labeled_counter 37 description: > 38 True when an IPC transaction is canceled 39 40 This metric was generated to correspond to the Legacy Telemetry boolean 41 histogram IPC_TRANSACTION_CANCEL. 42 labels: 43 - "false" 44 - "true" 45 bugs: 46 - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710 47 data_reviews: 48 - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710 49 notification_emails: 50 - billm@mozilla.com 51 expires: never 52 telemetry_mirror: h#IPC_TRANSACTION_CANCEL 53 54 subprocess: 55 abnormal_abort: 56 type: labeled_counter 57 description: > 58 Counts of plugin/content process abnormal shutdown, whether or not a crash 59 report was available. 60 61 This metric was generated to correspond to the Legacy Telemetry count 62 histogram SUBPROCESS_ABNORMAL_ABORT. 63 bugs: 64 - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710 65 data_reviews: 66 - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710 67 notification_emails: 68 - gsvelto@mozilla.com 69 expires: never 70 telemetry_mirror: h#SUBPROCESS_ABNORMAL_ABORT 71 72 crashes_with_dump: 73 type: labeled_counter 74 description: > 75 Counts of plugin and content process crashes which are reported with a 76 crash dump. 77 78 This metric was generated to correspond to the Legacy Telemetry count 79 histogram SUBPROCESS_CRASHES_WITH_DUMP. 80 bugs: 81 - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710 82 data_reviews: 83 - https://bugzilla.mozilla.org/show_bug.cgi?id=1950710 84 notification_emails: 85 - gsvelto@mozilla.com 86 expires: never 87 telemetry_mirror: h#SUBPROCESS_CRASHES_WITH_DUMP 88 89 launch_failure: 90 type: labeled_counter 91 description: > 92 Counts the number of times launching a subprocess fails. Counts are by 93 subprocess-type using the GeckoProcessType enum. 94 95 This metric was generated to correspond to the Legacy Telemetry count 96 histogram SUBPROCESS_LAUNCH_FAILURE. 97 bugs: 98 - https://bugzilla.mozilla.org/show_bug.cgi?id=1275430 99 data_reviews: 100 - https://bugzilla.mozilla.org/show_bug.cgi?id=1275430 101 notification_emails: 102 - haftandilian@mozilla.com 103 expires: never 104 telemetry_mirror: h#SUBPROCESS_LAUNCH_FAILURE 105 106 kill_hard: 107 type: labeled_counter 108 description: > 109 Counts the number of times a subprocess was forcibly killed, and the 110 reason. 111 112 This metric was generated to correspond to the Legacy Telemetry count 113 histogram SUBPROCESS_KILL_HARD. 114 bugs: 115 - https://bugzilla.mozilla.org/show_bug.cgi?id=1269961 116 data_reviews: 117 - https://bugzilla.mozilla.org/show_bug.cgi?id=1269961 118 notification_emails: 119 - wmccloskey@mozilla.com 120 expires: never 121 telemetry_mirror: h#SUBPROCESS_KILL_HARD