| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | SNowick_WMF | T327341 Migrate iOS schemas to MEP | |||
| Resolved | SNowick_WMF | T328621 Add MobileWikiAppiOSSessions schema to MEP | |||
| Resolved | SNowick_WMF | T335549 Validate `ios_sessions` data post-release |
Event Timeline
Comment Actions
These changes will be deployed as part of the 7.3.0 release but will be verified by analytics post-release
Comment Actions
@SNowick_WMF We actually pivoted and used a shared schema with Android called app_session instead of ios_sessions for this (in this patch). Do you see data for that one? Here's an example POST call that worked for me:
{
"app_install_id": "01C6A34E-C0E5-4C80-AD7A-9710538E2D61",
"length_ms": 41230,
"dt": "2023-06-13T20:03:18Z",
"primary_language": "en",
"meta": {
"stream": "app_session",
"id": "3AF4BA78-01C8-4EFA-A8E6-7A68CD4832A2"
},
"$schema": "/analytics/mobile_apps/app_session/1.0.0",
"app_session_id": "2d8d984df67393a4efed",
"is_anon": false,
"session_data": {
"page_load_latency_ms": 60
}
}I do see some 400 errors if the user doesn't have any page_load_latency_ms values to send. I can put up a PR fixing that while I'm here @Mazevedo.
Comment Actions
@Tsevener perfect, I was wondering why there was nothing there. I have been validating app_session too and do see iOS data so we can close this out. Thanks!
Comment Actions
PR fixing occasional server error - https://github.com/wikimedia/wikipedia-ios/pull/4545