Page MenuHomePhabricator

Migrate CheckUser PHP instrument to use Test Kitchen SDK
Open, Needs TriagePublic

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