-
Notifications
You must be signed in to change notification settings - Fork 226
/
metrics.yaml
228 lines (215 loc) · 8.27 KB
/
metrics.yaml
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# 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 will be gathered for the "places"
# storage component.
# These are emitted for all users of the component. Additional metrics
# specific to the *syncing* of places are defined in a separate "sync_ping"
# package.
#
# Changes to these metrics require data review, which should take into
# consideration
# the following known consumers of the places component Android bindings:
#
# * Fenix for Android
---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
places_manager:
read_query_count:
type: counter
description: >
The total number of read operations performed on the places store.
The count only includes operations triggered by the application, not
e.g. incidental reads performed as part of a sync. It is intended to
be used together with `read_query_error_count` to measure the overall
error rate of read operations on the places store.
bugs:
- https://github.com/mozilla/application-services/issues/2300
- https://github.com/mozilla/application-services/issues/2299
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1607621
- https://bugzilla.mozilla.org/show_bug.cgi?id=1649044
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694316
data_sensitivity:
- interaction
notification_emails:
expires: "never"
read_query_error_count:
type: labeled_counter
description: >
The total number of errors encountered during read operations on the
places store, labeled by type.
It is intended to be used together with `read_query_count` to measure
the overall error rate of read operations on the places store.
labels:
- url_parse_failed
- operation_interrupted
bugs:
- https://github.com/mozilla/application-services/issues/2300
- https://github.com/mozilla/application-services/issues/2299
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1607621
- https://bugzilla.mozilla.org/show_bug.cgi?id=1649044
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694316
data_sensitivity:
- interaction
notification_emails:
expires: "never"
write_query_count:
type: counter
description: >
The total number of write operations performed on the places store.
The count only includes operations triggered by the application, not
e.g. incidental writes performed as part of a sync. It is intended to
be used together with `write_query_error_count` to measure the overall
error rate of write operations on the places store.
bugs:
- https://github.com/mozilla/application-services/issues/2300
- https://github.com/mozilla/application-services/issues/2299
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1607621
- https://bugzilla.mozilla.org/show_bug.cgi?id=1649044
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694316
data_sensitivity:
- interaction
notification_emails:
expires: "never"
write_query_error_count:
type: labeled_counter
description: >
The total number of errors encountered during write operations on the
places store, labeled by type.
It is intended to be used together with `write_query_count` to measure
the overall error rate of write operations on the places store.
labels:
- url_parse_failed
- invalid_bookmark_update
- invalid_parent
- unknown_bookmark_item
- url_too_long
- cannot_update_root
- json_parse_failed
- places_connection_busy
- operation_interrupted
- unexpected_places_exception
- bookmarks_corruption
bugs:
- https://github.com/mozilla/application-services/issues/2300
- https://github.com/mozilla/application-services/issues/2299
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1607621
- https://bugzilla.mozilla.org/show_bug.cgi?id=1649044
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694316
- https://github.com/mozilla/application-services/issues/4848
data_sensitivity:
- interaction
notification_emails:
expires: "never"
run_maintenance_time:
type: timing_distribution
description: Time taken to execute `run_maintenance()`
time_unit: millisecond
bugs:
- https://github.com/mozilla/application-services/issues/5115
data_reviews:
- https://github.com/mozilla/application-services/issues/5122
- https://github.com/mozilla/application-services/issues/5387
- https://github.com/mozilla/application-services/issues/5830
notification_emails:
expires: "never"
data_sensitivity:
- technical
run_maintenance_prune_time:
type: timing_distribution
description: Time taken to execute `prune_older_visits()` inside
`run_maintenance()`
time_unit: millisecond
bugs:
- https://github.com/mozilla/application-services/issues/5246
data_reviews:
- https://github.com/mozilla/application-services/issues/5247
- https://github.com/mozilla/application-services/issues/5387
- https://github.com/mozilla/application-services/issues/5830
notification_emails:
expires: "never"
data_sensitivity:
- technical
run_maintenance_vacuum_time:
type: timing_distribution
description: Time taken to execute `VACUUM` inside `run_maintenance()`
time_unit: millisecond
bugs:
- https://github.com/mozilla/application-services/issues/5246
data_reviews:
- https://github.com/mozilla/application-services/issues/5247
- https://github.com/mozilla/application-services/issues/5387
- https://github.com/mozilla/application-services/issues/5830
notification_emails:
expires: "never"
data_sensitivity:
- technical
run_maintenance_optimize_time:
type: timing_distribution
description: Time taken to execute `PRAGMA optimize` inside
`run_maintenance()`
time_unit: millisecond
bugs:
- https://github.com/mozilla/application-services/issues/5246
data_reviews:
- https://github.com/mozilla/application-services/issues/5247
- https://github.com/mozilla/application-services/issues/5387
- https://github.com/mozilla/application-services/issues/5830
notification_emails:
expires: "never"
data_sensitivity:
- technical
run_maintenance_chk_pnt_time:
type: timing_distribution
description: Time taken to execute `PRAGMA_CHECKPOINT` inside
`run_maintenance()`
time_unit: millisecond
bugs:
- https://github.com/mozilla/application-services/issues/5246
data_reviews:
- https://github.com/mozilla/application-services/issues/5247
- https://github.com/mozilla/application-services/issues/5387
- https://github.com/mozilla/application-services/issues/5830
notification_emails:
expires: "never"
data_sensitivity:
- technical
db_size_after_maintenance:
type: memory_distribution
description: >
Size of the db after executing `run_maintenance()`
memory_unit: kilobyte
bugs:
- https://github.com/mozilla/application-services/issues/5115
data_reviews:
- https://github.com/mozilla/application-services/issues/5122
- https://github.com/mozilla/application-services/issues/5387
- https://github.com/mozilla/application-services/issues/5830
notification_emails:
expires: "never"
data_sensitivity:
- technical