Bug 785959 - change several linear histograms to enumerated ones; r=taras
authorNathan Froyd <froydnj@mozilla.com>
Mon, 27 Aug 2012 14:05:57 -0400
changeset 105702 d77ea5e2c469fd0d28c06102c45a3e114ceb4b37
parent 105701 e36689713d6c8246c1e948f1845df07e92702c05
child 105703 4496025f9d35e273ce2dbc75caa2b1bda3c2d19b
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewerstaras
bugs785959
milestone18.0a1
Bug 785959 - change several linear histograms to enumerated ones; r=taras
toolkit/components/telemetry/Histograms.json
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -395,19 +395,18 @@
   },
   "SYSTEM_FONT_FALLBACK_FIRST": {
     "kind": "exponential",
     "high": "40000",
     "n_buckets": 20,
     "description": "System font fallback, first call (ms)"
   },
   "SYSTEM_FONT_FALLBACK_SCRIPT": {
-    "kind": "linear",
-    "high": "110",
-    "n_buckets": 111,
+    "kind": "enumerated",
+    "n_values": 110,
     "description": "System font fallback script"
   },
   "GRADIENT_DURATION": {
     "kind": "exponential",
     "high":"50000000",
     "n_buckets":20,
     "description": "Gradient generation time (us)"
   },
@@ -530,19 +529,18 @@
   },
   "HTTP_REQUEST_PER_PAGE": {
     "kind": "exponential",
     "high": "1000",
     "n_buckets": 50,
     "description": "HTTP: Requests per page (count)"
   },
   "HTTP_REQUEST_PER_PAGE_FROM_CACHE": {
-    "kind": "linear",
-    "high": "101",
-    "n_buckets": 102,
+    "kind": "enumerated",
+    "n_values": 101,
     "description": "HTTP: Requests serviced from cache (%)"
   },
   "HTTP_REQUEST_PER_CONN": {
     "kind": "exponential",
     "high": "1000",
     "n_buckets": 50,
     "description": "HTTP: requests per connection"
   },
@@ -1820,37 +1818,35 @@
   },
   "PLACES_FRECENCY_CALC_TIME_MS": {
     "kind": "exponential",
     "high": "100",
     "n_buckets": 10,
     "description": "PLACES: Time to calculate frecency of a page (ms)"
   },
   "UPDATER_STATUS_CODES": {
-    "kind": "linear",
-    "high": "50",
-    "n_buckets": 51,
+    "kind": "enumerated",
+    "n_values": 50,
     "description": "Updater: the status of the latest update performed"
   },
   "UPDATER_UPDATES_ENABLED": {
     "kind": "boolean",
     "description": "Updater: Whether or not updates are enabled"
   },
   "UPDATER_UPDATES_AUTOMATIC": {
     "kind": "boolean",
     "description": "Updater: Whether or not updates are automatic"
   },
   "UPDATER_SERVICE_ENABLED": {
     "kind": "boolean",
     "description": "Updater: Whether or not the MozillaMaintenance service is enabled"
   },
   "UPDATER_SERVICE_ERRORS": {
-    "kind": "linear",
-    "high": "30",
-    "n_buckets": 31,
+    "kind": "enumerated",
+    "n_values": 30,
     "description": "Updater: The number of MozillaMaintenance service errors that have occurred"
   },
   "UPDATER_SERVICE_INSTALLED": {
     "kind": "boolean",
     "description": "Updater: Whether or not the MozillaMaintenance service is installed"
   },
   "UPDATER_SERVICE_MANUALLY_UNINSTALLED": {
     "kind": "boolean",