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

--HG--
extra : commitid : J8GTiJjVrg2
extra : rebase_source : 4d90c0602a55fe6c6686b98301d49236224e0930
This commit is contained in:
Margaret Leibovic 2016-02-01 09:58:03 -05:00
parent 46e6ffe8a6
commit 7cd5df0066
2 changed files with 12 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,17 @@
"description": "Time taken to download a specified distribution file (msec)",
"cpp_guard": "ANDROID"
},
"FENNEC_BOOKMARKS_COUNT": {
"expires_in_version": "60",
"kind": "exponential",
"low": 0,
"high": "8000",
"n_buckets": 20,
"releaseChannelCollection": "opt-out",
"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",