Page MenuHomePhabricator

Deprecate and remove MetricsClient#dispatch()
Closed, ResolvedPublic

Description

Ronseal.

In wt:Metrics_Platform/Decision_Records/Deprioritize_Custom_Data, Data Products decided to move away from the monoschema approach. In order to avoid confusion on the part of our customers and accumulating technical debt, we should deprecate and remove MetricsClient#dispatch() and mw.eventLog.dispatch().

Acceptance Criteria

  • MetricsClient#dispatch() and mw.eventLog.dispatch() are marked as deprecated
  • All instances of mw.eventLog.dispatch() are removed
  • MetricsClient#dispatch() and mw.eventLog.dispatch() are removed (see T354822, T354823)
  • Any streams that were submitted to by mw.eventLog.dispatch() and associated datasets are marked as deprecated in DataHub
  • On-wiki mentions of mw.eventLog.dispatch() are removed

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Please scrub wikitech docs for mentions of mw.eventLog.dispatch.

phuedx raised the priority of this task from Medium to High.Oct 21 2025, 9:51 AM
Sfaci raised the priority of this task from High to Needs Triage.Nov 4 2025, 8:48 AM
Sfaci moved this task from Incoming to Tidy up EventLogging on the Test Kitchen board.
  • Any streams that were submitted to by mw.eventLog.dispatch() and associated datasets are marked as deprecated in DataHub

The event.wikilambda_ui and event.mediawiki_reference_previews Hive tables and associated datasets were marked as deprecated.