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
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
11 - 'Core :: Networking'
14 speculative_connect_outcome:
17 Counts the occurrence of each outcome of a speculative connection
19 - https://bugzilla.mozilla.org/show_bug.cgi?id=909865
21 - https://bugzilla.mozilla.org/show_bug.cgi?id=909865
26 - acreskey@mozilla.com
30 - aborted_socket_limit
32 - aborted_https_not_enabled
33 telemetry_mirror: NETWORKING_SPECULATIVE_CONNECT_OUTCOME
35 cookie_timestamp_fixed_count:
38 Counts the number of times a cookie's invalid timestamp was fixed when
39 reading it from the DB.
41 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126
43 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5
54 cookie_creation_fixup_diff:
55 type: custom_distribution
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.
61 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126
63 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5
71 range_max: 315360000000
73 histogram_type: exponential
75 cookie_access_fixup_diff:
76 type: custom_distribution
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.
82 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126
84 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5
92 range_max: 315360000000
94 histogram_type: exponential
97 type: custom_distribution
99 Reports the total number of cookies in storage
103 histogram_type: exponential
106 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
108 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
116 cookie_count_partitioned:
117 type: custom_distribution
119 Reports the number of partitioned cookies in storage
123 histogram_type: exponential
126 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
128 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
136 cookie_count_unpartitioned:
137 type: custom_distribution
139 Reports the number of unpartitioned cookies in storage
143 histogram_type: exponential
146 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
148 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
156 cookie_count_part_by_key:
157 type: custom_distribution
159 A distribution of the partitioned cookies in storage belonging to
160 a particular cookie key (host + origin attributes)
164 histogram_type: exponential
167 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
169 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
177 cookie_count_unpart_by_key:
178 type: custom_distribution
180 A distribution of the unpartitioned cookies in storage belonging to
181 a particular cookie key (host + origin attributes)
185 histogram_type: exponential
188 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
190 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
199 type: custom_distribution
201 A distribution of the number of cookies purged across
202 all host + OAs as a result of exceeding the cookie maximum threshold
207 histogram_type: exponential
210 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
212 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
220 cookie_purge_entry_max:
221 type: custom_distribution
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)
229 histogram_type: exponential
232 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942
234 - https://bugzilla.mozilla.org/show_bug.cgi?id=1828942#TDB
245 This counts the number of times we set a cookie. Introduced
246 as a denomenator for measuring CHIPS adoption.
248 - https://bugzilla.mozilla.org/1865199
250 - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
252 - bvandersloot@mozilla.com
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
262 - https://bugzilla.mozilla.org/1865199
264 - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
266 - bvandersloot@mozilla.com
268 denominator_metric: networking.set_cookie
270 set_cookie_partitioned:
273 This counts the number of times we set a cookie that has the Partitioned
274 attribute. This tracks the adoption of CHIPS.
276 - https://bugzilla.mozilla.org/1865199
278 - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
280 - bvandersloot@mozilla.com
282 denominator_metric: networking.set_cookie
284 set_cookie_foreign_partitioned:
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
291 - https://bugzilla.mozilla.org/1865199
293 - https://bugzilla.mozilla.org/show_bug.cgi?id=1865199#c3
295 - bvandersloot@mozilla.com
297 denominator_metric: networking.set_cookie
300 type: timing_distribution
301 time_unit: millisecond
303 Time for a successful DNS resolution (msec) |
304 Migrated from Firefox Telemetry's `DNS_LOOKUP_TIME`.
306 - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
308 - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
313 - acreskey@mozilla.com
315 telemetry_mirror: DNS_LOOKUP_TIME
318 type: timing_distribution
319 time_unit: millisecond
321 Time for a renewed DNS OS resolution (msec) |
322 Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME`.
324 - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
326 - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
331 - acreskey@mozilla.com
333 telemetry_mirror: DNS_RENEWAL_TIME
335 dns_renewal_time_for_ttl:
336 type: timing_distribution
337 time_unit: millisecond
339 Time for a DNS OS resolution (msec) used to get TTL |
340 Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME_FOR_TTL`.
342 - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
344 - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
349 - acreskey@mozilla.com
351 telemetry_mirror: DNS_RENEWAL_TIME_FOR_TTL
353 dns_failed_lookup_time:
354 type: timing_distribution
355 time_unit: millisecond
357 Time for an unsuccessful DNS OS resolution (msec) |
358 Migrated from Firefox Telemetry's `DNS_FAILED_LOOKUP_TIME`.
360 - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
362 - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
367 - acreskey@mozilla.com
369 telemetry_mirror: DNS_FAILED_LOOKUP_TIME
372 type: labeled_counter
374 The count of calls to the native DNS APIs
376 - https://bugzilla.mozilla.org/show_bug.cgi?id=1879165
378 - https://bugzilla.mozilla.org/show_bug.cgi?id=1879165
391 http_content_onstart_delay:
392 type: timing_distribution
393 time_unit: millisecond
395 The time between dispatching OnStartRequest from the socket thread and processing it on the main thread (content process).
397 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
399 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c
407 http_content_onstop_delay:
408 type: timing_distribution
409 time_unit: millisecond
411 The time between dispatching OnStopRequest from the socket thread and processing it on the main thread (content process).
413 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
415 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c
423 http_content_ondatafinished_delay:
424 type: timing_distribution
425 time_unit: millisecond
427 The time between dispatching OnDataFinished from the socket thread and processing it.
429 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615
431 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c
439 http_content_ondatafinished_to_onstop_delay:
440 type: timing_distribution
441 time_unit: millisecond
443 The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)
445 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615
447 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c
455 http_content_html5parser_ondatafinished_to_onstop_delay:
456 type: timing_distribution
457 time_unit: millisecond
459 The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)
461 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
463 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
471 http_content_cssloader_ondatafinished_to_onstop_delay:
472 type: timing_distribution
473 time_unit: millisecond
475 The time between processing OnDataFinished and processing OnStopRequest for CSSLoader in the content process
477 - https://bugzilla.mozilla.org/show_bug.cgi?id=1883391
479 - https://bugzilla.mozilla.org/show_bug.cgi?id=1883391
486 http_1_download_throughput:
487 type: custom_distribution
492 histogram_type: exponential
494 The download throughput for http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.
496 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
498 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
503 - acreskey@mozilla.com
505 telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_1
507 http_2_download_throughput:
508 type: custom_distribution
513 histogram_type: exponential
515 The download throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.
517 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
519 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
524 - acreskey@mozilla.com
526 telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_2
528 http_3_download_throughput:
529 type: custom_distribution
534 histogram_type: exponential
536 The download throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.
538 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
540 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
545 - acreskey@mozilla.com
547 telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_3
549 http_1_upload_throughput:
550 type: custom_distribution
555 histogram_type: exponential
557 The upload throughput for http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.
559 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
561 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
566 - acreskey@mozilla.com
568 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1
570 http_2_upload_throughput:
571 type: custom_distribution
576 histogram_type: exponential
578 The upload throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.
580 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
582 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
587 - acreskey@mozilla.com
589 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2
591 http_3_upload_throughput:
592 type: custom_distribution
597 histogram_type: exponential
599 The upload throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.
601 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
603 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
608 - acreskey@mozilla.com
610 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3
612 http_1_upload_throughput_10_50:
613 type: custom_distribution
618 histogram_type: exponential
620 The upload throughput for http/1.0, http/1.1 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
622 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
624 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
629 - kershaw@mozilla.com
631 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_10_50
633 http_1_upload_throughput_50_100:
634 type: custom_distribution
639 histogram_type: exponential
641 The upload throughput for http/1.0, http/1.1 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
643 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
645 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
650 - kershaw@mozilla.com
652 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_50_100
654 http_1_upload_throughput_100:
655 type: custom_distribution
660 histogram_type: exponential
662 The upload throughput for http/1.0, http/1.1 request size larger than 100MB. Measured in megabits per second, Mbps.
664 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
666 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
671 - kershaw@mozilla.com
673 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_100
675 http_2_upload_throughput_10_50:
676 type: custom_distribution
681 histogram_type: exponential
683 The upload throughput for http/2 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
685 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
687 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
692 - kershaw@mozilla.com
694 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_10_50
696 http_2_upload_throughput_50_100:
697 type: custom_distribution
702 histogram_type: exponential
704 The upload throughput for http/2 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
706 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
708 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
713 - kershaw@mozilla.com
715 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_50_100
717 http_2_upload_throughput_100:
718 type: custom_distribution
723 histogram_type: exponential
725 The upload throughput for http/2 request size larger than 100MB. Measured in megabits per second, Mbps.
727 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
729 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
734 - kershaw@mozilla.com
736 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_100
738 http_3_upload_throughput_10_50:
739 type: custom_distribution
744 histogram_type: exponential
746 The upload throughput for http/3 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
748 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
750 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
755 - kershaw@mozilla.com
757 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_10_50
759 http_3_upload_throughput_50_100:
760 type: custom_distribution
765 histogram_type: exponential
767 The upload throughput for http/3 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
769 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
771 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
776 - kershaw@mozilla.com
778 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_50_100
780 http_3_upload_throughput_100:
781 type: custom_distribution
786 histogram_type: exponential
788 The upload throughput for http/3 request size larger than 100MB. Measured in megabits per second, Mbps.
790 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
792 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
797 - kershaw@mozilla.com
799 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_100
801 residual_cache_folder_count:
804 Counts how often we find a cache folder that wasn't purged
805 at shutdown by a background task process.
807 - https://bugzilla.mozilla.org/1848542
809 - https://bugzilla.mozilla.org/show_bug.cgi?id=1848542
814 residual_cache_folder_removal:
815 type: labeled_counter
817 Counts how often succeed/fail in removing cache folder
818 that wasn't purged at shutdown
820 - https://bugzilla.mozilla.org/1848542
822 - https://bugzilla.mozilla.org/show_bug.cgi?id=1848542
831 type: labeled_counter
833 The count of successful TRR requests keyed by regular/private browsing
835 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866245
837 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866245
846 http_response_version:
847 type: labeled_counter
849 HTTP protocol version used on response from nsHttp.h
851 - https://bugzilla.mozilla.org/show_bug.cgi?id=1876776
853 - https://bugzilla.mozilla.org/show_bug.cgi?id=1876776#c2
864 type: labeled_counter
866 HTTPS RR is presented or not
868 - https://bugzilla.mozilla.org/1686421
870 - https://bugzilla.mozilla.org/show_bug.cgi?id=1686421
873 - kershaw@mozilla.com
877 - presented_with_http3
880 https_upgrade_with_https_rr:
881 type: labeled_counter
883 Whether an HTTP request gets upgraded to HTTPS because of HTTPS RR
885 - https://bugzilla.mozilla.org/1686421
887 - https://bugzilla.mozilla.org/show_bug.cgi?id=1686421
890 - kershaw@mozilla.com
896 http_channel_onstart_success_https_rr:
897 type: labeled_counter
899 Successfully started HTTP channels when HTTPS RR is used
901 - https://bugzilla.mozilla.org/1682552
903 - https://bugzilla.mozilla.org/show_bug.cgi?id=1682552
906 - kershaw@mozilla.com
914 http_channel_page_open_to_first_sent:
915 type: timing_distribution
916 time_unit: millisecond
918 Time in milliseconds from AsyncOpen to first byte of request sent,
919 applicable for page loads without HTTPS RR
921 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
923 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
928 - kershaw@mozilla.com
931 http_channel_sub_open_to_first_sent:
932 type: timing_distribution
933 time_unit: millisecond
935 Time in milliseconds from AsyncOpen to first byte of request sent,
936 applicable for sub-resource loads without HTTPS RR
938 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
940 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
945 - kershaw@mozilla.com
948 http_channel_page_open_to_first_sent_https_rr:
949 type: timing_distribution
950 time_unit: millisecond
952 Time in milliseconds from AsyncOpen to first byte of request sent,
953 applicable for page loads with HTTPS RR
955 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
957 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
962 - kershaw@mozilla.com
965 http_channel_sub_open_to_first_sent_https_rr:
966 type: timing_distribution
967 time_unit: millisecond
969 Time in milliseconds from AsyncOpen to first byte of request sent,
970 applicable for sub-resource loads with HTTPS RR
972 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
974 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
979 - kershaw@mozilla.com
982 transaction_wait_time_https_rr:
983 type: timing_distribution
984 time_unit: millisecond
986 Time from submission to dispatch of transaction when HTTPS RR is used (ms)
988 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
990 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
995 - kershaw@mozilla.com
999 type: labeled_counter
1001 The proxies configurations created in the browser session (SOCKSv4, SOCKSv5, HTTP, HTTPS)
1003 - https://bugzilla.mozilla.org/show_bug.cgi?id=1879848
1005 - https://bugzilla.mozilla.org/show_bug.cgi?id=1879848
1008 notification_emails:
1010 - manuel@mozilla.com
1017 # SOCKS4a Proxy. Proxy resolves URL hostname
1021 # SOCKS5 Proxy. Proxy resolves URL hostname
1022 # Use convention from curl for socks5 proxies that resolve the hostname
1023 # https://curl.se/libcurl/c/CURLOPT_PROXY.html
1029 transaction_wait_time:
1030 type: timing_distribution
1031 time_unit: millisecond
1033 Time from submission to dispatch of transaction without HTTPS RR (ms)
1035 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1037 - https://bugzilla.mozilla.org/show_bug.cgi?id=1697480
1040 notification_emails:
1042 - kershaw@mozilla.com