Bug 1412411 - Add Screenshots Telemetry scalar definitions to Scalars.yaml; r=francois
Code changes will land separately in github[1], and will be exported to
Firefox in a separate commit.
[1] https://github.com/mozilla-services/screenshots/pull/3711
MozReview-Commit-ID: 91sA1vqN1Il
--- a/toolkit/components/telemetry/Scalars.yaml
+++ b/toolkit/components/telemetry/Scalars.yaml
@@ -1030,16 +1030,68 @@ formautofill.creditCards:
notification_emails:
- autofill@lists.mozilla.org
- jcheng@mozilla.com
- chsiang@mozilla.com
release_channel_collection: opt-out
record_in_processes:
- 'main'
+# The following section contains scalars for Screenshots.
+screenshots:
+ download:
+ bug_numbers:
+ - 1412411
+ description: >
+ The count of new screenshots created, then downloaded per session
+ via the Firefox Screenshots feature. Excludes failed attempts due
+ to any error.
+ expires: never
+ kind: uint
+ notification_emails:
+ - jhirsch@mozilla.com
+ - ibicking@mozilla.com
+ - clouserw@mozilla.com
+ release_channel_collection: opt-out
+ record_in_processes:
+ - 'main'
+
+ upload:
+ bug_numbers:
+ - 1412411
+ description: >
+ The count of new screenshots created, then uploaded per session
+ via the Firefox Screenshots feature. Excludes attempts to create
+ and upload the screenshot that may have failed.
+ expires: never
+ kind: uint
+ notification_emails:
+ - jhirsch@mozilla.com
+ - ibicking@mozilla.com
+ - clouserw@mozilla.com
+ release_channel_collection: opt-out
+ record_in_processes:
+ - 'main'
+
+ copy:
+ bug_numbers:
+ - 1412411
+ description: >
+ The count of new screenshots created, then copied directly to the
+ clipboard per session via the Firefox Screenshots feature.
+ expires: never
+ kind: uint
+ notification_emails:
+ - jhirsch@mozilla.com
+ - ibicking@mozilla.com
+ - clouserw@mozilla.com
+ release_channel_collection: opt-out
+ record_in_processes:
+ - 'main'
+
# The following section is for probes for tcp protocol.
network.tcp:
overlapped_io_canceled_before_finished:
bug_numbers:
- 1363372
description: >
Count the number of sockets that use overlapped io and are canceled before
the overlapped io finishes. (We only use overlapped io for connectEx when