Page MenuHomePhabricator

Migrate MediaWiki.media.thumbnail.* to statslib
Open, Needs TriagePublic

Description

Follow the migration process as outlined below.

Secure/Conduct code review(s).
Deploy the changes to production via the train (https://wikitech.wikimedia.org/wiki/Deployments/Train).
Verify that the changes have been successfully implemented.
Update the relevant dashboard(s) by replacing the old Graphite metric(s) with the new Prometheus metric(s).
Please follow the guidelines and standards outlined in the provided documentation:

https://www.mediawiki.org/wiki/Manual:Stats for detailed guidance on the conversion process.
https://drive.google.com/file/d/12yQEuOapkML1vb9MgCaX1QzbLBdXE6X2/view for a video tutorial on the conversion process.
https://docs.google.com/presentation/d/1SZWf_D3mWNX-XHN8PHYI84LDZr6GUQC2AMhZ9mQXCI0/edit#slide=id.g2795460c956_0_23 for slides on the best practices for converting metrics to statslib.

Event Timeline

Change #1027205 had a related patch set uploaded (by Tarrow; author: Tarrow):

[mediawiki/core@master] Migrate media.thumbnail.stream to statslib

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

colewhite subscribed.

Adding file management folks for visibility.

We found during migration that the metric is fed seconds (to microsecond precision) when the function expects milliseconds. To fix, the graphs will look like latency has increased 1000x, when in reality we've been underreporting for a long time.

Since we're here, we might as well fix the data as well as migrate to StatsLib.

Made a ticket to specifically track it T364238

Change #1027264 had a related patch set uploaded (by Tarrow; author: Tarrow):

[mediawiki/core@master] Migrate media.thumbnail.generate.fetchoriginal to statslib

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

Change #1027268 had a related patch set uploaded (by Tarrow; author: Tarrow):

[mediawiki/core@master] Migrate media.thumbnail.generate.transform to statslib

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

Change #1027272 had a related patch set uploaded (by Tarrow; author: Tarrow):

[mediawiki/core@master] Migrate media.thumbnail.generate.store to statslib

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

Change #1027273 had a related patch set uploaded (by Tarrow; author: Tarrow):

[mediawiki/core@master] Migrate media.thumbnail.generate.bucket to statslib

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

Change #1027205 merged by jenkins-bot:

[mediawiki/core@master] Migrate media.thumbnail.stream to statslib

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