Bug 1244704 - Create a more granular BOOKMARKS_COUNT probe for mobile. r=mfinkle

This commit is contained in:
Margaret Leibovic 2016-02-01 09:58:03 -05:00
parent 072ecf56ca
commit 4f84e13b71
2 changed files with 10 additions and 1 deletions

View File

@ -1728,7 +1728,7 @@ public class BrowserApp extends GeckoApp
final BrowserDB db = getProfile().getDB();
final ContentResolver cr = getContentResolver();
Telemetry.addToHistogram("PLACES_PAGES_COUNT", db.getCount(cr, "history"));
Telemetry.addToHistogram("PLACES_BOOKMARKS_COUNT", db.getCount(cr, "bookmarks"));
Telemetry.addToHistogram("FENNEC_BOOKMARKS_COUNT", db.getCount(cr, "bookmarks"));
Telemetry.addToHistogram("FENNEC_FAVICONS_COUNT", db.getCount(cr, "favicons"));
Telemetry.addToHistogram("FENNEC_THUMBNAILS_COUNT", db.getCount(cr, "thumbnails"));
Telemetry.addToHistogram("FENNEC_READING_LIST_COUNT", db.getReadingListAccessor().getCount(cr));

View File

@ -3386,6 +3386,15 @@
"description": "Time taken to download a specified distribution file (msec)",
"cpp_guard": "ANDROID"
},
"FENNEC_BOOKMARKS_COUNT": {
"expires_in_version": "60",
"kind": "exponential",
"high": "8000",
"n_buckets": 20,
"description": "Number of bookmarks stored in the browser DB",
"alert_emails": ["mobile-frontend@mozilla.com"],
"bug_numbers": [1244704]
},
"FENNEC_FAVICONS_COUNT": {
"expires_in_version": "40",
"kind": "exponential",