Bug 1861709 replace AudioCallbackDriver::ThreadRunning() assertions that mean to...
[gecko.git] / netwerk / metrics.yaml
blobdf380ee0bcb4c87f83b71602497bf806b41c7be2
1 # This Source Code Form is subject to the terms of the Mozilla Public\r
2 # License, v. 2.0. If a copy of the MPL was not distributed with this\r
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.\r
4 \r
5 # Adding a new metric? We have docs for that!\r
6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html\r
7 \r
8 ---\r
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0\r
10 $tags:\r
11   - 'Core :: Networking'\r
13 networking:\r
14   speculative_connect_outcome:\r
15     type: labeled_counter\r
16     description: >\r
17       Counts the occurrence of each outcome of a speculative connection\r
18     bugs:\r
19       - https://bugzilla.mozilla.org/show_bug.cgi?id=909865\r
20     data_reviews:\r
21       - https://bugzilla.mozilla.org/show_bug.cgi?id=909865\r
22     data_sensitivity:\r
23       - technical\r
24     notification_emails:\r
25       - necko@mozilla.com\r
26       - acreskey@mozilla.com\r
27     expires: never\r
28     labels:\r
29       - successful\r
30       - aborted_socket_limit\r
31       - aborted_socket_fail\r
32       - aborted_https_not_enabled\r
33     telemetry_mirror: NETWORKING_SPECULATIVE_CONNECT_OUTCOME\r
35   cookie_timestamp_fixed_count:\r
36     type: labeled_counter\r
37     description: >\r
38       Counts the number of times a cookie's invalid timestamp was fixed when\r
39       reading it from the DB.\r
40     bugs:\r
41       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126\r
42     data_reviews:\r
43       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5\r
44     data_sensitivity:\r
45       - technical\r
46     notification_emails:\r
47       - necko@mozilla.com\r
48       - vgosu@mozilla.com\r
49     labels:\r
50       - creationTime\r
51       - lastAccessed\r
52     expires: never\r
54   cookie_creation_fixup_diff:\r
55     type: custom_distribution\r
56     unit: second\r
57     description: >\r
58       If we fix up a cookie creation timestamp that is in the future this\r
59       metric records the number of seconds that timestamp was off from NOW.\r
60     bugs:\r
61       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126\r
62     data_reviews:\r
63       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5\r
64     data_sensitivity:\r
65       - technical\r
66     notification_emails:\r
67       - necko@mozilla.com\r
68       - vgosu@mozilla.com\r
69     expires: never\r
70     range_min: 0\r
71     range_max: 315360000000\r
72     bucket_count: 100\r
73     histogram_type: exponential\r
75   cookie_access_fixup_diff:\r
76     type: custom_distribution\r
77     unit: second\r
78     description: >\r
79       If we fix up a cookie lastAccessed timestamp that is in the future this\r
80       metric records the number of seconds that timestamp was off from NOW.\r
81     bugs:\r
82       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126\r
83     data_reviews:\r
84       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5\r
85     data_sensitivity:\r
86       - technical\r
87     notification_emails:\r
88       - necko@mozilla.com\r
89       - vgosu@mozilla.com\r
90     expires: never\r
91     range_min: 0\r
92     range_max: 315360000000\r
93     bucket_count: 100\r
94     histogram_type: exponential\r
96   dns_lookup_time:\r
97     type: timing_distribution\r
98     time_unit: millisecond\r
99     description: >\r
100       Time for a successful DNS resolution (msec) |\r
101       Migrated from Firefox Telemetry's `DNS_LOOKUP_TIME`.\r
102     bugs:\r
103       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
104     data_reviews:\r
105       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
106     data_sensitivity:\r
107       - technical\r
108     notification_emails:\r
109       - necko@mozilla.com\r
110       - acreskey@mozilla.com\r
111     expires: never\r
112     telemetry_mirror: DNS_LOOKUP_TIME\r
114   dns_renewal_time:\r
115     type: timing_distribution\r
116     time_unit: millisecond\r
117     description: >\r
118       Time for a renewed DNS OS resolution (msec) |\r
119       Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME`.\r
120     bugs:\r
121       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
122     data_reviews:\r
123       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
124     data_sensitivity:\r
125       - technical\r
126     notification_emails:\r
127       - necko@mozilla.com\r
128       - acreskey@mozilla.com\r
129     expires: never\r
130     telemetry_mirror: DNS_RENEWAL_TIME\r
132   dns_renewal_time_for_ttl:\r
133     type: timing_distribution\r
134     time_unit: millisecond\r
135     description: >\r
136       Time for a DNS OS resolution (msec) used to get TTL |\r
137       Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME_FOR_TTL`.\r
138     bugs:\r
139       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
140     data_reviews:\r
141       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
142     data_sensitivity:\r
143       - technical\r
144     notification_emails:\r
145       - necko@mozilla.com\r
146       - acreskey@mozilla.com\r
147     expires: never\r
148     telemetry_mirror: DNS_RENEWAL_TIME_FOR_TTL\r
150   dns_failed_lookup_time:\r
151     type: timing_distribution\r
152     time_unit: millisecond\r
153     description: >\r
154       Time for an unsuccessful DNS OS resolution (msec) |\r
155       Migrated from Firefox Telemetry's `DNS_FAILED_LOOKUP_TIME`.\r
156     bugs:\r
157       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
158     data_reviews:\r
159       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
160     data_sensitivity:\r
161       - technical\r
162     notification_emails:\r
163       - necko@mozilla.com\r
164       - acreskey@mozilla.com\r
165     expires: never\r
166     telemetry_mirror: DNS_FAILED_LOOKUP_TIME\r
168   http_content_onstart_delay:\r
169     type: timing_distribution\r
170     time_unit: millisecond\r
171     description: >\r
172       The time between dispatching OnStartRequest from the socket thread and processing it on the main thread (content process).\r
173     bugs:\r
174       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
175     data_reviews:\r
176       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c\r
177     data_sensitivity:\r
178       - technical\r
179     notification_emails:\r
180       - necko@mozilla.com\r
181       - rjesup@mozilla.com\r
182     expires: 130\r
184   http_content_onstop_delay:\r
185     type: timing_distribution\r
186     time_unit: millisecond\r
187     description: >\r
188       The time between dispatching OnStopRequest from the socket thread and processing it on the main thread (content process).\r
189     bugs:\r
190       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
191     data_reviews:\r
192       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c\r
193     data_sensitivity:\r
194       - technical\r
195     notification_emails:\r
196       - necko@mozilla.com\r
197       - rjesup@mozilla.com\r
198     expires: 130\r
200   http_content_ondatafinished_delay:\r
201     type: timing_distribution\r
202     time_unit: millisecond\r
203     description: >\r
204       The time between dispatching OnDataFinished from the socket thread and processing it.\r
205     bugs:\r
206       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615\r
207     data_reviews:\r
208       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c\r
209     data_sensitivity:\r
210       - technical\r
211     notification_emails:\r
212       - necko@mozilla.com\r
213       - rjesup@mozilla.com\r
214     expires: 130\r
216   http_content_ondatafinished_to_onstop_delay:\r
217     type: timing_distribution\r
218     time_unit: millisecond\r
219     description: >\r
220       The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)\r
221     bugs:\r
222       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615\r
223     data_reviews:\r
224       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c\r
225     data_sensitivity:\r
226       - technical\r
227     notification_emails:\r
228       - necko@mozilla.com\r
229       - rjesup@mozilla.com\r
230     expires: 130\r
232   http_content_ondatafinished_to_onstop_delay_negative:\r
233     type: timing_distribution\r
234     time_unit: millisecond\r
235     description: >\r
236       The time between processing OnStopRequest and processing OnDataFinished (if OnStopRequest comes first)\r
237     bugs:\r
238       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615\r
239     data_reviews:\r
240       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c\r
241     data_sensitivity:\r
242       - technical\r
243     notification_emails:\r
244       - necko@mozilla.com\r
245       - rjesup@mozilla.com\r
246     expires: 130\r
248   http_content_html5parser_ondatafinished_to_onstop_delay:\r
249     type: timing_distribution\r
250     time_unit: millisecond\r
251     description: >\r
252       The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)\r
253     bugs:\r
254       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
255     data_reviews:\r
256       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
257     data_sensitivity:\r
258       - technical\r
259     notification_emails:\r
260       - necko@mozilla.com\r
261       - rjesup@mozilla.com\r
262     expires: 130\r
264   http_content_html5parser_ondatafinished_to_onstop_delay_negative:\r
265     type: timing_distribution\r
266     time_unit: millisecond\r
267     description: >\r
268       The time between processing OnStopRequest and processing OnDataFinished (if OnStopRequest comes first)\r
269     bugs:\r
270       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
271     data_reviews:\r
272       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
273     data_sensitivity:\r
274       - technical\r
275     notification_emails:\r
276       - necko@mozilla.com\r
277       - rjesup@mozilla.com\r
278     expires: 130\r
280   http_1_download_throughput:\r
281     type: custom_distribution\r
282     unit: mbps\r
283     range_min: 0\r
284     range_max: 10000\r
285     bucket_count: 100\r
286     histogram_type: exponential\r
287     description: >\r
288      The download throughput for  http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.\r
289     bugs:\r
290       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798\r
291     data_reviews:\r
292       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2\r
293     data_sensitivity:\r
294       - technical\r
295     notification_emails:\r
296       - necko@mozilla.com\r
297       - acreskey@mozilla.com\r
298     expires: never\r
299     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_1\r
301   http_2_download_throughput:\r
302     type: custom_distribution\r
303     unit: mbps\r
304     range_min: 0\r
305     range_max: 10000\r
306     bucket_count: 100\r
307     histogram_type: exponential\r
308     description: >\r
309      The download throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.\r
310     bugs:\r
311       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798\r
312     data_reviews:\r
313       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2\r
314     data_sensitivity:\r
315       - technical\r
316     notification_emails:\r
317       - necko@mozilla.com\r
318       - acreskey@mozilla.com\r
319     expires: never\r
320     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_2\r
322   http_3_download_throughput:\r
323     type: custom_distribution\r
324     unit: mbps\r
325     range_min: 0\r
326     range_max: 10000\r
327     bucket_count: 100\r
328     histogram_type: exponential\r
329     description: >\r
330      The download throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.\r
331     bugs:\r
332       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798\r
333     data_reviews:\r
334       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2\r
335     data_sensitivity:\r
336       - technical\r
337     notification_emails:\r
338       - necko@mozilla.com\r
339       - acreskey@mozilla.com\r
340     expires: never\r
341     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_3\r
343   http_1_upload_throughput:\r
344     type: custom_distribution\r
345     unit: mbps\r
346     range_min: 0\r
347     range_max: 5000\r
348     bucket_count: 100\r
349     histogram_type: exponential\r
350     description: >\r
351      The upload throughput for http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.\r
352     bugs:\r
353       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256\r
354     data_reviews:\r
355       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2\r
356     data_sensitivity:\r
357       - technical\r
358     notification_emails:\r
359       - necko@mozilla.com\r
360       - acreskey@mozilla.com\r
361     expires: never\r
362     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1\r
364   http_2_upload_throughput:\r
365     type: custom_distribution\r
366     unit: mbps\r
367     range_min: 0\r
368     range_max: 5000\r
369     bucket_count: 100\r
370     histogram_type: exponential\r
371     description: >\r
372      The upload throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.\r
373     bugs:\r
374       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256\r
375     data_reviews:\r
376       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2\r
377     data_sensitivity:\r
378       - technical\r
379     notification_emails:\r
380       - necko@mozilla.com\r
381       - acreskey@mozilla.com\r
382     expires: never\r
383     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2\r
385   http_3_upload_throughput:\r
386     type: custom_distribution\r
387     unit: mbps\r
388     range_min: 0\r
389     range_max: 5000\r
390     bucket_count: 100\r
391     histogram_type: exponential\r
392     description: >\r
393      The upload throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.\r
394     bugs:\r
395       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256\r
396     data_reviews:\r
397       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2\r
398     data_sensitivity:\r
399       - technical\r
400     notification_emails:\r
401       - necko@mozilla.com\r
402       - acreskey@mozilla.com\r
403     expires: never\r
404     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3\r