summaryrefslogtreecommitdiffstats
path: root/security/certverifier/metrics.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'security/certverifier/metrics.yaml')
-rw-r--r--security/certverifier/metrics.yaml47
1 files changed, 47 insertions, 0 deletions
diff --git a/security/certverifier/metrics.yaml b/security/certverifier/metrics.yaml
new file mode 100644
index 0000000000..ef212e610a
--- /dev/null
+++ b/security/certverifier/metrics.yaml
@@ -0,0 +1,47 @@
+# 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 :: Security: PSM'
+
+cert_verifier:
+ crlite_status:
+ type: labeled_counter
+ description: >
+ Counts the number of times different CRLite statuses were returned.
+ data_sensitivity:
+ - technical
+ bugs:
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1886042
+ data_reviews:
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1886042
+ notification_emails:
+ - jschanck@mozilla.com
+ expires: never
+ labels:
+ - no_filter
+ - not_covered
+ - not_enrolled
+ - not_revoked
+ - revoked_in_filter
+ - revoked_in_stash
+
+ cert_trust_evaluation_time:
+ type: timing_distribution
+ time_unit: nanosecond
+ description: >
+ Measures how long we take to evaluate the trust status of a certificate.
+ data_sensitivity:
+ - technical
+ bugs:
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1888420
+ data_reviews:
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1888420
+ notification_emails:
+ - jschanck@mozilla.com
+ expires: 132