summaryrefslogtreecommitdiffstats
path: root/mobile/android/android-components/components/lib/crash/metrics.yaml
blob: bf30991944598c39c70890b580ae9ac61e441c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# This file defines the metrics that are recorded by glean telemetry. They are
# automatically converted to Kotlin code at build time using the `glean_parser`
# PyPI package.
---

$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0

crash_metrics:
  crash_count:
    type: labeled_counter
    description: >
      Counts the number of crashes that occur in the application.
      This measures only the counts of each crash in association
      with the labeled type of the crash.
      The labels correspond to the types of crashes handled by lib-crash.

      Deprecated: `native_code_crash`, `fatal_native_code_crash` and
      `nonfatal_native_code_crash` replaced by `main_proc_native_code_crash`,
      `fg_proc_native_code_crash` and `bg_proc_native_code_crash`.
    labels:
      - uncaught_exception
      - caught_exception
      - main_proc_native_code_crash
      - fg_proc_native_code_crash
      - bg_proc_native_code_crash
      - fatal_native_code_crash
      - nonfatal_native_code_crash
    bugs:
      - https://bugzilla.mozilla.org/1553935
      - https://github.com/mozilla-mobile/android-components/issues/5175
      - https://github.com/mozilla-mobile/android-components/issues/11876
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1553935#c3
      - https://github.com/mozilla-mobile/android-components/pull/5700#pullrequestreview-347721248
      - https://github.com/mozilla-mobile/android-components/pull/11908#issuecomment-1075243414
    data_sensitivity:
      - technical
    notification_emails:
      - android-probes@mozilla.com
      - jnicol@mozilla.com
    expires: never

crash:
  uptime:
    type: timespan
    description: >
      The application uptime. This is equivalent to the legacy crash ping's
      `UptimeTS` field.
    notification_emails:
      - crash-reporting-wg@mozilla.org
      - stability@mozilla.org
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1790569
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1790569#c12
    data_sensitivity:
      - technical
    expires: never
    send_in_pings:
      - crash

  process_type:
    type: string
    # yamllint disable
    description: >
      The type of process that experienced a crash. See the full list of
      options
      [here](https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/data/crash-ping.html#process-types).
    # yamllint enable
    notification_emails:
      - crash-reporting-wg@mozilla.org
      - stability@mozilla.org
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1790569
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1790569#c12
    data_sensitivity:
      - technical
    expires: never
    send_in_pings:
      - crash

  remote_type:
    type: string
    description: >
      Type of the child process, can be set to "web", "file" or "extension" but could also be unavailable.
    notification_emails:
      - crash-reporting-wg@mozilla.org
      - stability@mozilla.org
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1851518
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1851518#c6
    data_sensitivity:
      - technical
    expires: never
    send_in_pings:
      - crash

  time:
    type: datetime
    time_unit: minute
    description: >
      The time at which the crash occurred.
    notification_emails:
      - crash-reporting-wg@mozilla.org
      - stability@mozilla.org
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1790569
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1790569#c12
    data_sensitivity:
      - technical
    expires: never
    send_in_pings:
      - crash

  startup:
    type: boolean
    description: >
      If true, the crash occurred during process startup.
    notification_emails:
      - crash-reporting-wg@mozilla.org
      - stability@mozilla.org
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1790569
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1790569#c12
    data_sensitivity:
      - technical
    expires: never
    send_in_pings:
      - crash

  cause:
    type: string
    description: >
      The cause of the crash. May be one of `os_fault` or `java_exception`.
    notification_emails:
      - crash-reporting-wg@mozilla.org
      - stability@mozilla.org
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1839697
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1839697#c5
    data_sensitivity:
      - technical
    expires: never
    send_in_pings:
      - crash