Bug 794513 - Prefix Fennec-specific Telemetry with FENNEC_. r=dao
--- 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)"
},