-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add probe to measure cache size, user data size, etc. #12802
Comments
Addressed with #12876 (comment) |
QA: I'm not sure if you test telemetry but if you do, about 5 seconds after cold startup completes (i.e. swipe close and open the app and wait), I add the following metrics to the If you could check that the values are added and seem reasonable, that'd be great. :) |
Hi @mcomella , I've just checked this matter on the latest After generating the Metrics Ping 61f7916f-7707-4af5-b496-01ec915d61c7 (dropdown ▼){
"client_info": {
"android_sdk_version": "29",
"app_build": "2015757491",
"app_channel": "nightly",
"app_display_version": "Nightly 200812 06:01",
"architecture": "arm64-v8a",
"client_id": "d5ee6525-630f-47a4-8f47-3d4e2ebc96fa",
"device_manufacturer": "Google",
"device_model": "Pixel 3a",
"first_run_date": "2020-08-12+03:00",
"locale": "en-US",
"os": "Android",
"os_version": "10",
"telemetry_sdk_build": "32.0.0"
},
"metrics": {
"boolean": {
"addons.has_enabled_addons": false,
"addons.has_installed_addons": false,
"gfx.status.headless": false,
"metrics.default_browser": false,
"metrics.has_open_tabs": false,
"metrics.has_recent_pwas": false,
"metrics.has_top_sites": true,
"metrics.search_widget_installed": false
},
"counter": {
"logins_store.unlock_count": 2,
"metrics.top_sites_count": 3
},
"memory_distribution": {
"storage.stats.app_bytes": {
"sum": 571436032,
"values": {
"280320108": 2,
"292730940": 0
}
},
"storage.stats.cache_bytes": {
"sum": 425984,
"values": {
"0": 1,
"1": 0,
"10": 0,
"101070": 0,
"10173": 0,
"1023": 0,
"103": 0,
"105545": 0,
"10623": 0,
"1069": 0,
"107": 0,
"11": 0,
"110217": 0,
"11094": 0,
"1116": 0,
"112": 0,
"115097": 0,
"11585": 0,
"1166": 0,
"117": 0,
"12": 0,
"120193": 0,
"12098": 0,
"1217": 0,
"122": 0,
"125514": 0,
"12633": 0,
"127": 0,
"1271": 0,
"13": 0,
"131071": 0,
"13193": 0,
"1327": 0,
"133": 0,
"136875": 0,
"13777": 0,
"1386": 0,
"139": 0,
"14": 0,
"142935": 0,
"14387": 0,
"1448": 0,
"145": 0,
"149263": 0,
"15": 0,
"15024": 0,
"1512": 0,
"152": 0,
"155871": 0,
"15689": 0,
"1579": 0,
"158": 0,
"16": 0,
"162772": 0,
"16383": 0,
"1649": 0,
"165": 0,
"169979": 0,
"17": 0,
"17109": 0,
"1722": 0,
"173": 0,
"177504": 0,
"17866": 0,
"1798": 0,
"18": 0,
"181": 0,
"185363": 0,
"18657": 0,
"1878": 0,
"189": 0,
"19": 0,
"193570": 0,
"19483": 0,
"1961": 0,
"197": 0,
"2": 0,
"20": 0,
"202140": 0,
"20346": 0,
"2047": 0,
"206": 0,
"21": 0,
"211090": 0,
"21247": 0,
"2138": 0,
"215": 0,
"22": 0,
"220435": 0,
"22188": 0,
"2233": 0,
"224": 0,
"23": 0,
"230195": 0,
"23170": 0,
"2332": 0,
"234": 0,
"24": 0,
"240387": 0,
"24196": 0,
"2435": 0,
"245": 0,
"25": 0,
"251029": 0,
"25267": 0,
"2543": 0,
"255": 0,
"26": 0,
"262143": 0,
"26386": 0,
"2655": 0,
"267": 0,
"273750": 0,
"27554": 0,
"2773": 0,
"279": 0,
"28": 0,
"285870": 0,
"28774": 0,
"2896": 0,
"29": 0,
"291": 0,
"298526": 0,
"3": 0,
"30": 0,
"30048": 0,
"3024": 0,
2020-08-13 04:00:00.079 31255-31534/? I/libglean_ffi: "304": 0,
"31": 0,
"311743": 0,
"31378": 0,
"3158": 0,
"317": 0,
"
2020-08-13 04:00:00.079 31255-31534/? I/libglean_ffi: glean_core::upload: Glean ping to URL: /submit/org-mozilla-fenix/metrics/1/61f7916f-7707-4af5-b496-01ec915d61c7 [Part 2 of 6]
325545": 0,
"32767": 0,
"3298": 0,
"33": 0,
"331": 0,
"339958": 0,
"34": 0,
"34218": 0,
"3444": 0,
"346": 0,
"355009": 0,
"35733": 0,
"3596": 0,
"36": 0,
"362": 0,
"370727": 0,
"37315": 0,
"3756": 0,
"378": 0,
"38": 0,
"387141": 0,
"38967": 0,
"39": 0,
"3922": 0,
"394": 0,
"4": 0,
"404281": 0,
"40693": 0,
"4095": 0,
"41": 0,
"412": 0,
"422180": 1,
"42494": 0,
"4277": 0,
"43": 0,
"430": 0,
"440871": 0,
"44376": 0,
"4466": 0,
"449": 0,
"45": 0,
"46340": 0,
"4664": 0,
"469": 0,
"47": 0,
"48392": 0,
"4870": 0,
"49": 0,
"490": 0,
"5": 0,
"50535": 0,
"5086": 0,
"51": 0,
"511": 0,
"52772": 0,
"53": 0,
"5311": 0,
"534": 0,
"55108": 0,
"5547": 0,
"558": 0,
"56": 0,
"57548": 0,
"5792": 0,
"58": 0,
"583": 0,
"6": 0,
"60096": 0,
"6049": 0,
"608": 0,
"61": 0,
"62757": 0,
"63": 0,
"6316": 0,
"635": 0,
"65535": 0,
"6596": 0,
"66": 0,
"663": 0,
"68437": 0,
"6888": 0,
"69": 0,
"693": 0,
"7": 0,
"71467": 0,
"7193": 0,
"72": 0,
"724": 0,
"74631": 0,
"7512": 0,
"756": 0,
"76": 0,
"77935": 0,
"7844": 0,
"789": 0,
"79": 0,
"8": 0,
"81386": 0,
"8191": 0,
"82": 0,
"824": 0,
"84989": 0,
"8554": 0,
"86": 0,
"861": 0,
"88752": 0,
"8933": 0,
"899": 0,
"9": 0,
"90": 0,
"92681": 0,
"9328": 0,
"939": 0,
"94": 0,
"96785": 0,
"9741": 0,
"98": 0,
"980": 0
}
},
"storage.stats.data_dir_bytes": {
"sum": 6500352,
"values": {
"1004119": 0,
"1048575": 0,
"1095000": 0,
"1143480": 0,
"1194106": 0,
"1246974": 0,
"1302182": 0,
"1359834": 0,
"1420039": 0,
"1482910": 0,
"1548564": 0,
"1617125": 0,
"1688721": 0,
"1763487": 0,
"1841563": 0,
"1923096": 0,
"2008239": 0,
"2097151": 0,
"2190000": 0,
"2286960": 0,
"2388212": 0,
"2493948": 0,
"2604364": 0,
"2719669": 0,
"2840079": 0,
"2965820": 0,
"3097128": 0,
"3234250": 0,
"3377443": 0,
"3526975": 0,
"355009": 1,
"3683127": 0,
"370727": 0,
"3846193": 0,
"387141": 0,
"4016479": 0,
"404281": 0,
"4194303": 0,
"422180": 0,
"4380001": 0,
"440871": 0,
"4573920": 0,
"460390": 0,
"4776425": 0,
"480774": 0,
"4987896": 0,
"502059": 0,
"5208729": 0,
"524287": 0,
"5439339": 0,
"547500": 0,
"5680159": 0,
"571740": 0,
"5931641": 1,
"597053": 0,
"6194257": 0,
"623487": 0,
2020-08-13 04:00:00.079 31255-31534/? I/libglean_ffi: "651091": 0,
"679917": 0,
"710019": 0,
"741455": 0,
"774282": 0,
"80856
2020-08-13 04:00:00.079 31255-31534/? I/libglean_ffi: glean_core::upload: Glean ping to URL: /submit/org-mozilla-fenix/metrics/1/61f7916f-7707-4af5-b496-01ec915d61c7 [Part 3 of 6]
2": 0,
"844360": 0,
"881743": 0,
"920781": 0,
"961548": 0
}
}
},
"quantity": {
"gfx.adapter.primary.ram": 0,
"gfx.display.count": 1,
"gfx.display.primary_height": 2220,
"gfx.display.primary_width": 1080
},
"string": {
"geckoview.build_id": "20200808213325",
"geckoview.version": "81.0a1",
"gfx.adapter.primary.description": "Model: Pixel 3a, Product: sargo, Manufacturer: Goo",
"gfx.adapter.primary.device_id": "Adreno (TM) 615",
"gfx.adapter.primary.driver_date": "",
"gfx.adapter.primary.driver_files": "",
"gfx.adapter.primary.driver_vendor": "",
"gfx.adapter.primary.driver_version": "OpenGL ES 3.2 V@384.0 (GIT@4a00b69, I4e7e888065) (",
"gfx.adapter.primary.subsystem_id": "",
"gfx.adapter.primary.vendor_id": "Qualcomm",
"gfx.status.compositor": "webrender",
"metrics.adjust_ad_group": "twitter",
"metrics.adjust_campaign": "social",
"metrics.adjust_creative": "fr-gtm",
"metrics.adjust_network": "Product Marketing",
"metrics.toolbar_position": "BOTTOM"
},
"string_list": {
"addons.enabled_addons": [],
"addons.installed_addons": [],
"metrics.mozilla_products": [
"org.mozilla.fenix"
],
"preferences.accessibility_services": [],
"preferences.open_links_in_a_private_tab": [
"false"
],
"preferences.open_links_in_app": [
"false"
],
"preferences.remote_debugging": [
"false"
],
"preferences.search_bookmarks": [
"true"
],
"preferences.search_browsing_history": [
"true"
],
"preferences.search_suggestions_private": [
"false"
],
"preferences.show_clipboard_suggestions": [
"true"
],
"preferences.show_search_shortcuts": [
"false"
],
"preferences.show_search_suggestions": [
"true"
],
"preferences.show_voice_search": [
"true"
],
"preferences.sync": [
"false"
],
"preferences.sync_items": [],
"preferences.telemetry": [
"true"
],
"preferences.theme": [
"system"
],
"preferences.toolbar_position": [
"bottom"
],
"preferences.tracking_protection": [
"standard"
]
},
"timing_distribution": {
"geckoview.startup_runtime": {
"sum": 1511000000,
"values": {
"1073741824": 0,
"1170923761": 0,
"1276901416": 1,
"134217728": 1,
"1392470868": 0,
"146365470": 0,
"159612677": 0,
"174058858": 0,
"189812531": 0,
"206992033": 0,
"225726412": 0,
"246156398": 0,
"268435456": 0,
"292730940": 0,
"319225354": 0,
"348117717": 0,
"379625062": 0,
"413984066": 0,
"451452825": 0,
"492312796": 0,
"536870912": 0,
"585461880": 0,
"638450708": 0,
"696235434": 0,
"759250124": 0,
"827968132": 0,
"902905650": 0,
"984625593": 0
}
},
"javascript.gc.compact_time": {
"sum": 3000000,
"values": {
"1048576": 0,
"1143480": 0,
"1246974": 0,
"1359834": 0,
"1482910": 0,
"1617125": 0,
"1763487": 0,
"1923096": 1,
"2097152": 0,
"961548": 1
}
},
"javascript.gc.mark_roots_time": {
"sum": 4215000,
"values": {
"1048576": 0,
"1143480": 0,
"1246974": 0,
"1359834": 0,
"1482910": 1,
"1617125": 1,
"1763487": 0,
2020-08-13 04:00:00.079 31255-31534/? I/libglean_ffi: "262144": 1,
"285870": 0,
"311743": 0,
"339958": 0,
"370727": 0,
"404281
2020-08-13 04:00:00.079 31255-31534/? I/libglean_ffi: glean_core::upload: Glean ping to URL: /submit/org-mozilla-fenix/metrics/1/61f7916f-7707-4af5-b496-01ec915d61c7 [Part 4 of 6]
": 0,
"440871": 0,
"480774": 0,
"524288": 0,
"571740": 0,
"623487": 0,
"679917": 1,
"741455": 0,
"808562": 0,
"881743": 0,
"961548": 0
}
},
"javascript.gc.mark_time": {
"sum": 46000000,
"values": {
"1048576": 0,
"10878678": 0,
"1143480": 0,
"11863283": 0,
"1246974": 0,
"12937002": 0,
"1359834": 0,
"14107900": 0,
"1482910": 0,
"15384774": 0,
"1617125": 0,
"16777216": 1,
"1763487": 0,
"18295683": 0,
"1923096": 0,
"19951584": 0,
"2097152": 0,
"21757357": 0,
"2286960": 0,
"23726566": 0,
"2493948": 0,
"25874004": 1,
"2719669": 0,
"28215801": 0,
"2965820": 0,
"3234250": 0,
"3526975": 0,
"3846193": 0,
"4194304": 0,
"4573920": 0,
"4987896": 0,
"5439339": 0,
"5931641": 0,
"6468501": 0,
"7053950": 0,
"7692387": 0,
"8388608": 0,
"9147841": 0,
"961548": 2,
"9975792": 0
}
},
"javascript.gc.minor_time": {
"sum": 43337000,
"values": {
"101070": 0,
"1048576": 1,
"10878678": 0,
"110217": 0,
"1143480": 0,
"11863283": 0,
"120193": 0,
"1246974": 0,
"12937002": 0,
"131072": 0,
"1359834": 0,
"14107900": 0,
"142935": 0,
"1482910": 0,
"15384774": 1,
"155871": 0,
"1617125": 1,
"16777216": 0,
"169979": 0,
"1763487": 0,
"185363": 0,
"1923096": 0,
"202140": 0,
"2097152": 0,
"220435": 0,
"2286960": 0,
"23170": 1,
"240387": 0,
"2493948": 0,
"25267": 0,
"262144": 0,
"2719669": 1,
"27554": 0,
"285870": 0,
"2965820": 0,
"30048": 0,
"311743": 0,
"3234250": 0,
"32768": 0,
"339958": 0,
"3526975": 0,
"35733": 0,
"370727": 0,
"3846193": 2,
"38967": 1,
"404281": 0,
"4194304": 0,
"42494": 0,
"440871": 0,
"4573920": 0,
"46340": 0,
"480774": 0,
"4987896": 0,
"50535": 0,
"524288": 0,
"5439339": 1,
"55108": 0,
"571740": 0,
"5931641": 0,
"60096": 0,
"623487": 0,
"6468501": 0,
"65536": 0,
"679917": 0,
"7053950": 0,
"71467": 0,
"741455": 0,
"7692387": 1,
"77935": 0,
"808562": 0,
"8388608": 0,
"84989": 0,
"881743": 0,
"9147841": 0,
"92681": 0,
"961548": 0,
"9975792": 0
}
},
"javascript.gc.prepare_time": {
"sum": 7000000,
"values": {
"1048576": 0,
"1143480": 0,
"1246974": 0,
"1359834": 0,
"1482910": 0,
"1617125": 0,
"1763487": 0,
"1923096": 1,
"2097152": 0,
"2286960": 0,
"2493948": 0,
"2719669": 0,
"2965820": 1,
"3234250": 0,
"961548": 2
}
},
"javascript.gc.slice_time": {
"sum": 204000000,
"values": {
"1048576": 0,
"10878678": 2,
"1143480": 0,
"11863283": 0,
2020-08-13 04:00:00.079 31255-31534/? I/libglean_ffi: "1246974": 0,
"12937002": 1,
"1359834": 0,
"14107900": 0,
"1482910": 0,
"15384774": 0,
2020-08-13 04:00:00.079 31255-31534/? I/libglean_ffi: glean_core::upload: Glean ping to URL: /submit/org-mozilla-fenix/metrics/1/61f7916f-7707-4af5-b496-01ec915d61c7 [Part 5 of 6]
"1617125": 0,
"16777216": 0,
"1763487": 0,
"18295683": 0,
"1923096": 1,
"19951584": 0,
"2097152": 0,
"21757357": 0,
"2286960": 0,
"23726566": 0,
"2493948": 0,
"25874004": 0,
"2719669": 0,
"28215801": 0,
"2965820": 1,
"30769549": 0,
"3234250": 0,
"33554432": 0,
"3526975": 0,
"36591367": 0,
"3846193": 0,
"39903169": 1,
"4194304": 0,
"43514714": 0,
"4573920": 0,
"47453132": 2,
"4987896": 0,
"51748008": 0,
"5439339": 0,
"5931641": 1,
"6468501": 1,
"7053950": 0,
"7692387": 0,
"8388608": 0,
"9147841": 0,
"961548": 1,
"9975792": 1
}
},
"javascript.gc.sweep_time": {
"sum": 32000000,
"values": {
"1048576": 0,
"10878678": 0,
"1143480": 0,
"11863283": 0,
"1246974": 0,
"12937002": 1,
"1359834": 0,
"14107900": 0,
"1482910": 0,
"15384774": 1,
"1617125": 0,
"16777216": 0,
"1763487": 0,
"1923096": 1,
"2097152": 0,
"2286960": 0,
"2493948": 0,
"2719669": 0,
"2965820": 0,
"3234250": 0,
"3526975": 0,
"3846193": 0,
"4194304": 0,
"4573920": 0,
"4987896": 0,
"5439339": 0,
"5931641": 0,
"6468501": 0,
"7053950": 0,
"7692387": 0,
"8388608": 0,
"9147841": 0,
"961548": 1,
"9975792": 0
}
},
"javascript.gc.total_time": {
"sum": 114000000,
"values": {
"10878678": 0,
"11863283": 0,
"12937002": 0,
"14107900": 0,
"15384774": 0,
"16777216": 0,
"18295683": 0,
"19951584": 0,
"21757357": 0,
"23726566": 0,
"25874004": 0,
"28215801": 0,
"2965820": 1,
"30769549": 0,
"3234250": 0,
"33554432": 0,
"3526975": 0,
"36591367": 0,
"3846193": 0,
"39903169": 1,
"4194304": 0,
"43514714": 0,
"4573920": 0,
"47453132": 0,
"4987896": 0,
"51748008": 0,
"5439339": 0,
"56431603": 0,
"5931641": 0,
"61539099": 1,
"6468501": 1,
"67108864": 0,
"7053950": 0,
"7692387": 0,
"8388608": 0,
"9147841": 0,
"9975792": 0
}
},
"logins_store.unlock_time": {
"sum": 649725638,
"values": {
"319225354": 2,
"348117717": 0
}
},
"perf.awesomebar.bookmark_suggestions": {
"sum": 8000000,
"values": {
"7692387": 1,
"8388608": 0
}
},
"perf.awesomebar.history_suggestions": {
"sum": 1000000,
"values": {
"1048576": 0,
"961548": 1
}
},
"perf.awesomebar.search_engine_suggestions": {
"sum": 4000000,
"values": {
"3846193": 1,
"4194304": 0
}
},
"perf.awesomebar.session_suggestions": {
"sum": 6000000,
"values": {
"5931641": 1,
"6468501": 0
}
},
"storage.stats.query_stats_duration": {
"sum": 15338700,
"values": {
"10878678": 1,
"11863283": 0,
"3846193": 1,
"4194304": 0,
"4573920": 0,
"4987896": 0,
2020-08-13 04:00:00.079 31255-31534/? I/libglean_ffi: "5439339": 0,
"5931641": 0,
"6468501": 0,
"7053950": 0,
"7692387": 0,
2020-08-13 04:00:00.079 31255-31534/? I/libglean_ffi: glean_core::upload: Glean ping to URL: /submit/org-mozilla-fenix/metrics/1/61f7916f-7707-4af5-b496-01ec915d61c7 [Part 6 of 6]
"8388608": 0,
"9147841": 0,
"9975792": 0
}
}
}
},
"ping_info": {
"end_time": "2020-08-13T04:00+03:00",
"experiments": {
"fenix-search-widget": {
"branch": "control_no_cfr"
}
},
"reason": "today",
"seq": 0,
"start_time": "2020-08-13T03:59+03:00"
}
} ✔️ storage.stats.app_bytes
✔️ storage.stats.cache_bytes
✔️ storage.stats.data_dir_bytes
✔️ storage.stats.query_stats_duration
❓ Unfortunately, I can't confirm if the values are correct or not. I'll remove the QA needed label until further notice. |
We don't know how large the application can grow to and if this may impact our retention: let's add telemetry probes so we can monitor the behavior.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: