gecko-dev/netwerk/metrics.yaml

230 строки
7.1 KiB
YAML

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Adding a new metric? We have docs for that!
# https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
- 'Core :: Networking'
networking:
speculative_connect_outcome:
type: labeled_counter
description: >
Counts the occurrence of each outcome of a speculative connection
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=909865
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=909865
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- acreskey@mozilla.com
expires: never
labels:
- successful
- aborted_socket_limit
- aborted_socket_fail
- aborted_https_not_enabled
telemetry_mirror: NETWORKING_SPECULATIVE_CONNECT_OUTCOME
cookie_timestamp_fixed_count:
type: labeled_counter
description: >
Counts the number of times a cookie's invalid timestamp was fixed when
reading it from the DB.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1828126
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- vgosu@mozilla.com
labels:
- creationTime
- lastAccessed
expires: never
cookie_creation_fixup_diff:
type: custom_distribution
unit: second
description: >
If we fix up a cookie creation timestamp that is in the future this
metric records the number of seconds that timestamp was off from NOW.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1828126
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- vgosu@mozilla.com
expires: never
range_min: 0
range_max: 315360000000
bucket_count: 100
histogram_type: exponential
cookie_access_fixup_diff:
type: custom_distribution
unit: second
description: >
If we fix up a cookie lastAccessed timestamp that is in the future this
metric records the number of seconds that timestamp was off from NOW.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1828126
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- vgosu@mozilla.com
expires: never
range_min: 0
range_max: 315360000000
bucket_count: 100
histogram_type: exponential
dns_lookup_time:
type: timing_distribution
time_unit: millisecond
description: >
Time for a successful DNS resolution (msec) |
Migrated from Firefox Telemetry's `DNS_LOOKUP_TIME`.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- acreskey@mozilla.com
expires: never
telemetry_mirror: DNS_LOOKUP_TIME
dns_renewal_time:
type: timing_distribution
time_unit: millisecond
description: >
Time for a renewed DNS OS resolution (msec) |
Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME`.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- acreskey@mozilla.com
expires: never
telemetry_mirror: DNS_RENEWAL_TIME
dns_renewal_time_for_ttl:
type: timing_distribution
time_unit: millisecond
description: >
Time for a DNS OS resolution (msec) used to get TTL |
Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME_FOR_TTL`.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- acreskey@mozilla.com
expires: never
telemetry_mirror: DNS_RENEWAL_TIME_FOR_TTL
dns_failed_lookup_time:
type: timing_distribution
time_unit: millisecond
description: >
Time for an unsuccessful DNS OS resolution (msec) |
Migrated from Firefox Telemetry's `DNS_FAILED_LOOKUP_TIME`.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1838240
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- acreskey@mozilla.com
expires: never
telemetry_mirror: DNS_FAILED_LOOKUP_TIME
http_1_download_throughput:
type: custom_distribution
unit: mbps
range_min: 0
range_max: 10000
bucket_count: 100
histogram_type: exponential
description: >
The download throughput for http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- acreskey@mozilla.com
expires: never
telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_1
http_2_download_throughput:
type: custom_distribution
unit: mbps
range_min: 0
range_max: 10000
bucket_count: 100
histogram_type: exponential
description: >
The download throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- acreskey@mozilla.com
expires: never
telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_2
http_3_download_throughput:
type: custom_distribution
unit: mbps
range_min: 0
range_max: 10000
bucket_count: 100
histogram_type: exponential
description: >
The download throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1846798
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2
data_sensitivity:
- technical
notification_emails:
- necko@mozilla.com
- acreskey@mozilla.com
expires: never
telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_3