Bug 794513 - Prefix Fennec-specific Telemetry with FENNEC_. r=dao
authorGian-Carlo Pascutto <gpascutto@mozilla.com>
Mon, 01 Oct 2012 15:32:48 +0200
changeset 108866 447a46c78baca49cc51686aa6b2cffe2b5e2d441
parent 108865 4a83e0291d581cc077b9296fc6cbcf72323737d6
child 108867 e8f9e7a76efa480f8dd929cf7040fcb611f7b4a5
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewersdao
bugs794513
milestone18.0a1
Bug 794513 - Prefix Fennec-specific Telemetry with FENNEC_. r=dao
mobile/android/base/awesomebar/AllPagesTab.java
toolkit/components/telemetry/Histograms.json
--- a/mobile/android/base/awesomebar/AllPagesTab.java
+++ b/mobile/android/base/awesomebar/AllPagesTab.java
@@ -162,17 +162,17 @@ public class AllPagesTab extends Awesome
                     Cursor c = BrowserDB.filter(getContentResolver(), constraint, MAX_RESULTS);
                     c.getCount();
 
                     long end = SystemClock.uptimeMillis();
                     int time = (int)(end - start);
                     Log.i(LOGTAG, "Got cursor in " + time + "ms");
 
                     if (!mTelemetrySent && TextUtils.isEmpty(constraint)) {
-                        Telemetry.HistogramAdd("AWESOMEBAR_ALLPAGES_EMPTY_TIME", time);
+                        Telemetry.HistogramAdd("FENNEC_AWESOMEBAR_ALLPAGES_EMPTY_TIME", time);
                         mTelemetrySent = true;
                     }
                     return c;
                 }
             });
         }
         return mCursorAdapter;
     }
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -21,22 +21,22 @@
     "description": "has XForms accessibility been instantiated"
   },
   "A11Y_UPDATE_TIME": {
     "kind": "exponential",
     "high": "10000",
     "n_buckets": 50,
     "description": "time spent updating accessibility (ms)"
   },
-  "AWESOMEBAR_ALLPAGES_EMPTY_TIME": {
+  "FENNEC_AWESOMEBAR_ALLPAGES_EMPTY_TIME": {
     "kind": "exponential",
     "low": 10,
     "high": "20000",
     "n_buckets": 20,
-    "description": "Time for the Awesomebar Top Sites query to return with no filter set (ms)",
+    "description": "Fennec: Time for the Awesomebar Top Sites query to return with no filter set (ms)",
     "cpp_guard": "ANDROID"
   },
   "CYCLE_COLLECTOR": {
     "kind": "exponential",
     "high": "10000",
     "n_buckets": 50,
     "description": "Time spent on one cycle collection (ms)"
   },