Bug 1866894 - Update failing subtest for content-visibility-auto-resize.html. r=fredw
[gecko.git] / netwerk / metrics.yaml
blob3fe58f27193c8a322162674ffe3e296dc1b2cc10
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   cookie_count_total:\r
97     type: custom_distribution\r
98     description: >\r
99       Reports the total number of cookies in storage\r
100     range_min: 0\r
101     range_max: 4000\r
102     bucket_count: 22\r
103     histogram_type: exponential\r
104     unit: integer\r
105     bugs:\r
106       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942\r
107     data_reviews:\r
108       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB\r
109     data_sensitivity:\r
110       - technical\r
111     notification_emails:\r
112       - necko@mozilla.com\r
113       - edgul@mozilla.com\r
114     expires: 128\r
116   cookie_count_partitioned:\r
117     type: custom_distribution\r
118     description: >\r
119       Reports the number of partitioned cookies in storage\r
120     range_min: 0\r
121     range_max: 4000\r
122     bucket_count: 22\r
123     histogram_type: exponential\r
124     unit: integer\r
125     bugs:\r
126       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942\r
127     data_reviews:\r
128       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB\r
129     data_sensitivity:\r
130       - technical\r
131     notification_emails:\r
132       - necko@mozilla.com\r
133       - edgul@mozilla.com\r
134     expires: 128\r
136   cookie_count_unpartitioned:\r
137     type: custom_distribution\r
138     description: >\r
139       Reports the number of unpartitioned cookies in storage\r
140     range_min: 0\r
141     range_max: 4000\r
142     bucket_count: 22\r
143     histogram_type: exponential\r
144     unit: integer\r
145     bugs:\r
146       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942\r
147     data_reviews:\r
148       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB\r
149     data_sensitivity:\r
150       - technical\r
151     notification_emails:\r
152       - necko@mozilla.com\r
153       - edgul@mozilla.com\r
154     expires: 128\r
156   cookie_count_part_by_key:\r
157     type: custom_distribution\r
158     description: >\r
159       A distribution of the partitioned cookies in storage belonging to\r
160       a particular cookie key (host + origin attributes)\r
161     range_min: 1\r
162     range_max: 220\r
163     bucket_count: 10\r
164     histogram_type: exponential\r
165     unit: integer\r
166     bugs:\r
167       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942\r
168     data_reviews:\r
169       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB\r
170     data_sensitivity:\r
171       - technical\r
172     notification_emails:\r
173       - necko@mozilla.com\r
174       - edgul@mozilla.com\r
175     expires: 128\r
177   cookie_count_unpart_by_key:\r
178     type: custom_distribution \r
179     description: >\r
180       A distribution of the unpartitioned cookies in storage belonging to\r
181       a particular cookie key (host + origin attributes)\r
182     range_min: 1\r
183     range_max: 220\r
184     bucket_count: 10\r
185     histogram_type: exponential\r
186     unit: integer\r
187     bugs:\r
188       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942\r
189     data_reviews:\r
190       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB\r
191     data_sensitivity:\r
192       - technical\r
193     notification_emails:\r
194       - necko@mozilla.com\r
195       - edgul@mozilla.com\r
196     expires: 128\r
198   cookie_purge_max:\r
199     type: custom_distribution \r
200     description: >\r
201       A distribution of the number of cookies purged across\r
202       all host + OAs as a result of exceeding the cookie maximum threshold\r
203       (single purge)\r
204     range_min: 1\r
205     range_max: 4000 \r
206     bucket_count: 22\r
207     histogram_type: exponential\r
208     unit: integer\r
209     bugs:\r
210       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942\r
211     data_reviews:\r
212       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB\r
213     data_sensitivity:\r
214       - technical\r
215     notification_emails:\r
216       - necko@mozilla.com\r
217       - edgul@mozilla.com\r
218     expires: 128\r
220   cookie_purge_entry_max:\r
221     type: custom_distribution \r
222     description: >\r
223       A distribution of the number of cookies purged for a single\r
224       host + OA entry as a result of exceeding the maximum threshold\r
225       for the given host + OA (single purge)\r
226     range_min: 1\r
227     range_max: 220\r
228     bucket_count: 10\r
229     histogram_type: exponential\r
230     unit: integer\r
231     bugs:\r
232       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942\r
233     data_reviews:\r
234       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB\r
235     data_sensitivity:\r
236       - technical\r
237     notification_emails:\r
238       - necko@mozilla.com\r
239       - edgul@mozilla.com\r
240     expires: 128\r
242   dns_lookup_time:\r
243     type: timing_distribution\r
244     time_unit: millisecond\r
245     description: >\r
246       Time for a successful DNS resolution (msec) |\r
247       Migrated from Firefox Telemetry's `DNS_LOOKUP_TIME`.\r
248     bugs:\r
249       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
250     data_reviews:\r
251       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
252     data_sensitivity:\r
253       - technical\r
254     notification_emails:\r
255       - necko@mozilla.com\r
256       - acreskey@mozilla.com\r
257     expires: never\r
258     telemetry_mirror: DNS_LOOKUP_TIME\r
260   dns_renewal_time:\r
261     type: timing_distribution\r
262     time_unit: millisecond\r
263     description: >\r
264       Time for a renewed DNS OS resolution (msec) |\r
265       Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME`.\r
266     bugs:\r
267       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
268     data_reviews:\r
269       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
270     data_sensitivity:\r
271       - technical\r
272     notification_emails:\r
273       - necko@mozilla.com\r
274       - acreskey@mozilla.com\r
275     expires: never\r
276     telemetry_mirror: DNS_RENEWAL_TIME\r
278   dns_renewal_time_for_ttl:\r
279     type: timing_distribution\r
280     time_unit: millisecond\r
281     description: >\r
282       Time for a DNS OS resolution (msec) used to get TTL |\r
283       Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME_FOR_TTL`.\r
284     bugs:\r
285       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
286     data_reviews:\r
287       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
288     data_sensitivity:\r
289       - technical\r
290     notification_emails:\r
291       - necko@mozilla.com\r
292       - acreskey@mozilla.com\r
293     expires: never\r
294     telemetry_mirror: DNS_RENEWAL_TIME_FOR_TTL\r
296   dns_failed_lookup_time:\r
297     type: timing_distribution\r
298     time_unit: millisecond\r
299     description: >\r
300       Time for an unsuccessful DNS OS resolution (msec) |\r
301       Migrated from Firefox Telemetry's `DNS_FAILED_LOOKUP_TIME`.\r
302     bugs:\r
303       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
304     data_reviews:\r
305       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
306     data_sensitivity:\r
307       - technical\r
308     notification_emails:\r
309       - necko@mozilla.com\r
310       - acreskey@mozilla.com\r
311     expires: never\r
312     telemetry_mirror: DNS_FAILED_LOOKUP_TIME\r
314   http_content_onstart_delay:\r
315     type: timing_distribution\r
316     time_unit: millisecond\r
317     description: >\r
318       The time between dispatching OnStartRequest from the socket thread and processing it on the main thread (content process).\r
319     bugs:\r
320       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
321     data_reviews:\r
322       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c\r
323     data_sensitivity:\r
324       - technical\r
325     notification_emails:\r
326       - necko@mozilla.com\r
327       - rjesup@mozilla.com\r
328     expires: 130\r
330   http_content_onstop_delay:\r
331     type: timing_distribution\r
332     time_unit: millisecond\r
333     description: >\r
334       The time between dispatching OnStopRequest from the socket thread and processing it on the main thread (content process).\r
335     bugs:\r
336       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
337     data_reviews:\r
338       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c\r
339     data_sensitivity:\r
340       - technical\r
341     notification_emails:\r
342       - necko@mozilla.com\r
343       - rjesup@mozilla.com\r
344     expires: 130\r
346   http_content_ondatafinished_delay:\r
347     type: timing_distribution\r
348     time_unit: millisecond\r
349     description: >\r
350       The time between dispatching OnDataFinished from the socket thread and processing it.\r
351     bugs:\r
352       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615\r
353     data_reviews:\r
354       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c\r
355     data_sensitivity:\r
356       - technical\r
357     notification_emails:\r
358       - necko@mozilla.com\r
359       - rjesup@mozilla.com\r
360     expires: 130\r
362   http_content_ondatafinished_to_onstop_delay:\r
363     type: timing_distribution\r
364     time_unit: millisecond\r
365     description: >\r
366       The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)\r
367     bugs:\r
368       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615\r
369     data_reviews:\r
370       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c\r
371     data_sensitivity:\r
372       - technical\r
373     notification_emails:\r
374       - necko@mozilla.com\r
375       - rjesup@mozilla.com\r
376     expires: 130\r
378   http_content_ondatafinished_to_onstop_delay_negative:\r
379     type: timing_distribution\r
380     time_unit: millisecond\r
381     description: >\r
382       The time between processing OnStopRequest and processing OnDataFinished (if OnStopRequest comes first)\r
383     bugs:\r
384       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615\r
385     data_reviews:\r
386       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c\r
387     data_sensitivity:\r
388       - technical\r
389     notification_emails:\r
390       - necko@mozilla.com\r
391       - rjesup@mozilla.com\r
392     expires: 130\r
394   http_content_html5parser_ondatafinished_to_onstop_delay:\r
395     type: timing_distribution\r
396     time_unit: millisecond\r
397     description: >\r
398       The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)\r
399     bugs:\r
400       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
401     data_reviews:\r
402       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
403     data_sensitivity:\r
404       - technical\r
405     notification_emails:\r
406       - necko@mozilla.com\r
407       - rjesup@mozilla.com\r
408     expires: 130\r
410   http_content_html5parser_ondatafinished_to_onstop_delay_negative:\r
411     type: timing_distribution\r
412     time_unit: millisecond\r
413     description: >\r
414       The time between processing OnStopRequest and processing OnDataFinished (if OnStopRequest comes first)\r
415     bugs:\r
416       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
417     data_reviews:\r
418       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926\r
419     data_sensitivity:\r
420       - technical\r
421     notification_emails:\r
422       - necko@mozilla.com\r
423       - rjesup@mozilla.com\r
424     expires: 130\r
426   http_1_download_throughput:\r
427     type: custom_distribution\r
428     unit: mbps\r
429     range_min: 0\r
430     range_max: 10000\r
431     bucket_count: 100\r
432     histogram_type: exponential\r
433     description: >\r
434      The download throughput for  http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.\r
435     bugs:\r
436       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798\r
437     data_reviews:\r
438       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2\r
439     data_sensitivity:\r
440       - technical\r
441     notification_emails:\r
442       - necko@mozilla.com\r
443       - acreskey@mozilla.com\r
444     expires: never\r
445     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_1\r
447   http_2_download_throughput:\r
448     type: custom_distribution\r
449     unit: mbps\r
450     range_min: 0\r
451     range_max: 10000\r
452     bucket_count: 100\r
453     histogram_type: exponential\r
454     description: >\r
455      The download throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.\r
456     bugs:\r
457       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798\r
458     data_reviews:\r
459       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2\r
460     data_sensitivity:\r
461       - technical\r
462     notification_emails:\r
463       - necko@mozilla.com\r
464       - acreskey@mozilla.com\r
465     expires: never\r
466     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_2\r
468   http_3_download_throughput:\r
469     type: custom_distribution\r
470     unit: mbps\r
471     range_min: 0\r
472     range_max: 10000\r
473     bucket_count: 100\r
474     histogram_type: exponential\r
475     description: >\r
476      The download throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.\r
477     bugs:\r
478       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798\r
479     data_reviews:\r
480       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2\r
481     data_sensitivity:\r
482       - technical\r
483     notification_emails:\r
484       - necko@mozilla.com\r
485       - acreskey@mozilla.com\r
486     expires: never\r
487     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_3\r
489   http_1_upload_throughput:\r
490     type: custom_distribution\r
491     unit: mbps\r
492     range_min: 0\r
493     range_max: 5000\r
494     bucket_count: 100\r
495     histogram_type: exponential\r
496     description: >\r
497      The upload throughput for http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.\r
498     bugs:\r
499       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256\r
500     data_reviews:\r
501       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2\r
502     data_sensitivity:\r
503       - technical\r
504     notification_emails:\r
505       - necko@mozilla.com\r
506       - acreskey@mozilla.com\r
507     expires: never\r
508     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1\r
510   http_2_upload_throughput:\r
511     type: custom_distribution\r
512     unit: mbps\r
513     range_min: 0\r
514     range_max: 5000\r
515     bucket_count: 100\r
516     histogram_type: exponential\r
517     description: >\r
518      The upload throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.\r
519     bugs:\r
520       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256\r
521     data_reviews:\r
522       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2\r
523     data_sensitivity:\r
524       - technical\r
525     notification_emails:\r
526       - necko@mozilla.com\r
527       - acreskey@mozilla.com\r
528     expires: never\r
529     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2\r
531   http_3_upload_throughput:\r
532     type: custom_distribution\r
533     unit: mbps\r
534     range_min: 0\r
535     range_max: 5000\r
536     bucket_count: 100\r
537     histogram_type: exponential\r
538     description: >\r
539      The upload throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.\r
540     bugs:\r
541       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256\r
542     data_reviews:\r
543       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2\r
544     data_sensitivity:\r
545       - technical\r
546     notification_emails:\r
547       - necko@mozilla.com\r
548       - acreskey@mozilla.com\r
549     expires: never\r
550     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3\r
552   residual_cache_folder_count:\r
553     type: counter\r
554     description: >\r
555       Counts how often we find a cache folder that wasn't purged\r
556       at shutdown by a background task process.\r
557     bugs:\r
558       - https://bugzilla.mozilla.org/1848542\r
559     data_reviews:\r
560       - https://bugzilla.mozilla.org/show_bug.cgi?id=1848542\r
561     notification_emails:\r
562       - vgosu@mozilla.com\r
563     expires: 136\r
565   residual_cache_folder_removal:\r
566     type: labeled_counter\r
567     description: >\r
568       Counts how often succeed/fail in removing cache folder\r
569       that wasn't purged at shutdown\r
570     bugs:\r
571       - https://bugzilla.mozilla.org/1848542\r
572     data_reviews:\r
573       - https://bugzilla.mozilla.org/show_bug.cgi?id=1848542\r
574     notification_emails:\r
575       - vgosu@mozilla.com\r
576     expires: 136\r
577     labels:\r
578       - success\r
579       - failure\r