Page MenuHomePhabricator

Add support for X-WMF-UUID method of transmitting app install ID to apps uniques reports [5 pts] {hawk}
Closed, ResolvedPublic

Description

Originally, the app install ID was only transmitted as a query parameter. This was problematic for caching. For a while, we've been transmitting it both as a query parameter and in the X-Analytics headers, as a transition. We're now preparing to remove it from the query parameter, and only transmit the install ID via the X-Analytics header.

We'd like the apps uniques reports and session reports to be updated to use the X-Analytics header as well as the query parameter.

The reports will need to continue to support the old method using the query parameter because people that don't update their apps will continue to send their install ID that way.

The header documentation is here, under "wmf-uuid": https://wikitech.wikimedia.org/wiki/X-Analytics

Event Timeline

Deskana raised the priority of this task from to Needs Triage.
Deskana updated the task description. (Show Details)
Deskana added a project: Analytics.
Deskana subscribed.

Session code is taken care of, as it never used the app install id from url. Changes will be on this patch: https://gerrit.wikimedia.org/r/#/c/199935/ (still WIP)

The app uniques report however does need updating, both daily and monthly.

Deskana renamed this task from Add support for X-WMF-UUID method of transmitting app install ID to apps uniques and session reports to Add support for X-WMF-UUID method of transmitting app install ID to apps uniques reports.Apr 22 2015, 10:37 PM
kevinator renamed this task from Add support for X-WMF-UUID method of transmitting app install ID to apps uniques reports to Add support for X-WMF-UUID method of transmitting app install ID to apps uniques reports [5 pts].Apr 23 2015, 3:15 PM
kevinator renamed this task from Add support for X-WMF-UUID method of transmitting app install ID to apps uniques reports [5 pts] to Add support for X-WMF-UUID method of transmitting app install ID to apps uniques reports [5 pts] {hawk}.Apr 23 2015, 9:38 PM
kevinator moved this task from Next Up to Tasked_Hidden on the Analytics-Kanban board.

Change 207689 had a related patch set uploaded (by Guillom):
[WIP] Use wmfuuid from x_analytics_map for app install id if available else default to the query parameter Todo - test if it works

https://gerrit.wikimedia.org/r/207689

Note: The patch was done by @madhuvishy but incorrectly referenced T96927; I simply fixed the commit message.

Change 207689 merged by Joal:
Use wmfuuid from x_analytics_map for app install id if available else default to the query parameter

https://gerrit.wikimedia.org/r/207689

This change is done and deployed.