Closed Bug 1224813 Opened 9 years ago Closed 9 years ago

[TV][App Usage Metrics] "installs" in payload of app usage metric is not recorded when installing packaged app from Marketplace

Categories

(Firefox OS Graveyard :: Gaia::TV, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:2.5+, b2g-v2.5 fixed, b2g-master fixed)

RESOLVED FIXED
blocking-b2g 2.5+
Tracking Status
b2g-v2.5 --- fixed
b2g-master --- fixed

People

(Reporter: cynthiatang, Assigned: rexboy)

References

Details

(Whiteboard: [ft:conndevices][partner-blocker])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1218327 +++ If installing the packaged app from Marketplace, like Line/ Skate Jumper, we found that the installs is not count in payload. However, if we uninstall the app, the "uninstalls" will be count. This won't happen in hosted apps. Steps: 1. Modify the apps/system/js/app_usage_metrics.js and reset gaia AUM.REPORT_URL = 'https://incoming-telemetry-mozilla-org-koge918u861h.runscope.net/submit/telemetry'; AUM.DEBUG = true; AUM.REPORT_INTERVAL = 60 * 1000; 2. Search "Line" or "Skate Jumper" packaged app in Marketplace 3. Install the app 4. Wait for more than 1 minute until the data is sent 5. Check the payload of appusage. Actual result: - The payload of this app is shown in below. The installs is 0. "https://marketplace.firefox.com/app/7e382154-a942-4e45-ae0a-fc6d82be9a0f/manifest.webapp": { "20151111": { "usageTime": 4, "invocations": 1, "installs": 0, "uninstalls": 0, "enables": 0, "disables": 0, "activities": {}, "addOn": false } }, Expected result: - The "installs" should be 1. However, if the app is uninstalled, the "uninstalls" is 1. "https://marketplace.firefox.com/app/7e382154-a942-4e45-ae0a-fc6d82be9a0f/manifest.webapp": { "20151111": { "usageTime": 11, "invocations": 1, "installs": 0, "uninstalls": 1, "enables": 0, "disables": 0, "activities": {}, "addOn": false } },
[Blocking Requested - why for this release]:
blocking-b2g: --- → 2.5?
QA Whiteboard: [COM=TV::App Usage Metrics]
Hi Luke, Hi Rex, Can you have a first check? Thanks!
Blocks: TV_FxOS2.5
blocking-b2g: 2.5? → 2.5+
Flags: needinfo?(lchang)
Assignee: nobody → rexboy
Comment on attachment 8688360 [details] [review] [gaia] rexboy7:bug-1224813 > mozilla-b2g:master This patch carries r+ from fabrice and marshall from bug 1218327. I just applied the same patch to smart-system of TV. [Approval Request Comment] [Bug caused by] (feature/regressing bug #): Adding of feature for tracking addons [User impact] if declined: We will not be able to track installs in AppUsage Metrics [Testing completed]: Local testing completed. [Risk to taking this patch] (and alternatives if risky): Relatively low. It's a rather small change isolated to the Telemetry files. [String changes made]: None.
Attachment #8688360 - Flags: approval-gaia-v2.5?
Blocks: TV_Metrics
Blocks: TV_P1
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment on attachment 8688360 [details] [review] [gaia] rexboy7:bug-1224813 > mozilla-b2g:master Approved for 2.5 uplift. Thanks
Attachment #8688360 - Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
Cancel my NI since it's resolved.
Flags: needinfo?(lchang)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: