summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/handling/metrics.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/mozapps/handling/metrics.yaml')
-rw-r--r--toolkit/mozapps/handling/metrics.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/toolkit/mozapps/handling/metrics.yaml b/toolkit/mozapps/handling/metrics.yaml
new file mode 100644
index 0000000000..2466f0993c
--- /dev/null
+++ b/toolkit/mozapps/handling/metrics.yaml
@@ -0,0 +1,37 @@
+
+# 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:
+ - 'Firefox :: General'
+
+protocolhandler.mailto:
+ visit:
+ type: event
+ description: >
+ a URI of type mailto was visited. Furthermore we want to know if from
+ within the browser.
+ bugs:
+ - https://bugzilla.mozilla.org/1864216
+ data_reviews:
+ - https://bugzilla.mozilla.org/show_bug.cgi?id=1864216#c8
+ notification_emails:
+ - install-update@mozilla.com
+ expires: never
+ extra_keys:
+ triggered_externally:
+ description: >
+ If Firefox was invoked to handle the link this value is true and if
+ the callee comes from within Firefox, this value is false
+ type: boolean
+ send_in_pings:
+ - active
+ - events
+ - metrics