Bug 1412411 - Add Screenshots Telemetry scalar definitions to Scalars.yaml; r=francois draft
authorJared Hirsch <ohai@6a68.net>
Fri, 27 Oct 2017 12:53:26 -0700
changeset 690141 bc42e0114aec53971fd3a42896b856b3e6caac82
parent 678275 e897e367d3bd489422d86fbdfac54925c18329d2
child 738510 1aa6de50f8240f491b27586b032cf1d835e4cf61
push id87233
push userbmo:jhirsch@mozilla.com
push dateWed, 01 Nov 2017 18:47:46 +0000
reviewersfrancois
bugs1412411
milestone58.0a1
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
toolkit/components/telemetry/Scalars.yaml
--- 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