Page MenuHomePhabricator

Migrate CheckUser PHP instrument to use Test Kitchen SDK
Open, MediumPublic2 Estimated Story Points

Description

Description

The CheckUser extension is using EventLogging\MetricsPlatform\MetricsClientFactory (PHP client library) to get an instance of MetricsClient to send events. We are already working on T409913: Create PHP equivalent of mw.testKitchen.getInstrument(), which will be InstrumentManager#getInstrument() so, once we finish that task, the mentioned instrument could be migrated to use that new way.

Acceptance criteria

  • The instrument config is added to Test Kitchen UI
  • The instrument has been rewritten to use InstrumentManager#getInstrument()
  • The stream config is updated to reflect management via Test Kitchen
    • Remove producers.metrics_platform_client.provide_values property
    • Add a link to the instrument config in Test Kitchen UI

Event Timeline

KReid-WMF triaged this task as Medium priority.Mar 24 2026, 4:22 PM
KReid-WMF moved this task from Tidy up EventLogging to READY TO GROOM on the Test Kitchen board.