Bug 1545172 - Enable recording of metrics into pre-account ecosystem ping/store r=janerik
authorLeif Oines <loines@mozilla.com>
Mon, 22 Apr 2019 17:50:05 +0000
changeset 470439 0f774c6d8ac396b6241fb27cfd6e7cad88c4b3ba
parent 470438 0fc395a2ac7155ffece75daf20d103144374fbfe
child 470440 0b0a2b12bd0502a0743917abdd29109c2b2cdbfd
push id35906
push useraciure@mozilla.com
push dateTue, 23 Apr 2019 22:14:56 +0000
treeherdermozilla-central@0ce3633f8b80 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjanerik
bugs1545172
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1545172 - Enable recording of metrics into pre-account ecosystem ping/store r=janerik Differential Revision: https://phabricator.services.mozilla.com/D27949
toolkit/components/telemetry/Histograms.json
toolkit/components/telemetry/Scalars.yaml
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -8217,19 +8217,20 @@
     "description": "Time elapsed between before responding to Slow Add-on Warning UI (ms). Not updated if the user doesn't respond at all."
   },
   "SEARCH_COUNTS": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "never",
     "kind": "count",
     "keyed": true,
     "releaseChannelCollection": "opt-out",
-    "alert_emails": ["adw@mozilla.com"],
-    "bug_numbers": [1089670, 1475571, 1482158, 1499193],
-    "description": "Records search counts for search access points and in content searches. For search access points in general and for the urlbar when an internal @engine shorcut is not used, the format is: <engine-name>.<search-access-point> For the urlbar when an internal @engine shortcut is used, the format is: <engine-name>.alias For in content searches, the format is <provider>.in-content:[sap|sap-follow-on|organic]:[code|none]"
+    "alert_emails": ["adw@mozilla.com", "loines@mozilla.com"],
+    "bug_numbers": [1089670, 1475571, 1482158, 1499193, 1545172],
+    "description": "Records search counts for search access points and in content searches. For search access points in general and for the urlbar when an internal @engine shorcut is not used, the format is: <engine-name>.<search-access-point> For the urlbar when an internal @engine shortcut is used, the format is: <engine-name>.alias For in content searches, the format is <provider>.in-content:[sap|sap-follow-on|organic]:[code|none]",
+    "record_into_store": ["main", "pre-account"]
   },
   "SEARCH_SERVICE_INIT_MS": {
     "record_in_processes": ["main"],
     "alert_emails": ["mdeboer@mozilla.com", "dolske@mozilla.com"],
     "expires_in_version": "never",
     "releaseChannelCollection": "opt-out",
     "kind": "exponential",
     "high": 1000,
@@ -11957,130 +11958,141 @@
   "PWMGR_BLOCKLIST_NUM_SITES": {
     "record_in_processes": ["main"],
     "expires_in_version": "never",
     "kind": "exponential",
     "high": 100,
     "n_buckets" : 10,
     "description": "The number of sites for which the user has explicitly rejected saving logins",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_FORM_AUTOFILL_RESULT": {
     "record_in_processes": ["main", "content"],
-    "alert_emails": ["seceng-telemetry@mozilla.com"],
-    "bug_numbers": [1340021],
+    "alert_emails": ["seceng-telemetry@mozilla.com","loines@mozilla.com"],
+    "bug_numbers": [1340021, 1545172],
     "releaseChannelCollection": "opt-out",
     "expires_in_version": "never",
     "kind": "enumerated",
     "n_values" : 20,
-    "description": "The result of auto-filling a login form. See http://mzl.la/1Mbs6jL for bucket descriptions."
+    "description": "The result of auto-filling a login form. See http://mzl.la/1Mbs6jL for bucket descriptions.",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_LOGIN_LAST_USED_DAYS": {
     "record_in_processes": ["main"],
     "expires_in_version": "never",
     "kind": "exponential",
     "high": 750,
     "n_buckets" : 40,
     "description": "Time in days each saved login was last used",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_LOGIN_PAGE_SAFETY": {
     "record_in_processes": ["main", "content"],
-    "alert_emails": ["seceng-telemetry@mozilla.com"],
-    "bug_numbers": [1340021],
+    "alert_emails": ["seceng-telemetry@mozilla.com","loines@mozilla.com"],
+    "bug_numbers": [1340021, 1545172],
     "releaseChannelCollection": "opt-out",
     "expires_in_version": "never",
     "kind": "enumerated",
     "n_values": 8,
-    "description": "The safety of a page where we see a password field. (0: safe page & safe submit; 1: safe page & unsafe submit; 2: safe page & unknown submit; 3: unsafe page & safe submit; 4: unsafe page & unsafe submit; 5: unsafe page & unknown submit)"
+    "description": "The safety of a page where we see a password field. (0: safe page & safe submit; 1: safe page & unsafe submit; 2: safe page & unknown submit; 3: unsafe page & safe submit; 4: unsafe page & unsafe submit; 5: unsafe page & unknown submit)",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_MANAGE_COPIED_PASSWORD": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "never",
     "kind": "count",
     "description": "Count of passwords copied from the password management interface",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_MANAGE_COPIED_USERNAME": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "never",
     "kind": "count",
     "description": "Count of usernames copied from the password management interface",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_MANAGE_DELETED": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "never",
     "kind": "count",
     "description": "Count of passwords deleted from the password management interface (including via Remove All)",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_MANAGE_DELETED_ALL": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "never",
     "kind": "count",
     "description": "Count of times that Remove All was used from the password management interface"
   },
   "PWMGR_MANAGE_OPENED": {
     "record_in_processes": ["main"],
     "expires_in_version": "never",
     "kind": "enumerated",
     "n_values" : 5,
     "description": "Accumulates how the password management interface was opened. (0=Preferences, 1=Page Info)",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_MANAGE_SORTED": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "never",
     "keyed": true,
     "kind": "count",
     "description": "Reports the column that logins are sorted by"
   },
   "PWMGR_MANAGE_VISIBILITY_TOGGLED": {
     "record_in_processes": ["main"],
     "expires_in_version": "never",
     "kind": "boolean",
     "description": "Whether the visibility of passwords was toggled (0=Hide, 1=Show)",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_NUM_PASSWORDS_PER_HOSTNAME": {
     "record_in_processes": ["main"],
     "expires_in_version": "never",
     "kind": "linear",
     "high": 21,
     "n_buckets" : 20,
     "description": "The number of passwords per hostname",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_NUM_SAVED_PASSWORDS": {
     "record_in_processes": ["main"],
     "expires_in_version": "never",
     "kind": "exponential",
     "high": 750,
     "n_buckets" : 50,
     "description": "Total number of saved logins, including those that cannot be decrypted",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_NUM_HTTPAUTH_PASSWORDS": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "never",
     "kind": "exponential",
     "high": 750,
     "n_buckets" : 50,
     "description": "Number of HTTP Auth logins"
@@ -12093,37 +12105,40 @@
   },
   "PWMGR_PROMPT_REMEMBER_ACTION" : {
     "record_in_processes": ["main"],
     "expires_in_version": "never",
     "kind": "enumerated",
     "n_values": 5,
     "description": "Action taken by user through prompt for creating a login. (0=Prompt displayed [always recorded], 1=Add login, 2=Don't save now, 3=Never save)",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_PROMPT_UPDATE_ACTION" : {
     "record_in_processes": ["main"],
     "expires_in_version": "never",
     "kind": "enumerated",
     "n_values": 5,
     "description": "Action taken by user through prompt for modifying a login. (0=Prompt displayed [always recorded], 1=Update login)",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_SAVING_ENABLED": {
     "record_in_processes": ["main"],
     "expires_in_version": "never",
     "kind": "boolean",
     "description": "Number of users who have password saving on globally",
     "alert_emails": ["loines@mozilla.com"],
-    "bug_numbers": [1454733],
-    "releaseChannelCollection": "opt-out"
+    "bug_numbers": [1454733, 1545172],
+    "releaseChannelCollection": "opt-out",
+    "record_into_store": ["main", "pre-account"]
   },
   "PWMGR_USERNAME_PRESENT": {
     "record_in_processes": ["main", "content"],
     "expires_in_version": "never",
     "kind": "boolean",
     "description": "Whether a saved login has a username"
   },
   "FENNEC_SYNC11_MIGRATION_SENTINELS_SEEN": {
@@ -14321,16 +14336,26 @@
     "alert_emails": ["emilio@mozilla.com"],
     "bug_numbers": [1505117],
     "expires_in_version": "70",
     "kind": "categorical",
     "releaseChannelCollection": "opt-out",
     "labels": ["FullStandards", "AlmostStandards", "NavQuirks"],
     "description": "HTML document compat mode (quirks mode)"
   },
+  "HIDDEN_VIEWPORT_OVERFLOW_TYPE": {
+    "record_in_processes": ["main", "content"],
+    "alert_emails": ["mozilla-telemetry@upsuper.org", "botond@mozilla.com"],
+    "bug_numbers": [1423013, 1423017, 1513089],
+    "expires_in_version": "70",
+    "kind": "categorical",
+    "releaseChannelCollection": "opt-out",
+    "labels": ["NoOverflow", "Desktop", "ButNotMinScaleSize", "MinScaleSize"],
+    "description": "How common are different types of out-of-reach viewport overflow?"
+  },
   "WR_SCENEBUILD_TIME": {
     "record_in_processes": ["main", "gpu"],
     "alert_emails": ["kgupta@mozilla.com"],
     "bug_numbers": [1470901],
     "expires_in_version": "never",
     "kind": "exponential",
     "high": 1000,
     "n_buckets": 50,
--- a/toolkit/components/telemetry/Scalars.yaml
+++ b/toolkit/components/telemetry/Scalars.yaml
@@ -208,28 +208,33 @@ browser.engagement:
       - jrediger@mozilla.com
     release_channel_collection: opt-out
     record_in_processes:
       - 'main'
 
   active_ticks:
     bug_numbers:
       - 1376942
+      - 1545172
     description: >
       The count of the number of five-second intervals ('ticks') the user
       was considered 'active' in a subsession. Session activity involves keyboard or mouse
       interaction with the application. It does not take into account whether or not the window
       has focus or is in the foreground, only if it is receiving these interaction events.
     expires: never
     kind: uint
     notification_emails:
       - bcolloran@mozilla.com
+      - loines@mozilla.com
     release_channel_collection: opt-out
     record_in_processes:
       - 'main'
+    record_into_store:
+      - 'main'
+      - 'pre-account'
 
 # The following section contains the browser engagement scalars.
 browser.engagement.navigation:
   urlbar:
     bug_numbers:
       - 1271313
     description: >
       The count URI loads triggered in a subsession from the urlbar (awesomebar),