summaryrefslogtreecommitdiffstats
path: root/netwerk/metrics.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /netwerk/metrics.yaml
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'netwerk/metrics.yaml')
-rw-r--r--netwerk/metrics.yaml94
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