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)
Tracking
(blocking-b2g:2.5+, b2g-v2.5 fixed, b2g-master fixed)
RESOLVED
FIXED
blocking-b2g | 2.5+ |
People
(Reporter: cynthiatang, Assigned: rexboy)
References
Details
(Whiteboard: [ft:conndevices][partner-blocker])
Attachments
(1 file)
46 bytes,
text/x-github-pull-request
|
mpotharaju
:
approval-gaia-v2.5+
|
Details | Review |
+++ 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
}
},
Reporter | ||
Comment 1•9 years ago
|
||
[Blocking Requested - why for this release]:
blocking-b2g: --- → 2.5?
QA Whiteboard: [COM=TV::App Usage Metrics]
Comment 2•9 years ago
|
||
Hi Luke, Hi Rex,
Can you have a first check? Thanks!
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → rexboy
Comment 3•9 years ago
|
||
Assignee | ||
Comment 4•9 years ago
|
||
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?
Assignee | ||
Comment 5•9 years ago
|
||
Updated•9 years ago
|
Blocks: TV_Metrics
Updated•9 years ago
|
Comment 6•9 years ago
|
||
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+
Comment 8•9 years ago
|
||
landed on 2.5 as https://github.com/mozilla-b2g/gaia/commit/57ed2d2825131c7ef3aa5fad2c72937d5d85ee67
status-b2g-v2.5:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•