Page MenuHomePhabricator

Resolve inconsistent action_context field in Metrics Platform
Open, Stalled, MediumPublic

Description

Background

In T353029#9649906, @phuedx wrote:
Mobile submits events like action=init,action_source="ns=0" (source) but Desktop submits events like action=init

  • The action_context and action_source fields in the Metrics Platform are inconsistently recorded between mobile and desktop submissions. Resolving this inconsistency will ensure accurate data tracking and improve the reliability of metrics used for decision-making.

User story

  • As a data analyst, I want consistent action_context and action_source fields across mobile and desktop events, so that I can perform accurate and reliable analysis.

Requirements

  • Audit current action_context and action_source fields in mobile and desktop submissions.
  • Define a consistent schema for these fields that works for both platforms.
  • Implement the updated schema in Metrics Platform codebase.
  • Update any relevant documentation to reflect the changes.
  • Test the implementation to ensure consistency and accuracy in data recording.

Design

  • No mockups are required as this is a backend data consistency task.

Acceptance criteria

  • All action_context and action_source fields are consistent across mobile and desktop submissions.
  • The new schema is implemented and tested without introducing new issues.
  • Documentation is updated to reflect the changes.
  • Data analysts can confirm the consistency and accuracy of the data.

Communication criteria - does this need an announcement or discussion?

  • An internal announcement should be made to inform the data analytics team and other stakeholders about the changes and their impact.

Rollback plan

  • If the new schema introduces issues or inconsistencies, revert to the previous version of the code.
  • Ensure a backup of the original data schema is available.

This task was created by Version 1.0.0 of the Web team task template using phabulous

Event Timeline

Jdlrobson changed the task status from Open to Stalled.May 23 2024, 12:51 AM
Jdlrobson assigned this task to KSarabia-WMF.
Jdlrobson subscribed.

The action_context and action_source fields in the Metrics Platform are inconsistently recorded between mobile and desktop submissions.

The task description is now missing those inconsistencies 😄