Page MenuHomePhabricator

WikiLambda metrics: Add client_ip to WikiLambda's common schema fragment
Open, MediumPublic

Description

Description

Tracking client_ip allows us to correlate various UI interactions with geographical regions, which can yield insights into preferences, directions, difficulties, etc. experienced by users in different regions, and provide better metrics to inform and support our diversity objectives.

This ticket is motivated by the need to have this info included in WikiLambda 's ui_actions schema, which was created by this patch. client_ip should be added to the common schema fragment, so that it applies not only to ui_actions, but also to our WikiLambda API schema, and future metrics schemas that import the common fragment. After adding client_ip to the common fragment, it should be removed from the top level of the API schema.

It can be added to the common fragment using:

allOf: 
    $ref: /fragment/http/client_ip/1.0.0#

Completion checklist

Event Timeline

Jdforrester-WMF subscribed.

Sharvani to discuss with other Metrics colleagues as to whether we want to do this.

DMartin-WMF renamed this task from WikiLambda metrics: Consider adding client_ip to ui_actions schema to WikiLambda metrics: Consider adding client_ip to WikiLambda's ui_actions schema.Jun 28 2024, 4:37 AM
DMartin-WMF updated the task description. (Show Details)
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF moved this task from To Triage to Backlog on the Abstract Wikipedia team board.
Jdforrester-WMF added a subscriber: Sharvaniharan.

Assigning to David to re-write, per Sharvani.

DMartin-WMF renamed this task from WikiLambda metrics: Consider adding client_ip to WikiLambda's ui_actions schema to WikiLambda metrics: Add client_ip to WikiLambda's common schema fragment.Jul 3 2024, 8:13 PM
DMartin-WMF updated the task description. (Show Details)