diff options
Diffstat (limited to 'netwerk/metrics.yaml')
-rw-r--r-- | netwerk/metrics.yaml | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/netwerk/metrics.yaml b/netwerk/metrics.yaml new file mode 100644 index 0000000000..a8c1153918 --- /dev/null +++ b/netwerk/metrics.yaml @@ -0,0 +1,94 @@ +# 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
|