Page MenuHomePhabricator

Format log entries on Special:Log/…
Closed, DeclinedPublic

Description

When I visit /wiki/Special:Log/TBD, I should see well-formatted log entries about actions taken on instrumentation streams, which include:

  • The name of the actor that took the action
  • The action taken
  • The name of the instrumentation stream

e.g.

User:Phuedx (WMF) created the test.instrumentation instrumentation stream.

User:Phuedx (WMF) updated the test.instrumentation instrumentation stream: The sampling rate was updated from 0.1 to 0.5.

Event Timeline

This is cool. If we do this, the extension should probably expose a Hook that will allow us to emit these as events as well. That would allow us to do event based ingestion of metadata changes into datahub, rather than having to scrape the API to ingest this info. T318863: [Event Platform] Event Platform and DataHub Integration

This task was written when we assumed that we were building MPIC in MediaWiki. We've build MPIC elsewhere. We have created a tool that that edits the Server Admin Log in Wikitech when an instrument is updated, which is the equivalent of this functionality I suppose.

This is cool. If we do this, the extension should probably expose a Hook that will allow us to emit these as events as well. That would allow us to do event based ingestion of metadata changes into datahub, rather than having to scrape the API to ingest this info. T318863: [Event Platform] Event Platform and DataHub Integration

This is cool. We could update MPIC to emit these events?