Page MenuHomePhabricator

Remove WikimediaEvents diff instrumentation
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

Background

Last year we added instrumented some logging on diffs (T326212). After pivoting to different projects we didn't end up needing this.

If this is not being used we should decommission the instrumentation again, since it's adding some minor technical maintenance workload for us (that being the mobile diff thanks instrumentation is broken).

AC/TODO

  • Remove all code that logs specialDiff.click.* events
  • Remove the mediawiki.special_diff_interactions stream configuration
  • Remove the mediawiki.special_diff_interactions $wgEventLoggingStreamNames entry
  • Remove the event sanitisation allowlist entry, if necessary
  • Request the deletion of any previously sanitised data, if necessary

Notes

  1. It appears that the data was never sanitised so I've marked the relevant TODO entries as Done™
  2. Re.
  • Request the deletion of the mediawiki_special_diff_interactions table

Per T353366#9445335, the data are currently being analysed. Request the deletion of the table when the analysis is Done™.

Event Timeline

Jdlrobson renamed this task from Remove WikimediaEvents MobileDiff instrumentation to Remove WikimediaEvents diff instrumentation.Dec 13 2023, 7:22 PM

Change 980910 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/WikimediaEvents@master] Remove diff instrumentation

https://gerrit.wikimedia.org/r/980910

@Samwalton9-WMF: Could you confirm that you're happy with the instrument to be removed? IIRC your team created it.

@Samwalton9-WMF: Could you confirm that you're happy with the instrument to be removed? IIRC your team created it.

Confirming! We're going to do some quick analysis on this data (T353438) but the instrumentation can be removed in the meantime.

phuedx set the point value for this task to 3.Jan 16 2024, 10:46 AM

Change 991606 had a related patch set uploaded (by Phuedx; author: Phuedx):

[operations/mediawiki-config@master] ext-EventLogging,ext-EventStreamConfig: Remove mediawiki.special_diff_interactions stream

https://gerrit.wikimedia.org/r/991606

Change 991608 had a related patch set uploaded (by Phuedx; author: Phuedx):

[mediawiki/extensions/WikimediaEvents@master] Remove the Special:Diff interactions instrument

https://gerrit.wikimedia.org/r/991608

Change 991608 abandoned by Phuedx:

[mediawiki/extensions/WikimediaEvents@master] Remove the Special:Diff interactions instrument

Reason:

See Ifb46fe39ec32d6a382263762515ed6b075f89985

https://gerrit.wikimedia.org/r/991608

Change 980910 merged by jenkins-bot:

[mediawiki/extensions/WikimediaEvents@master] Remove diff instrumentation

https://gerrit.wikimedia.org/r/980910

Change 991606 merged by jenkins-bot:

[operations/mediawiki-config@master] ext-EventLogging,ext-EventStreamConfig: Remove mediawiki.special_diff_interactions stream

https://gerrit.wikimedia.org/r/991606

Mentioned in SAL (#wikimedia-operations) [2024-01-23T14:06:47Z] <logmsgbot> lucaswerkmeister-wmde@deploy2002 Started scap: Backport for [[gerrit:991606|ext-EventLogging,ext-EventStreamConfig: Remove mediawiki.special_diff_interactions stream (T353366)]]

Mentioned in SAL (#wikimedia-operations) [2024-01-23T14:08:41Z] <logmsgbot> lucaswerkmeister-wmde@deploy2002 lucaswerkmeister-wmde and phuedx: Backport for [[gerrit:991606|ext-EventLogging,ext-EventStreamConfig: Remove mediawiki.special_diff_interactions stream (T353366)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-01-23T14:18:33Z] <logmsgbot> lucaswerkmeister-wmde@deploy2002 Finished scap: Backport for [[gerrit:991606|ext-EventLogging,ext-EventStreamConfig: Remove mediawiki.special_diff_interactions stream (T353366)]] (duration: 11m 49s)