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
371 http_content_onstart_delay:
372 type: timing_distribution
373 time_unit: millisecond
375 The time between dispatching OnStartRequest from the socket thread and processing it on the main thread (content process).
377 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
379 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c
387 http_content_onstop_delay:
388 type: timing_distribution
389 time_unit: millisecond
391 The time between dispatching OnStopRequest from the socket thread and processing it on the main thread (content process).
393 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
395 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926#c
403 http_content_ondatafinished_delay:
404 type: timing_distribution
405 time_unit: millisecond
407 The time between dispatching OnDataFinished from the socket thread and processing it.
409 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615
411 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c
419 http_content_ondatafinished_to_onstop_delay:
420 type: timing_distribution
421 time_unit: millisecond
423 The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)
425 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615
427 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c
435 http_content_ondatafinished_to_onstop_delay_negative:
436 type: timing_distribution
437 time_unit: millisecond
439 The time between processing OnStopRequest and processing OnDataFinished (if OnStopRequest comes first)
441 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615
443 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857615#c
451 http_content_html5parser_ondatafinished_to_onstop_delay:
452 type: timing_distribution
453 time_unit: millisecond
455 The time between processing OnDataFinished and processing OnStopRequest (if OnDataFinished comes first)
457 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
459 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
467 http_content_html5parser_ondatafinished_to_onstop_delay_negative:
468 type: timing_distribution
469 time_unit: millisecond
471 The time between processing OnStopRequest and processing OnDataFinished (if OnStopRequest comes first)
473 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
475 - https://bugzilla.mozilla.org/show_bug.cgi?id=1857926
483 http_1_download_throughput:
484 type: custom_distribution
489 histogram_type: exponential
491 The download throughput for http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.
493 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
495 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
500 - acreskey@mozilla.com
502 telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_1
504 http_2_download_throughput:
505 type: custom_distribution
510 histogram_type: exponential
512 The download throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.
514 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
516 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
521 - acreskey@mozilla.com
523 telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_2
525 http_3_download_throughput:
526 type: custom_distribution
531 histogram_type: exponential
533 The download throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.
535 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
537 - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
542 - acreskey@mozilla.com
544 telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_3
546 http_1_upload_throughput:
547 type: custom_distribution
552 histogram_type: exponential
554 The upload throughput for http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.
556 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
558 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
563 - acreskey@mozilla.com
565 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1
567 http_2_upload_throughput:
568 type: custom_distribution
573 histogram_type: exponential
575 The upload throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.
577 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
579 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
584 - acreskey@mozilla.com
586 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2
588 http_3_upload_throughput:
589 type: custom_distribution
594 histogram_type: exponential
596 The upload throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.
598 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256
600 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
605 - acreskey@mozilla.com
607 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3
609 http_1_upload_throughput_10_50:
610 type: custom_distribution
615 histogram_type: exponential
617 The upload throughput for http/1.0, http/1.1 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
619 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
621 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
626 - kershaw@mozilla.com
628 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_10_50
630 http_1_upload_throughput_50_100:
631 type: custom_distribution
636 histogram_type: exponential
638 The upload throughput for http/1.0, http/1.1 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
640 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
642 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
647 - kershaw@mozilla.com
649 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_50_100
651 http_1_upload_throughput_100:
652 type: custom_distribution
657 histogram_type: exponential
659 The upload throughput for http/1.0, http/1.1 request size larger than 100MB. Measured in megabits per second, Mbps.
661 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
663 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
668 - kershaw@mozilla.com
670 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_1_100
672 http_2_upload_throughput_10_50:
673 type: custom_distribution
678 histogram_type: exponential
680 The upload throughput for http/2 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
682 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
684 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
689 - kershaw@mozilla.com
691 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_10_50
693 http_2_upload_throughput_50_100:
694 type: custom_distribution
699 histogram_type: exponential
701 The upload throughput for http/2 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
703 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
705 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
710 - kershaw@mozilla.com
712 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_50_100
714 http_2_upload_throughput_100:
715 type: custom_distribution
720 histogram_type: exponential
722 The upload throughput for http/2 request size larger than 100MB. Measured in megabits per second, Mbps.
724 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
726 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
731 - kershaw@mozilla.com
733 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_2_100
735 http_3_upload_throughput_10_50:
736 type: custom_distribution
741 histogram_type: exponential
743 The upload throughput for http/3 request size between 10MB and 50MB. Measured in megabits per second, Mbps.
745 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
747 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
752 - kershaw@mozilla.com
754 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_10_50
756 http_3_upload_throughput_50_100:
757 type: custom_distribution
762 histogram_type: exponential
764 The upload throughput for http/3 request size between 50MB and 100MB. Measured in megabits per second, Mbps.
766 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
768 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
773 - kershaw@mozilla.com
775 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_50_100
777 http_3_upload_throughput_100:
778 type: custom_distribution
783 histogram_type: exponential
785 The upload throughput for http/3 request size larger than 100MB. Measured in megabits per second, Mbps.
787 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866739
789 - https://bugzilla.mozilla.org/show_bug.cgi?id=1858256#c2
794 - kershaw@mozilla.com
796 telemetry_mirror: HTTP_UPLOAD_THROUGHPUT_MBPS_HTTP_3_100
798 residual_cache_folder_count:
801 Counts how often we find a cache folder that wasn't purged
802 at shutdown by a background task process.
804 - https://bugzilla.mozilla.org/1848542
806 - https://bugzilla.mozilla.org/show_bug.cgi?id=1848542
811 residual_cache_folder_removal:
812 type: labeled_counter
814 Counts how often succeed/fail in removing cache folder
815 that wasn't purged at shutdown
817 - https://bugzilla.mozilla.org/1848542
819 - https://bugzilla.mozilla.org/show_bug.cgi?id=1848542
828 type: labeled_counter
830 The count of successful TRR requests keyed by regular/private browsing
832 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866245
834 - https://bugzilla.mozilla.org/show_bug.cgi?id=1866245