Backed out changeset a5ff95602119 (bug 1905021) as requested for causing accessibilit...
[gecko.git] / netwerk / metrics.yaml
blob506220de9816cf78d4ed8341c54eeaabe44cdc87
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       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
108     data_reviews:
109       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
110       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
111     data_sensitivity:
112       - technical
113     notification_emails:
114       - necko@mozilla.com
115       - edgul@mozilla.com
116     expires: 134
118   cookie_count_partitioned:
119     type: custom_distribution
120     description: >
121       Reports the number of partitioned cookies in storage
122     range_min: 0
123     range_max: 4000
124     bucket_count: 22
125     histogram_type: exponential
126     unit: integer
127     bugs:
128       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
129       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
130     data_reviews:
131       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
132       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
133     data_sensitivity:
134       - technical
135     notification_emails:
136       - necko@mozilla.com
137       - edgul@mozilla.com
138     expires: 134
140   cookie_count_unpartitioned:
141     type: custom_distribution
142     description: >
143       Reports the number of unpartitioned cookies in storage
144     range_min: 0
145     range_max: 4000
146     bucket_count: 22
147     histogram_type: exponential
148     unit: integer
149     bugs:
150       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
151       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
152     data_reviews:
153       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
154       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
155     data_sensitivity:
156       - technical
157     notification_emails:
158       - necko@mozilla.com
159       - edgul@mozilla.com
160     expires: 134
162   cookie_count_part_by_key:
163     type: custom_distribution
164     description: >
165       A distribution of the partitioned cookies in storage belonging to
166       a particular cookie key (host + origin attributes)
167     range_min: 1
168     range_max: 220
169     bucket_count: 10
170     histogram_type: exponential
171     unit: integer
172     bugs:
173       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
174       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
175     data_reviews:
176       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
177       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
178     data_sensitivity:
179       - technical
180     notification_emails:
181       - necko@mozilla.com
182       - edgul@mozilla.com
183     expires: 134
185   cookie_count_unpart_by_key:
186     type: custom_distribution
187     description: >
188       A distribution of the unpartitioned cookies in storage belonging to
189       a particular cookie key (host + origin attributes)
190     range_min: 1
191     range_max: 220
192     bucket_count: 10
193     histogram_type: exponential
194     unit: integer
195     bugs:
196       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
197       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
198     data_reviews:
199       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
200       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
201     data_sensitivity:
202       - technical
203     notification_emails:
204       - necko@mozilla.com
205       - edgul@mozilla.com
206     expires: 134
208   cookie_purge_max:
209     type: custom_distribution
210     description: >
211       A distribution of the number of cookies purged across
212       all host + OAs as a result of exceeding the cookie maximum threshold
213       (single purge)
214     range_min: 1
215     range_max: 4000
216     bucket_count: 22
217     histogram_type: exponential
218     unit: integer
219     bugs:
220       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
221       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
222     data_reviews:
223       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
224       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
225     data_sensitivity:
226       - technical
227     notification_emails:
228       - necko@mozilla.com
229       - edgul@mozilla.com
230     expires: 134
232   cookie_purge_entry_max:
233     type: custom_distribution
234     description: >
235       A distribution of the number of cookies purged for a single
236       host + OA entry as a result of exceeding the maximum threshold
237       for the given host + OA (single purge)
238     range_min: 1
239     range_max: 220
240     bucket_count: 10
241     histogram_type: exponential
242     unit: integer
243     bugs:
244       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
245       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
246     data_reviews:
247       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
248       - https://bugzilla.mozilla.org/show_bug.cgi?id=1892158
249     data_sensitivity:
250       - technical
251     notification_emails:
252       - necko@mozilla.com
253       - edgul@mozilla.com
254     expires: 134
256   cookie_chips_partition_limit_overflow:
257     type: custom_distribution
258     description: >
259       The number of cookie bytes exceeding chips partition limit capacity for a single partition
260     range_min: 0
261     range_max: 16000000
262     bucket_count: 22
263     histogram_type: exponential
264     unit: integer
265     bugs:
266       - https://bugzilla.mozilla.org/show_bug.cgi?id=1878391
267     data_reviews:
268       - https://bugzilla.mozilla.org/show_bug.cgi?id=1878391
269     data_sensitivity:
270       - technical
271     notification_emails:
272       - necko@mozilla.com
273       - edgul@mozilla.com
274     expires: 134
276   set_cookie:
277     type: counter
278     description: >
279       This counts the number of times we set a cookie. Introduced
280       as a denomenator for measuring CHIPS adoption.
281     bugs:
282       - https://bugzilla.mozilla.org/1865199
283     data_reviews:
284       - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
285     notification_emails:
286       - bvandersloot@mozilla.com
287     expires: 132
289   set_cookie_foreign:
290     type: rate
291     description: >
292       This counts the number of times we set a cookie from a foreign (not
293       same-site) context. Introduced as a denomenator for measuring CHIPS
294       adoption.
295     bugs:
296       - https://bugzilla.mozilla.org/1865199
297     data_reviews:
298       - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
299     notification_emails:
300       - bvandersloot@mozilla.com
301     expires: 132
302     denominator_metric: networking.set_cookie
304   set_cookie_partitioned:
305     type: rate
306     description: >
307       This counts the number of times we set a cookie that has the Partitioned
308       attribute. This tracks the adoption of CHIPS.
309     bugs:
310       - https://bugzilla.mozilla.org/1865199
311     data_reviews:
312       - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
313     notification_emails:
314       - bvandersloot@mozilla.com
315     expires: 132
316     denominator_metric: networking.set_cookie
318   set_cookie_foreign_partitioned:
319     type: rate
320     description: >
321       This counts the number of times we set a cookie that has the Partitioned
322       attribute in a foreign (not same-site) context. This tracks the adoption
323       of CHIPS.
324     bugs:
325       - https://bugzilla.mozilla.org/1865199
326     data_reviews:
327       - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
328     notification_emails:
329       - bvandersloot@mozilla.com
330     expires: 132
331     denominator_metric: networking.set_cookie
333   dns_lookup_time:
334     type: timing_distribution
335     time_unit: millisecond
336     description: >
337       Time for a successful DNS resolution (msec) |
338       Migrated from Firefox Telemetry's `DNS_LOOKUP_TIME`.
339     bugs:
340       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
341     data_reviews:
342       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
343     data_sensitivity:
344       - technical
345     notification_emails:
346       - necko@mozilla.com
347       - acreskey@mozilla.com
348     expires: never
349     telemetry_mirror: DNS_LOOKUP_TIME
351   dns_renewal_time:
352     type: timing_distribution
353     time_unit: millisecond
354     description: >
355       Time for a renewed DNS OS resolution (msec) |
356       Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME`.
357     bugs:
358       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
359     data_reviews:
360       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
361     data_sensitivity:
362       - technical
363     notification_emails:
364       - necko@mozilla.com
365       - acreskey@mozilla.com
366     expires: never
367     telemetry_mirror: DNS_RENEWAL_TIME
369   dns_renewal_time_for_ttl:
370     type: timing_distribution
371     time_unit: millisecond
372     description: >
373       Time for a DNS OS resolution (msec) used to get TTL |
374       Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME_FOR_TTL`.
375     bugs:
376       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
377     data_reviews:
378       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
379     data_sensitivity:
380       - technical
381     notification_emails:
382       - necko@mozilla.com
383       - acreskey@mozilla.com
384     expires: never
385     telemetry_mirror: DNS_RENEWAL_TIME_FOR_TTL
387   dns_failed_lookup_time:
388     type: timing_distribution
389     time_unit: millisecond
390     description: >
391       Time for an unsuccessful DNS OS resolution (msec) |
392       Migrated from Firefox Telemetry's `DNS_FAILED_LOOKUP_TIME`.
393     bugs:
394       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
395     data_reviews:
396       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
397     data_sensitivity:
398       - technical
399     notification_emails:
400       - necko@mozilla.com
401       - acreskey@mozilla.com
402     expires: never
403     telemetry_mirror: DNS_FAILED_LOOKUP_TIME
405   dns_native_https_call_time:
406     type: timing_distribution
407     time_unit: millisecond
408     description: >
409       Time spent in the call to the native OS DNS resolution.
410     bugs:
411       - https://bugzilla.mozilla.org/show_bug.cgi?id=1885529
412     data_reviews:
413       - https://bugzilla.mozilla.org/show_bug.cgi?id=1885529
414     data_sensitivity:
415       - technical
416     notification_emails:
417       - necko@mozilla.com
418       - vgosu@mozilla.com
419     expires: never
421   dns_native_count:
422     type: labeled_counter
423     description: >
424       The count of calls to the native DNS APIs
425     bugs:
426       - https://bugzilla.mozilla.org/show_bug.cgi?id=1879165
427     data_reviews:
428       - https://bugzilla.mozilla.org/show_bug.cgi?id=1879165
429     data_sensitivity:
430       - technical
431     notification_emails:
432       - vgosu@mozilla.com
433       - necko@mozilla.com
434     expires: 140
435     labels:
436       - regular
437       - private
438       - https_regular
439       - https_private
441   http_content_onstart_delay:
442     type: timing_distribution
443     time_unit: millisecond
444     description: >
445       The time between dispatching OnStartRequest from the socket thread and processing it on the main thread (content process).
446     bugs:
447       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
448       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902188
449     data_reviews:
450       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c
451       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902188
452     data_sensitivity:
453       - technical
454     notification_emails:
455       - necko@mozilla.com
456       - rjesup@mozilla.com
457     expires: 136
459   http_content_onstop_delay:
460     type: timing_distribution
461     time_unit: millisecond
462     description: >
463       The time between dispatching OnStopRequest from the socket thread and processing it on the main thread (content process).
464     bugs:
465       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
466       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902188
467     data_reviews:
468       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c
469       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902188
470     data_sensitivity:
471       - technical
472     notification_emails:
473       - necko@mozilla.com
474       - rjesup@mozilla.com
475     expires: 136
477   http_content_ondatafinished_delay:
478     type: timing_distribution
479     time_unit: millisecond
480     description: >
481       The time between dispatching OnDataFinished from the socket thread and processing it.
482     bugs:
483       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615
484       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902188
485     data_reviews:
486       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c
487       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902188
488     data_sensitivity:
489       - technical
490     notification_emails:
491       - necko@mozilla.com
492       - rjesup@mozilla.com
493     expires: 136
495   http_content_ondatafinished_to_onstop_delay:
496     type: timing_distribution
497     time_unit: millisecond
498     description: >
499       The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)
500     bugs:
501       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615
502       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902188
503     data_reviews:
504       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c
505       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902188
506     data_sensitivity:
507       - technical
508     notification_emails:
509       - necko@mozilla.com
510       - rjesup@mozilla.com
511     expires: 136
513   http_content_html5parser_ondatafinished_to_onstop_delay:
514     type: timing_distribution
515     time_unit: millisecond
516     description: >
517       The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)
518     bugs:
519       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
520       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902188
521     data_reviews:
522       - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
523       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902188
524     data_sensitivity:
525       - technical
526     notification_emails:
527       - necko@mozilla.com
528       - rjesup@mozilla.com
529     expires: 136
531   http_content_cssloader_ondatafinished_to_onstop_delay:
532     type: timing_distribution
533     time_unit: millisecond
534     description: >
535       The time between processing OnDataFinished and processing OnStopRequest for CSSLoader in the content process
536     bugs:
537       - https://bugzilla.mozilla.org/show_bug.cgi?id=1883391
538       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902186
539     data_reviews:
540       - https://bugzilla.mozilla.org/show_bug.cgi?id=1883391
541     data_sensitivity:
542       - technical
543     notification_emails:
544       - necko@mozilla.com
545     expires: 136
547   http_onstart_suspend_total_time:
548     type: timing_distribution
549     time_unit: millisecond
550     telemetry_mirror: HTTP_ONSTART_SUSPEND_TOTAL_TIME
551     description: >
552       Time in milliseconds that http channel spent suspended between AsyncOpen and OnStartRequest.
553     bugs:
554       - https://bugzilla.mozilla.org/show_bug.cgi?id=1897209
555       - https://bugzilla.mozilla.org/show_bug.cgi?id=1347948
556     data_reviews:
557       - https://bugzilla.mozilla.org/show_bug.cgi?id=1897209
558     notification_emails:
559       - necko@mozilla.com
560     expires: never
562   http_1_download_throughput:
563     type: custom_distribution
564     unit: mbps
565     range_min: 0
566     range_max: 10000
567     bucket_count: 100
568     histogram_type: exponential
569     description: >
570      The download throughput for  http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.
571     bugs:
572       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
573     data_reviews:
574       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
575     data_sensitivity:
576       - technical
577     notification_emails:
578       - necko@mozilla.com
579       - acreskey@mozilla.com
580     expires: never
581     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_1
583   http_2_download_throughput:
584     type: custom_distribution
585     unit: mbps
586     range_min: 0
587     range_max: 10000
588     bucket_count: 100
589     histogram_type: exponential
590     description: >
591      The download throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.
592     bugs:
593       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
594     data_reviews:
595       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
596     data_sensitivity:
597       - technical
598     notification_emails:
599       - necko@mozilla.com
600       - acreskey@mozilla.com
601     expires: never
602     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_2
604   http_3_download_throughput:
605     type: custom_distribution
606     unit: mbps
607     range_min: 0
608     range_max: 10000
609     bucket_count: 100
610     histogram_type: exponential
611     description: >
612      The download throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.
613     bugs:
614       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
615     data_reviews:
616       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
617     data_sensitivity:
618       - technical
619     notification_emails:
620       - necko@mozilla.com
621       - acreskey@mozilla.com
622     expires: never
623     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_3
625   http_1_upload_throughput:
626     type: custom_distribution
627     unit: mbps
628     range_min: 0
629     range_max: 5000
630     bucket_count: 100
631     histogram_type: exponential
632     description: >
633      The upload throughput for http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.
634     bugs:
635       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
636     data_reviews:
637       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
638     data_sensitivity:
639       - technical
640     notification_emails:
641       - necko@mozilla.com
642       - acreskey@mozilla.com
643     expires: never
644     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1
646   http_2_upload_throughput:
647     type: custom_distribution
648     unit: mbps
649     range_min: 0
650     range_max: 5000
651     bucket_count: 100
652     histogram_type: exponential
653     description: >
654      The upload throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.
655     bugs:
656       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
657     data_reviews:
658       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
659     data_sensitivity:
660       - technical
661     notification_emails:
662       - necko@mozilla.com
663       - acreskey@mozilla.com
664     expires: never
665     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2
667   http_3_upload_throughput:
668     type: custom_distribution
669     unit: mbps
670     range_min: 0
671     range_max: 5000
672     bucket_count: 100
673     histogram_type: exponential
674     description: >
675      The upload throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.
676     bugs:
677       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
678     data_reviews:
679       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
680     data_sensitivity:
681       - technical
682     notification_emails:
683       - necko@mozilla.com
684       - acreskey@mozilla.com
685     expires: never
686     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3
688   http_1_upload_throughput_10_50:
689     type: custom_distribution
690     unit: mbps
691     range_min: 0
692     range_max: 5000
693     bucket_count: 100
694     histogram_type: exponential
695     description: >
696      The upload throughput for http/1.0, http/1.1 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
697     bugs:
698       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
699     data_reviews:
700       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
701     data_sensitivity:
702       - technical
703     notification_emails:
704       - necko@mozilla.com
705       - kershaw@mozilla.com
706     expires: never
707     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_10_50
709   http_1_upload_throughput_50_100:
710     type: custom_distribution
711     unit: mbps
712     range_min: 0
713     range_max: 5000
714     bucket_count: 100
715     histogram_type: exponential
716     description: >
717      The upload throughput for http/1.0, http/1.1 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
718     bugs:
719       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
720     data_reviews:
721       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
722     data_sensitivity:
723       - technical
724     notification_emails:
725       - necko@mozilla.com
726       - kershaw@mozilla.com
727     expires: never
728     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_50_100
730   http_1_upload_throughput_100:
731     type: custom_distribution
732     unit: mbps
733     range_min: 0
734     range_max: 5000
735     bucket_count: 100
736     histogram_type: exponential
737     description: >
738      The upload throughput for http/1.0, http/1.1 request size larger than 100MB. Measured in megabits per second, Mbps.
739     bugs:
740       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
741     data_reviews:
742       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
743     data_sensitivity:
744       - technical
745     notification_emails:
746       - necko@mozilla.com
747       - kershaw@mozilla.com
748     expires: never
749     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_100
751   http_2_upload_throughput_10_50:
752     type: custom_distribution
753     unit: mbps
754     range_min: 0
755     range_max: 5000
756     bucket_count: 100
757     histogram_type: exponential
758     description: >
759      The upload throughput for http/2 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
760     bugs:
761       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
762     data_reviews:
763       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
764     data_sensitivity:
765       - technical
766     notification_emails:
767       - necko@mozilla.com
768       - kershaw@mozilla.com
769     expires: never
770     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_10_50
772   http_2_upload_throughput_50_100:
773     type: custom_distribution
774     unit: mbps
775     range_min: 0
776     range_max: 5000
777     bucket_count: 100
778     histogram_type: exponential
779     description: >
780      The upload throughput for http/2 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
781     bugs:
782       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
783     data_reviews:
784       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
785     data_sensitivity:
786       - technical
787     notification_emails:
788       - necko@mozilla.com
789       - kershaw@mozilla.com
790     expires: never
791     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_50_100
793   http_2_upload_throughput_100:
794     type: custom_distribution
795     unit: mbps
796     range_min: 0
797     range_max: 5000
798     bucket_count: 100
799     histogram_type: exponential
800     description: >
801      The upload throughput for http/2 request size larger than 100MB. Measured in megabits per second, Mbps.
802     bugs:
803       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
804     data_reviews:
805       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
806     data_sensitivity:
807       - technical
808     notification_emails:
809       - necko@mozilla.com
810       - kershaw@mozilla.com
811     expires: never
812     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_100
814   http_3_upload_throughput_10_50:
815     type: custom_distribution
816     unit: mbps
817     range_min: 0
818     range_max: 5000
819     bucket_count: 100
820     histogram_type: exponential
821     description: >
822      The upload throughput for http/3 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
823     bugs:
824       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
825     data_reviews:
826       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
827     data_sensitivity:
828       - technical
829     notification_emails:
830       - necko@mozilla.com
831       - kershaw@mozilla.com
832     expires: never
833     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_10_50
835   http_3_upload_throughput_50_100:
836     type: custom_distribution
837     unit: mbps
838     range_min: 0
839     range_max: 5000
840     bucket_count: 100
841     histogram_type: exponential
842     description: >
843      The upload throughput for http/3 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
844     bugs:
845       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
846     data_reviews:
847       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
848     data_sensitivity:
849       - technical
850     notification_emails:
851       - necko@mozilla.com
852       - kershaw@mozilla.com
853     expires: never
854     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_50_100
856   http_3_upload_throughput_100:
857     type: custom_distribution
858     unit: mbps
859     range_min: 0
860     range_max: 5000
861     bucket_count: 100
862     histogram_type: exponential
863     description: >
864      The upload throughput for http/3 request size larger than 100MB. Measured in megabits per second, Mbps.
865     bugs:
866       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
867     data_reviews:
868       - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
869     data_sensitivity:
870       - technical
871     notification_emails:
872       - necko@mozilla.com
873       - kershaw@mozilla.com
874     expires: never
875     telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_100
877   residual_cache_folder_count:
878     type: counter
879     description: >
880       Counts how often we find a cache folder that wasn't purged
881       at shutdown by a background task process.
882     bugs:
883       - https://bugzilla.mozilla.org/1848542
884     data_reviews:
885       - https://bugzilla.mozilla.org/show_bug.cgi?id=1848542
886     notification_emails:
887       - vgosu@mozilla.com
888     expires: 136
890   residual_cache_folder_removal:
891     type: labeled_counter
892     description: >
893       Counts how often succeed/fail in removing cache folder
894       that wasn't purged at shutdown
895     bugs:
896       - https://bugzilla.mozilla.org/1848542
897     data_reviews:
898       - https://bugzilla.mozilla.org/show_bug.cgi?id=1848542
899     notification_emails:
900       - vgosu@mozilla.com
901     expires: 136
902     labels:
903       - success
904       - failure
906   trr_request_count:
907     type: labeled_counter
908     description: >
909       The count of successful TRR requests keyed by regular/private browsing
910     bugs:
911       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866245
912       - https://bugzilla.mozilla.org/show_bug.cgi?id=1902190
913     data_reviews:
914       - https://bugzilla.mozilla.org/show_bug.cgi?id=1866245
915     notification_emails:
916       - vgosu@mozilla.com
917       - necko@mozilla.com
918     expires: 140
919     labels:
920       - regular
921       - private
923   http_redirect_to_scheme_top_level: &http_redirect_to_scheme_top_level
924     type: labeled_counter
925     description: >
926       Count of the HTTP redirection that triggered by top-level document, keyed by the URL scheme redirected to
927     bugs:
928       - https://bugzilla.mozilla.org/show_bug.cgi?id=1413512
929       - https://bugzilla.mozilla.org/show_bug.cgi?id=1567462
930       - https://bugzilla.mozilla.org/show_bug.cgi?id=1897290
931     data_reviews:
932       - https://bugzilla.mozilla.org/show_bug.cgi?id=1897290
933     notification_emails:
934       - necko@mozilla.com
935     expires: never
937   http_redirect_to_scheme_subresource:
938     <<: *http_redirect_to_scheme_top_level
939     description: >
940       Count of the HTTP redirection that triggered by subresource, keyed by the URL scheme redirected to
942   http_response_version:
943     type: labeled_counter
944     description: >
945       HTTP protocol version used on response from nsHttp.h
946     bugs:
947       - https://bugzilla.mozilla.org/show_bug.cgi?id=1876776
948     data_reviews:
949       - https://bugzilla.mozilla.org/show_bug.cgi?id=1876776#c2
950     notification_emails:
951       - necko@mozilla.com
952     expires: never
953     labels:
954       - unknown
955       - http_1
956       - http_2
957       - http_3
959   http_response_status_code:
960     type: labeled_counter
961     description: >
962       HTTP Response Status Code (200, 301, 302, 304, 307, 308, 400, 401, 403, 404, 421, 425, 429, other 400 and 500)
963     bugs:
964       - https://bugzilla.mozilla.org/show_bug.cgi?id=1896350
965       - https://bugzilla.mozilla.org/show_bug.cgi?id=1903410
966     data_reviews:
967       - https://bugzilla.mozilla.org/show_bug.cgi?id=1896350
968     notification_emails:
969       - necko@mozilla.com
970       - smayya@mozilla.com
971     expires: never
972     labels:
973       - 200_ok
974       - 301_moved_permanently
975       - 302_found
976       - 304_not_modified
977       - 307_temporary_redirect
978       - 308_permanent_redirect
979       - 400_bad_request
980       - 401_unauthorized
981       - 403_forbidden
982       - 404_not_found
983       - 421_misdirected_request
984       - 425_too_early
985       - 429_too_many_requests
986       - other_4xx
987       - other_5xx
988       - other
990   https_rr_presented:
991     type: labeled_counter
992     description: >
993       HTTPS RR is presented or not
994     bugs:
995       - https://bugzilla.mozilla.org/1686421
996     data_reviews:
997       - https://bugzilla.mozilla.org/show_bug.cgi?id=1686421
998     notification_emails:
999       - necko@mozilla.com
1000       - kershaw@mozilla.com
1001     expires: never
1002     labels:
1003       - presented
1004       - presented_with_http3
1005       - none
1007   http_channel_onstart_success_https_rr:
1008     type: labeled_counter
1009     description: >
1010       Successfully started HTTP channels when HTTPS RR is used
1011     bugs:
1012       - https://bugzilla.mozilla.org/1682552
1013     data_reviews:
1014       - https://bugzilla.mozilla.org/show_bug.cgi?id=1682552
1015     notification_emails:
1016       - necko@mozilla.com
1017       - kershaw@mozilla.com
1018     expires: never
1019     labels:
1020       - success
1021       - failure
1022       - success_ech_used
1023       - failure_ech_used
1025   http_channel_disposition:
1026     type: labeled_counter
1027     description: >
1028       Channel Disposition for HTTP and HTTPS:
1029       cancel, disk, net_ok, net_early_fail, and net_late_fail
1030     bugs:
1031       - https://bugzilla.mozilla.org/1341128
1032       - https://bugzilla.mozilla.org/1898248
1033     data_reviews:
1034       - https://bugzilla.mozilla.org/show_bug.cgi?id=1898248
1035     notification_emails:
1036       - necko@mozilla.com
1037     expires: never
1038     labels:
1039       - http_cancelled
1040       - http_disk
1041       - http_net_ok
1042       - http_net_early_fail
1043       - http_net_late_fail
1044       - https_cancelled
1045       - https_disk
1046       - https_net_ok
1047       - https_net_early_fail
1048       - https_net_late_fail
1050   http_channel_disposition_enabled_upgrade: &http_channel_disposition_enabled_upgrade
1051     type: labeled_counter
1052     description: >
1053       Upgrading display content Channel Disposition (key: enable_upgrade)
1054     bugs:
1055       - https://bugzilla.mozilla.org/1440701
1056       - https://bugzilla.mozilla.org/1898248
1057     data_reviews:
1058       - https://bugzilla.mozilla.org/show_bug.cgi?id=1898248
1059     notification_emails:
1060       - necko@mozilla.com
1061       - seceng-telemetry@mozilla.com
1062     expires: never
1063     labels:
1064       - cancel
1065       - disk
1066       - net_ok
1067       - net_early_fail
1068       - net_late_fail
1070   http_channel_disposition_enabled_no_reason:
1071     <<: *http_channel_disposition_enabled_upgrade
1072     description: >
1073       Upgrading display content Channel Disposition (key: enabled_no_reason)
1075   http_channel_disposition_enabled_wont:
1076     <<: *http_channel_disposition_enabled_upgrade
1077     description: >
1078       Upgrading display content Channel Disposition (key: enabled_wont)
1080   http_channel_disposition_disabled_upgrade:
1081     <<: *http_channel_disposition_enabled_upgrade
1082     description: >
1083       Upgrading display content Channel Disposition (key: disable_upgrade)
1085   http_channel_disposition_disabled_no_reason:
1086     <<: *http_channel_disposition_enabled_upgrade
1087     description: >
1088       Upgrading display content Channel Disposition (key: disabled_no_reason)
1090   http_channel_disposition_disabled_wont:
1091     <<: *http_channel_disposition_enabled_upgrade
1092     description: >
1093       Upgrading display content Channel Disposition (key: disabled_wont)
1095   http_channel_onstart_status:
1096     type: labeled_counter
1097     description: >
1098       Whether successfully started HTTP channels
1099     bugs:
1100       - https://bugzilla.mozilla.org/1473333
1101       - https://bugzilla.mozilla.org/1587226
1102       - https://bugzilla.mozilla.org/1898248
1103     data_reviews:
1104       - https://bugzilla.mozilla.org/show_bug.cgi?id=1898248
1105     notification_emails:
1106       - necko@mozilla.com
1107     expires: never
1108     labels:
1109       - successful
1110       - fail
1112   http_channel_page_open_to_first_sent:
1113     type: timing_distribution
1114     time_unit: millisecond
1115     description: >
1116       Time in milliseconds from AsyncOpen to first byte of request sent,
1117       applicable for page loads without HTTPS RR
1118     bugs:
1119       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1120     data_reviews:
1121       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1122     data_sensitivity:
1123       - technical
1124     notification_emails:
1125       - necko@mozilla.com
1126       - kershaw@mozilla.com
1127     expires: never
1129   http_channel_sub_open_to_first_sent:
1130     type: timing_distribution
1131     time_unit: millisecond
1132     description: >
1133       Time in milliseconds from AsyncOpen to first byte of request sent,
1134       applicable for sub-resource loads without HTTPS RR
1135     bugs:
1136       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1137     data_reviews:
1138       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1139     data_sensitivity:
1140       - technical
1141     notification_emails:
1142       - necko@mozilla.com
1143       - kershaw@mozilla.com
1144     expires: never
1146   http_channel_page_open_to_first_sent_https_rr:
1147     type: timing_distribution
1148     time_unit: millisecond
1149     description: >
1150       Time in milliseconds from AsyncOpen to first byte of request sent,
1151       applicable for page loads with HTTPS RR
1152     bugs:
1153       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1154     data_reviews:
1155       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1156     data_sensitivity:
1157       - technical
1158     notification_emails:
1159       - necko@mozilla.com
1160       - kershaw@mozilla.com
1161     expires: never
1163   http_to_https_upgrade_reason:
1164     type: labeled_counter
1165     description: >
1166       Whether a top-level HTTP request gets upgraded to HTTPS and the reason for it
1167     bugs:
1168       - https://bugzilla.mozilla.org/show_bug.cgi?id=1883954
1169     data_reviews:
1170       - https://bugzilla.mozilla.org/show_bug.cgi?id=1883954
1171     notification_emails:
1172       - ckerschb@mozilla.com
1173       - freddyb@mozilla.com
1174       - kershaw@mozilla.com
1175       - necko@mozilla.com
1176       - seceng-telemetry@mozilla.com
1177     expires: never
1178     labels:
1179       - no_upgrade
1180       - already_https
1181       - hsts
1182       - https_only_upgrade
1183       - https_only_upgrade_downgrade
1184       - https_first_upgrade
1185       - https_first_upgrade_downgrade
1186       - https_first_schemeless_upgrade
1187       - https_first_schemeless_upgrade_downgrade
1188       - https_rr
1190   http_channel_sub_open_to_first_sent_https_rr:
1191     type: timing_distribution
1192     time_unit: millisecond
1193     description: >
1194       Time in milliseconds from AsyncOpen to first byte of request sent,
1195       applicable for sub-resource loads with HTTPS RR
1196     bugs:
1197       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1198     data_reviews:
1199       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1200     data_sensitivity:
1201       - technical
1202     notification_emails:
1203       - necko@mozilla.com
1204       - kershaw@mozilla.com
1205     expires: never
1207   transaction_wait_time_https_rr:
1208     type: timing_distribution
1209     time_unit: millisecond
1210     description: >
1211       Time from submission to dispatch of transaction when HTTPS RR is used (ms)
1212     bugs:
1213       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1214     data_reviews:
1215       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1216     data_sensitivity:
1217       - technical
1218     notification_emails:
1219       - necko@mozilla.com
1220       - kershaw@mozilla.com
1221     expires: never
1223   proxy_info_type:
1224     type: labeled_counter
1225     description: >
1226       The proxies configurations created in the browser session (SOCKSv4, SOCKSv5, HTTP, HTTPS)
1227     bugs:
1228       - https://bugzilla.mozilla.org/show_bug.cgi?id=1879848
1229     data_reviews:
1230       - https://bugzilla.mozilla.org/show_bug.cgi?id=1879848
1231     data_sensitivity:
1232       - technical
1233     notification_emails:
1234       - necko@mozilla.com
1235       - manuel@mozilla.com
1236     expires: 135
1237     labels:
1238       - http
1239       - https
1240       # SOCKS4 Proxy
1241       - socks4
1242       # SOCKS4a Proxy. Proxy resolves URL hostname
1243       - socks4a
1244       # SOCKS5 Proxy
1245       - socks5
1246       # SOCKS5 Proxy. Proxy resolves URL hostname
1247       # Use convention from curl for socks5 proxies that resolve the hostname
1248       # https://curl.se/libcurl/c/CURLOPT_PROXY.html
1249       - socks5h
1250       # No proxy
1251       - direct
1252       - unknown
1254   transaction_wait_time:
1255     type: timing_distribution
1256     time_unit: millisecond
1257     description: >
1258       Time from submission to dispatch of transaction without HTTPS RR (ms)
1259     bugs:
1260       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1261     data_reviews:
1262       - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1263     data_sensitivity:
1264       - technical
1265     notification_emails:
1266       - necko@mozilla.com
1267       - kershaw@mozilla.com
1268     expires: never