Page MenuHomePhabricator

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

Description

Description

The ReportIncident 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

Sfaci renamed this task from Migrate ReportIncident instrument using EventLogging\MetricsPlatform\MetricsClientFactory to InstrumentManager#getInstrument() to Migrate ReportIncident instrument to use Test Kitchen SDK.Jan 27 2026, 11:48 AM
Sfaci renamed this task from Migrate ReportIncident instrument to use Test Kitchen SDK to Migrate ReportIncident PHP instrument to use Test Kitchen SDK.Jan 27 2026, 11:52 AM
Sfaci updated the task description. (Show Details)