You are browsing a read-only backup copy of Wikitech. The primary site can be found at

Metrics Platform: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Will Doran
No edit summary
(Demo recordings are obviously not biweekly)
Line 17: Line 17:
* [[Metrics Platform/Event Schema]] - Specification of compatible schema
* [[Metrics Platform/Event Schema]] - Specification of compatible schema
* [[Metrics Platform/Event Stream Configuration]] - Specification of stream configuration
* [[Metrics Platform/Event Stream Configuration]] - Specification of stream configuration
*[[Metrics Platform/Demos]] - Biweekly demo recordings
* [[Metrics Platform/Demos]] - Demo recordings

=== Development Status ===
=== Development Status ===

Revision as of 22:56, 5 July 2022

The Metrics Platform is <section begin=excerpt/>a suite of services, standard libraries, and APIs for producing and consuming data of all kinds from Wikimedia Foundation products.<section end=excerpt/> For data producers, it aims to simplify the task of designing, implementing, and maintaining data-producing code (also called instrumentation), while offering better guarantees of quality, rigor, and safety. For data consumers, it aims to streamline the process of defining a new dataset and offer a rich set of tools to answer questions and generate insights with data.

The Metrics Platform:

  • specifies how clients work with the Event Platform
  • provides standardized algorithms, behaviors, and basic necessities for web and app tracking, including:
    • standardized session ID generation, consistent across MediaWiki, Android, and iOs
    • attaching the necessary metadata to logged events such as client-side timestamp recording when the event was generated
    • determining which events are in-sample or out-of-sample based on a specific identifier (pageview, session, device)

Topics Directory

Development Status

Current product platform support
Version Release Date MediaWiki JS MediaWiki PHP Wikipedia Android Wikipedia iOS Wikipedia KaiOS
1.0 (in development) 05-30-2021
0.2 12-30-2020 x x x x
0.1 06-30-2020 x x

History and Rationale

Previously, different teams implemented their own EventLogging-based analytics solutions, isolated from each other. The Metrics Platform is an effort to unify that previous work and to establish consistency across platforms. That uniformity and consistency makes it possible to leverage data from multiple platforms to yield insights into how our users use our whole ecosystem of products in unison.

It also enables analysts to support teams which are not their primary teams – to be more portable. The legacy system, in which every instrumentation has its own quirks and naming is inconsistent, places a heavy burden on each analyst to learn and remember the specifics of their assigned teams' data; and if another analyst had to come in as back-up, they too would need to learn those specifics.