Page MenuHomePhabricator

[Metrics Platform] Event types and sub-types
Closed, ResolvedPublic

Description

Need:

  • a list of event archetypes (such as "init", "click", "type", and "data"; often the action field in legacy schemas)
  • lists of sub-types ("click": [ "save", "cancel", "submit", "insert" ]) for each archetype

Additional information:

For example: an action: "dashboard-sidebar-collapse" event would be more like this:

{
  event_type: "click",
  event_subtype: "collapse",
  event_source: "dashboard-sidebar"
}

in the Metrics Platform.

Event Timeline

mpopov triaged this task as Medium priority.May 3 2021, 2:54 PM
mpopov created this task.
ldelench_wmf raised the priority of this task from Medium to High.May 4 2021, 5:16 PM
ldelench_wmf moved this task from Triage to Kanban on the Product-Analytics board.
DAbad subscribed.

Based on our conversations, going to move this to blocked until we receive feedback from team on testing of the new schema.

jlinehan lowered the priority of this task from High to Medium.Oct 4 2021, 2:33 PM

Will examine this during end-to-end testing.

EChetty moved this task from To be discussed to Backlog on the Metrics Platform Backlog board.
EChetty subscribed.

Being bold and resolving this.

I'm pleased to say that we landed on the same set of properties (type, subtype, source) as proposed during T343331: Audit existing schemas to identify Core Interactions. We also included a fourth property, context, which holds any additional contextual information that may be required. These fields are defined on the fragment/analytics/metrics_platform/interaction/common schema fragment: https://gerrit.wikimedia.org/r/c/schemas/event/secondary/+/952252/12/jsonschema/fragment/analytics/metrics_platform/interaction/common/current.yaml

phuedx claimed this task.