Closed Bug 1856043 Opened 2 years ago Closed 2 years ago

Add telemetry probe to collect cache size

Categories

(Firefox for Android :: General, task, P2)

All
Android
task

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: plawless, Assigned: vdreghici)

References

Details

(Whiteboard: [fxdroid])

Attachments

(1 file)

This will be helpful in general but needed at this time in order to support work for OKR2.6.

See Also: → 1856041
Whiteboard: [fxdroid]
Priority: -- → P2

Note: whoever works on this may want to just do Bug 1856041 at the same time

Assignee: nobody → Vlad.DreghiciPopa
Status: NEW → ASSIGNED

I have looked into this ticket and we already have this probe implemented here: storage.stats.cache_bytes. This metric is sent at app startup and it gives us the size in bytes of cache currently on device, but it is only available for android 8+. Below is the value sent and a screenshot of the storage used from settings:

2023-10-10 11:54:49.830 23439-23601 DREVLA   org.mozilla.fenix.debug   reportSync: storageStats.cacheBytes = 27975680
Attached image storage_metrics.png

In addition to this there is also a probe storage.stats.app_bytes which sends the size of the app's APK and related files as installed (233MB in this case).

Is this what is required? If yes, is it ok to close this ticket and mark it as RESOLVED FIXED?

Flags: needinfo?(plawless)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(plawless)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: