Backed out 2 changesets (bug 1881078, bug 1879806) for causing dt failures @ devtools...
[gecko.git] / netwerk / metrics.yaml
blobfbdbd65291fdf9031c558a8b8492aaa7220f0c52
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/.
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
8 ---
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
10 $tags:
11   - 'Core :: Networking'
13 networking:
14   speculative_connect_outcome:
15     type: labeled_counter
16     description: >
17       Counts the occurrence of each outcome of a speculative connection
18     bugs:
19       - https://bugzilla.mozilla.org/show_bug.cgi?id=909865
20     data_reviews:
21       - https://bugzilla.mozilla.org/show_bug.cgi?id=909865
22     data_sensitivity:
23       - technical
24     notification_emails:
25       - necko@mozilla.com
26       - acreskey@mozilla.com
27     expires: never
28     labels:
29       - successful
30       - aborted_socket_limit
31       - aborted_socket_fail
32       - aborted_https_not_enabled
33     telemetry_mirror: NETWORKING_SPECULATIVE_CONNECT_OUTCOME
35   cookie_timestamp_fixed_count:
36     type: labeled_counter
37     description: >
38       Counts the number of times a cookie's invalid timestamp was fixed when
39       reading it from the DB.
40     bugs:
41       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126
42     data_reviews:
43       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5
44     data_sensitivity:
45       - technical
46     notification_emails:
47       - necko@mozilla.com
48       - vgosu@mozilla.com
49     labels:
50       - creationTime
51       - lastAccessed
52     expires: never
54   cookie_creation_fixup_diff:
55     type: custom_distribution
56     unit: second
57     description: >
58       If we fix up a cookie creation timestamp that is in the future this
59       metric records the number of seconds that timestamp was off from NOW.
60     bugs:
61       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126
62     data_reviews:
63       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5
64     data_sensitivity:
65       - technical
66     notification_emails:
67       - necko@mozilla.com
68       - vgosu@mozilla.com
69     expires: never
70     range_min: 0
71     range_max: 315360000000
72     bucket_count: 100
73     histogram_type: exponential
75   cookie_access_fixup_diff:
76     type: custom_distribution
77     unit: second
78     description: >
79       If we fix up a cookie lastAccessed timestamp that is in the future this
80       metric records the number of seconds that timestamp was off from NOW.
81     bugs:
82       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126
83     data_reviews:
84       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5
85     data_sensitivity:
86       - technical
87     notification_emails:
88       - necko@mozilla.com
89       - vgosu@mozilla.com
90     expires: never
91     range_min: 0
92     range_max: 315360000000
93     bucket_count: 100
94     histogram_type: exponential
96   cookie_count_total:
97     type: custom_distribution
98     description: >
99       Reports the total number of cookies in storage
100     range_min: 0
101     range_max: 4000
102     bucket_count: 22
103     histogram_type: exponential
104     unit: integer
105     bugs:
106       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
107     data_reviews:
108       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
109     data_sensitivity:
110       - technical
111     notification_emails:
112       - necko@mozilla.com
113       - edgul@mozilla.com
114     expires: 128
116   cookie_count_partitioned:
117     type: custom_distribution
118     description: >
119       Reports the number of partitioned cookies in storage
120     range_min: 0
121     range_max: 4000
122     bucket_count: 22
123     histogram_type: exponential
124     unit: integer
125     bugs:
126       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
127     data_reviews:
128       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
129     data_sensitivity:
130       - technical
131     notification_emails:
132       - necko@mozilla.com
133       - edgul@mozilla.com
134     expires: 128
136   cookie_count_unpartitioned:
137     type: custom_distribution
138     description: >
139       Reports the number of unpartitioned cookies in storage
140     range_min: 0
141     range_max: 4000
142     bucket_count: 22
143     histogram_type: exponential
144     unit: integer
145     bugs:
146       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
147     data_reviews:
148       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
149     data_sensitivity:
150       - technical
151     notification_emails:
152       - necko@mozilla.com
153       - edgul@mozilla.com
154     expires: 128
156   cookie_count_part_by_key:
157     type: custom_distribution
158     description: >
159       A distribution of the partitioned cookies in storage belonging to
160       a particular cookie key (host + origin attributes)
161     range_min: 1
162     range_max: 220
163     bucket_count: 10
164     histogram_type: exponential
165     unit: integer
166     bugs:
167       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
168     data_reviews:
169       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
170     data_sensitivity:
171       - technical
172     notification_emails:
173       - necko@mozilla.com
174       - edgul@mozilla.com
175     expires: 128
177   cookie_count_unpart_by_key:
178     type: custom_distribution
179     description: >
180       A distribution of the unpartitioned cookies in storage belonging to
181       a particular cookie key (host + origin attributes)
182     range_min: 1
183     range_max: 220
184     bucket_count: 10
185     histogram_type: exponential
186     unit: integer
187     bugs:
188       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
189     data_reviews:
190       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
191     data_sensitivity:
192       - technical
193     notification_emails:
194       - necko@mozilla.com
195       - edgul@mozilla.com
196     expires: 128
198   cookie_purge_max:
199     type: custom_distribution
200     description: >
201       A distribution of the number of cookies purged across
202       all host + OAs as a result of exceeding the cookie maximum threshold
203       (single purge)
204     range_min: 1
205     range_max: 4000
206     bucket_count: 22
207     histogram_type: exponential
208     unit: integer
209     bugs:
210       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
211     data_reviews:
212       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
213     data_sensitivity:
214       - technical
215     notification_emails:
216       - necko@mozilla.com
217       - edgul@mozilla.com
218     expires: 128
220   cookie_purge_entry_max:
221     type: custom_distribution
222     description: >
223       A distribution of the number of cookies purged for a single
224       host + OA entry as a result of exceeding the maximum threshold
225       for the given host + OA (single purge)
226     range_min: 1
227     range_max: 220
228     bucket_count: 10
229     histogram_type: exponential
230     unit: integer
231     bugs:
232       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
233     data_reviews:
234       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
235     data_sensitivity:
236       - technical
237     notification_emails:
238       - necko@mozilla.com
239       - edgul@mozilla.com
240     expires: 128
242   set_cookie:
243     type: counter
244     description: >
245       This counts the number of times we set a cookie. Introduced
246       as a denomenator for measuring CHIPS adoption.
247     bugs:
248       - https://bugzilla.mozilla.org/1865199
249     data_reviews:
250       - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
251     notification_emails:
252       - bvandersloot@mozilla.com
253     expires: 132
255   set_cookie_foreign:
256     type: rate
257     description: >
258       This counts the number of times we set a cookie from a foreign (not
259       same-site) context. Introduced as a denomenator for measuring CHIPS
260       adoption.
261     bugs:
262       - https://bugzilla.mozilla.org/1865199
263     data_reviews:
264       - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
265     notification_emails:
266       - bvandersloot@mozilla.com
267     expires: 132
268     denominator_metric: networking.set_cookie
270   set_cookie_partitioned:
271     type: rate
272     description: >
273       This counts the number of times we set a cookie that has the Partitioned
274       attribute. This tracks the adoption of CHIPS.
275     bugs:
276       - https://bugzilla.mozilla.org/1865199
277     data_reviews:
278       - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
279     notification_emails:
280       - bvandersloot@mozilla.com
281     expires: 132
282     denominator_metric: networking.set_cookie
284   set_cookie_foreign_partitioned:
285     type: rate
286     description: >
287       This counts the number of times we set a cookie that has the Partitioned
288       attribute in a foreign (not same-site) context. This tracks the adoption
289       of CHIPS.
290     bugs:
291       - https://bugzilla.mozilla.org/1865199
292     data_reviews:
293       - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
294     notification_emails:
295       - bvandersloot@mozilla.com
296     expires: 132
297     denominator_metric: networking.set_cookie
299   dns_lookup_time:
300     type: timing_distribution
301     time_unit: millisecond
302     description: >
303       Time for a successful DNS resolution (msec) |
304       Migrated from Firefox Telemetry's `DNS_LOOKUP_TIME`.
305     bugs:
306       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
307     data_reviews:
308       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
309     data_sensitivity:
310       - technical
311     notification_emails:
312       - necko@mozilla.com
313       - acreskey@mozilla.com
314     expires: never
315     telemetry_mirror: DNS_LOOKUP_TIME
317   dns_renewal_time:
318     type: timing_distribution
319     time_unit: millisecond
320     description: >
321       Time for a renewed DNS OS resolution (msec) |
322       Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME`.
323     bugs:
324       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
325     data_reviews:
326       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
327     data_sensitivity:
328       - technical
329     notification_emails:
330       - necko@mozilla.com
331       - acreskey@mozilla.com
332     expires: never
333     telemetry_mirror: DNS_RENEWAL_TIME
335   dns_renewal_time_for_ttl:
336     type: timing_distribution
337     time_unit: millisecond
338     description: >
339       Time for a DNS OS resolution (msec) used to get TTL |
340       Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME_FOR_TTL`.
341     bugs:
342       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
343     data_reviews:
344       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
345     data_sensitivity:
346       - technical
347     notification_emails:
348       - necko@mozilla.com
349       - acreskey@mozilla.com
350     expires: never
351     telemetry_mirror: DNS_RENEWAL_TIME_FOR_TTL
353   dns_failed_lookup_time:
354     type: timing_distribution
355     time_unit: millisecond
356     description: >
357       Time for an unsuccessful DNS OS resolution (msec) |
358       Migrated from Firefox Telemetry's `DNS_FAILED_LOOKUP_TIME`.
359     bugs:
360       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
361     data_reviews:
362       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
363     data_sensitivity:
364       - technical
365     notification_emails:
366       - necko@mozilla.com
367       - acreskey@mozilla.com
368     expires: never
369     telemetry_mirror: DNS_FAILED_LOOKUP_TIME
371   dns_native_count:
372     type: labeled_counter
373     description: >
374       The count of calls to the native DNS APIs
375     bugs:
376       - https://bugzilla.mozilla.org/show_bug.cgi?id=1879165
377     data_reviews:
378       - https://bugzilla.mozilla.org/show_bug.cgi?id=1879165
379     data_sensitivity:
380       - technical
381     notification_emails:
382       - vgosu@mozilla.com
383       - necko@mozilla.com
384     expires: 140
385     labels:
386       - regular
387       - private
388       - https_regular
389       - https_private
391   http_content_onstart_delay:
392     type: timing_distribution
393     time_unit: millisecond
394     description: >
395       The time between dispatching OnStartRequest from the socket thread and processing it on the main thread (content process).
396     bugs:
397       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
398     data_reviews:
399       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c
400     data_sensitivity:
401       - technical
402     notification_emails:
403       - necko@mozilla.com
404       - rjesup@mozilla.com
405     expires: 130
407   http_content_onstop_delay:
408     type: timing_distribution
409     time_unit: millisecond
410     description: >
411       The time between dispatching OnStopRequest from the socket thread and processing it on the main thread (content process).
412     bugs:
413       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
414     data_reviews:
415       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c
416     data_sensitivity:
417       - technical
418     notification_emails:
419       - necko@mozilla.com
420       - rjesup@mozilla.com
421     expires: 130
423   http_content_ondatafinished_delay:
424     type: timing_distribution
425     time_unit: millisecond
426     description: >
427       The time between dispatching OnDataFinished from the socket thread and processing it.
428     bugs:
429       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615
430     data_reviews:
431       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c
432     data_sensitivity:
433       - technical
434     notification_emails:
435       - necko@mozilla.com
436       - rjesup@mozilla.com
437     expires: 130
439   http_content_ondatafinished_to_onstop_delay:
440     type: timing_distribution
441     time_unit: millisecond
442     description: >
443       The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)
444     bugs:
445       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615
446     data_reviews:
447       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c
448     data_sensitivity:
449       - technical
450     notification_emails:
451       - necko@mozilla.com
452       - rjesup@mozilla.com
453     expires: 130
455   http_content_ondatafinished_to_onstop_delay_negative:
456     type: timing_distribution
457     time_unit: millisecond
458     description: >
459       The time between processing OnStopRequest and processing OnDataFinished (if OnStopRequest comes first)
460     bugs:
461       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615
462     data_reviews:
463       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c
464     data_sensitivity:
465       - technical
466     notification_emails:
467       - necko@mozilla.com
468       - rjesup@mozilla.com
469     expires: 130
471   http_content_html5parser_ondatafinished_to_onstop_delay:
472     type: timing_distribution
473     time_unit: millisecond
474     description: >
475       The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)
476     bugs:
477       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
478     data_reviews:
479       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
480     data_sensitivity:
481       - technical
482     notification_emails:
483       - necko@mozilla.com
484       - rjesup@mozilla.com
485     expires: 130
487   http_content_html5parser_ondatafinished_to_onstop_delay_negative:
488     type: timing_distribution
489     time_unit: millisecond
490     description: >
491       The time between processing OnStopRequest and processing OnDataFinished (if OnStopRequest comes first)
492     bugs:
493       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
494     data_reviews:
495       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
496     data_sensitivity:
497       - technical
498     notification_emails:
499       - necko@mozilla.com
500       - rjesup@mozilla.com
501     expires: 130
503   http_1_download_throughput:
504     type: custom_distribution
505     unit: mbps
506     range_min: 0
507     range_max: 10000
508     bucket_count: 100
509     histogram_type: exponential
510     description: >
511      The download throughput for  http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.
512     bugs:
513       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
514     data_reviews:
515       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
516     data_sensitivity:
517       - technical
518     notification_emails:
519       - necko@mozilla.com
520       - acreskey@mozilla.com
521     expires: never
522     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_1
524   http_2_download_throughput:
525     type: custom_distribution
526     unit: mbps
527     range_min: 0
528     range_max: 10000
529     bucket_count: 100
530     histogram_type: exponential
531     description: >
532      The download throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.
533     bugs:
534       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
535     data_reviews:
536       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
537     data_sensitivity:
538       - technical
539     notification_emails:
540       - necko@mozilla.com
541       - acreskey@mozilla.com
542     expires: never
543     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_2
545   http_3_download_throughput:
546     type: custom_distribution
547     unit: mbps
548     range_min: 0
549     range_max: 10000
550     bucket_count: 100
551     histogram_type: exponential
552     description: >
553      The download throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.
554     bugs:
555       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
556     data_reviews:
557       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
558     data_sensitivity:
559       - technical
560     notification_emails:
561       - necko@mozilla.com
562       - acreskey@mozilla.com
563     expires: never
564     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_3
566   http_1_upload_throughput:
567     type: custom_distribution
568     unit: mbps
569     range_min: 0
570     range_max: 5000
571     bucket_count: 100
572     histogram_type: exponential
573     description: >
574      The upload throughput for http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.
575     bugs:
576       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
577     data_reviews:
578       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
579     data_sensitivity:
580       - technical
581     notification_emails:
582       - necko@mozilla.com
583       - acreskey@mozilla.com
584     expires: never
585     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1
587   http_2_upload_throughput:
588     type: custom_distribution
589     unit: mbps
590     range_min: 0
591     range_max: 5000
592     bucket_count: 100
593     histogram_type: exponential
594     description: >
595      The upload throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.
596     bugs:
597       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
598     data_reviews:
599       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
600     data_sensitivity:
601       - technical
602     notification_emails:
603       - necko@mozilla.com
604       - acreskey@mozilla.com
605     expires: never
606     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2
608   http_3_upload_throughput:
609     type: custom_distribution
610     unit: mbps
611     range_min: 0
612     range_max: 5000
613     bucket_count: 100
614     histogram_type: exponential
615     description: >
616      The upload throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.
617     bugs:
618       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
619     data_reviews:
620       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
621     data_sensitivity:
622       - technical
623     notification_emails:
624       - necko@mozilla.com
625       - acreskey@mozilla.com
626     expires: never
627     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3
629   http_1_upload_throughput_10_50:
630     type: custom_distribution
631     unit: mbps
632     range_min: 0
633     range_max: 5000
634     bucket_count: 100
635     histogram_type: exponential
636     description: >
637      The upload throughput for http/1.0, http/1.1 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
638     bugs:
639       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
640     data_reviews:
641       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
642     data_sensitivity:
643       - technical
644     notification_emails:
645       - necko@mozilla.com
646       - kershaw@mozilla.com
647     expires: never
648     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_10_50
650   http_1_upload_throughput_50_100:
651     type: custom_distribution
652     unit: mbps
653     range_min: 0
654     range_max: 5000
655     bucket_count: 100
656     histogram_type: exponential
657     description: >
658      The upload throughput for http/1.0, http/1.1 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
659     bugs:
660       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
661     data_reviews:
662       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
663     data_sensitivity:
664       - technical
665     notification_emails:
666       - necko@mozilla.com
667       - kershaw@mozilla.com
668     expires: never
669     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_50_100
671   http_1_upload_throughput_100:
672     type: custom_distribution
673     unit: mbps
674     range_min: 0
675     range_max: 5000
676     bucket_count: 100
677     histogram_type: exponential
678     description: >
679      The upload throughput for http/1.0, http/1.1 request size larger than 100MB. Measured in megabits per second, Mbps.
680     bugs:
681       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
682     data_reviews:
683       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
684     data_sensitivity:
685       - technical
686     notification_emails:
687       - necko@mozilla.com
688       - kershaw@mozilla.com
689     expires: never
690     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_100
692   http_2_upload_throughput_10_50:
693     type: custom_distribution
694     unit: mbps
695     range_min: 0
696     range_max: 5000
697     bucket_count: 100
698     histogram_type: exponential
699     description: >
700      The upload throughput for http/2 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
701     bugs:
702       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
703     data_reviews:
704       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
705     data_sensitivity:
706       - technical
707     notification_emails:
708       - necko@mozilla.com
709       - kershaw@mozilla.com
710     expires: never
711     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_10_50
713   http_2_upload_throughput_50_100:
714     type: custom_distribution
715     unit: mbps
716     range_min: 0
717     range_max: 5000
718     bucket_count: 100
719     histogram_type: exponential
720     description: >
721      The upload throughput for http/2 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
722     bugs:
723       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
724     data_reviews:
725       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
726     data_sensitivity:
727       - technical
728     notification_emails:
729       - necko@mozilla.com
730       - kershaw@mozilla.com
731     expires: never
732     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_50_100
734   http_2_upload_throughput_100:
735     type: custom_distribution
736     unit: mbps
737     range_min: 0
738     range_max: 5000
739     bucket_count: 100
740     histogram_type: exponential
741     description: >
742      The upload throughput for http/2 request size larger than 100MB. Measured in megabits per second, Mbps.
743     bugs:
744       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
745     data_reviews:
746       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
747     data_sensitivity:
748       - technical
749     notification_emails:
750       - necko@mozilla.com
751       - kershaw@mozilla.com
752     expires: never
753     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_100
755   http_3_upload_throughput_10_50:
756     type: custom_distribution
757     unit: mbps
758     range_min: 0
759     range_max: 5000
760     bucket_count: 100
761     histogram_type: exponential
762     description: >
763      The upload throughput for http/3 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
764     bugs:
765       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
766     data_reviews:
767       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
768     data_sensitivity:
769       - technical
770     notification_emails:
771       - necko@mozilla.com
772       - kershaw@mozilla.com
773     expires: never
774     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_10_50
776   http_3_upload_throughput_50_100:
777     type: custom_distribution
778     unit: mbps
779     range_min: 0
780     range_max: 5000
781     bucket_count: 100
782     histogram_type: exponential
783     description: >
784      The upload throughput for http/3 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
785     bugs:
786       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
787     data_reviews:
788       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
789     data_sensitivity:
790       - technical
791     notification_emails:
792       - necko@mozilla.com
793       - kershaw@mozilla.com
794     expires: never
795     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_50_100
797   http_3_upload_throughput_100:
798     type: custom_distribution
799     unit: mbps
800     range_min: 0
801     range_max: 5000
802     bucket_count: 100
803     histogram_type: exponential
804     description: >
805      The upload throughput for http/3 request size larger than 100MB. Measured in megabits per second, Mbps.
806     bugs:
807       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
808     data_reviews:
809       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
810     data_sensitivity:
811       - technical
812     notification_emails:
813       - necko@mozilla.com
814       - kershaw@mozilla.com
815     expires: never
816     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_100
818   residual_cache_folder_count:
819     type: counter
820     description: >
821       Counts how often we find a cache folder that wasn't purged
822       at shutdown by a background task process.
823     bugs:
824       - https://bugzilla.mozilla.org/1848542
825     data_reviews:
826       - https://bugzilla.mozilla.org/show_bug.cgi?id=1848542
827     notification_emails:
828       - vgosu@mozilla.com
829     expires: 136
831   residual_cache_folder_removal:
832     type: labeled_counter
833     description: >
834       Counts how often succeed/fail in removing cache folder
835       that wasn't purged at shutdown
836     bugs:
837       - https://bugzilla.mozilla.org/1848542
838     data_reviews:
839       - https://bugzilla.mozilla.org/show_bug.cgi?id=1848542
840     notification_emails:
841       - vgosu@mozilla.com
842     expires: 136
843     labels:
844       - success
845       - failure
847   trr_request_count:
848     type: labeled_counter
849     description: >
850       The count of successful TRR requests keyed by regular/private browsing
851     bugs:
852       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866245
853     data_reviews:
854       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866245
855     notification_emails:
856       - vgosu@mozilla.com
857       - necko@mozilla.com
858     expires: 130
859     labels:
860       - regular
861       - private
863   http_response_version:
864     type: labeled_counter
865     description: >
866       HTTP protocol version used on response from nsHttp.h
867     bugs:
868       - https://bugzilla.mozilla.org/show_bug.cgi?id=1876776
869     data_reviews:
870       - https://bugzilla.mozilla.org/show_bug.cgi?id=1876776#c2
871     notification_emails:
872       - necko@mozilla.com
873     expires: never
874     labels:
875       - unknown
876       - http_1
877       - http_2
878       - http_3
880   https_rr_presented:
881     type: labeled_counter
882     description: >
883       HTTPS RR is presented or not
884     bugs:
885       - https://bugzilla.mozilla.org/1686421
886     data_reviews:
887       - https://bugzilla.mozilla.org/show_bug.cgi?id=1686421
888     notification_emails:
889       - necko@mozilla.com
890       - kershaw@mozilla.com
891     expires: never
892     labels:
893       - presented
894       - presented_with_http3
895       - none
897   https_upgrade_with_https_rr:
898     type: labeled_counter
899     description: >
900       Whether an HTTP request gets upgraded to HTTPS because of HTTPS RR
901     bugs:
902       - https://bugzilla.mozilla.org/1686421
903     data_reviews:
904       - https://bugzilla.mozilla.org/show_bug.cgi?id=1686421
905     notification_emails:
906       - necko@mozilla.com
907       - kershaw@mozilla.com
908     expires: never
909     labels:
910       - https_rr
911       - others
913   http_channel_onstart_success_https_rr:
914     type: labeled_counter
915     description: >
916       Successfully started HTTP channels when HTTPS RR is used
917     bugs:
918       - https://bugzilla.mozilla.org/1682552
919     data_reviews:
920       - https://bugzilla.mozilla.org/show_bug.cgi?id=1682552
921     notification_emails:
922       - necko@mozilla.com
923       - kershaw@mozilla.com
924     expires: never
925     labels:
926       - success
927       - failure
928       - success_ech_used
929       - failure_ech_used
931   http_channel_page_open_to_first_sent:
932     type: timing_distribution
933     time_unit: millisecond
934     description: >
935       Time in milliseconds from AsyncOpen to first byte of request sent,
936       applicable for page loads without HTTPS RR
937     bugs:
938       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
939     data_reviews:
940       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
941     data_sensitivity:
942       - technical
943     notification_emails:
944       - necko@mozilla.com
945       - kershaw@mozilla.com
946     expires: never
948   http_channel_sub_open_to_first_sent:
949     type: timing_distribution
950     time_unit: millisecond
951     description: >
952       Time in milliseconds from AsyncOpen to first byte of request sent,
953       applicable for sub-resource loads without HTTPS RR
954     bugs:
955       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
956     data_reviews:
957       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
958     data_sensitivity:
959       - technical
960     notification_emails:
961       - necko@mozilla.com
962       - kershaw@mozilla.com
963     expires: never
965   http_channel_page_open_to_first_sent_https_rr:
966     type: timing_distribution
967     time_unit: millisecond
968     description: >
969       Time in milliseconds from AsyncOpen to first byte of request sent,
970       applicable for page loads with HTTPS RR
971     bugs:
972       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
973     data_reviews:
974       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
975     data_sensitivity:
976       - technical
977     notification_emails:
978       - necko@mozilla.com
979       - kershaw@mozilla.com
980     expires: never
982   http_channel_sub_open_to_first_sent_https_rr:
983     type: timing_distribution
984     time_unit: millisecond
985     description: >
986       Time in milliseconds from AsyncOpen to first byte of request sent,
987       applicable for sub-resource loads with HTTPS RR
988     bugs:
989       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
990     data_reviews:
991       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
992     data_sensitivity:
993       - technical
994     notification_emails:
995       - necko@mozilla.com
996       - kershaw@mozilla.com
997     expires: never
999   transaction_wait_time_https_rr:
1000     type: timing_distribution
1001     time_unit: millisecond
1002     description: >
1003       Time from submission to dispatch of transaction when HTTPS RR is used (ms)
1004     bugs:
1005       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1006     data_reviews:
1007       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1008     data_sensitivity:
1009       - technical
1010     notification_emails:
1011       - necko@mozilla.com
1012       - kershaw@mozilla.com
1013     expires: never
1015   proxy_info_type:
1016     type: labeled_counter
1017     description: >
1018       The proxies configurations created in the browser session (SOCKSv4, SOCKSv5, HTTP, HTTPS)
1019     bugs:
1020       - https://bugzilla.mozilla.org/show_bug.cgi?id=1879848
1021     data_reviews:
1022       - https://bugzilla.mozilla.org/show_bug.cgi?id=1879848
1023     data_sensitivity:
1024       - technical
1025     notification_emails:
1026       - necko@mozilla.com
1027       - manuel@mozilla.com
1028     expires: 129
1029     labels:
1030       - http
1031       - https
1032       # SOCKS4 Proxy
1033       - socks4
1034       # SOCKS4a Proxy. Proxy resolves URL hostname
1035       - socks4a
1036       # SOCKS5 Proxy
1037       - socks5
1038       # SOCKS5 Proxy. Proxy resolves URL hostname
1039       # Use convention from curl for socks5 proxies that resolve the hostname
1040       # https://curl.se/libcurl/c/CURLOPT_PROXY.html
1041       - socks5h
1042       # No proxy
1043       - direct
1044       - unknown
1046   transaction_wait_time:
1047     type: timing_distribution
1048     time_unit: millisecond
1049     description: >
1050       Time from submission to dispatch of transaction without HTTPS RR (ms)
1051     bugs:
1052       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1053     data_reviews:
1054       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1055     data_sensitivity:
1056       - technical
1057     notification_emails:
1058       - necko@mozilla.com
1059       - kershaw@mozilla.com
1060     expires: never