Page MenuHomePhabricator

Migrate wikibase.repo.dispatchChangesJob* to statslib
Closed, ResolvedPublic

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 1005138 had a related patch set uploaded (by Herron; author: Herron):

[mediawiki/extensions/Wikibase@master] DispatchChangesJob: migrate metrics to statslib

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

DAlangi_WMF subscribed.

There is a pending decision to be made on the patch re PerDbNameStatsDataFactory vs just prefixing the metric name with MainConfigNames::DBname. Once there is a decision to move forward, then we can resume on this. :)

andrea.denisse changed the task status from Open to Stalled.Jan 10 2025, 9:30 PM

Change #1005138 abandoned by D3r1ck01:

[mediawiki/extensions/Wikibase@master] DispatchChangesJob: migrate metrics to statslib

Reason:

A mass migration happened in Ic3bcf6ef188be6df052ec7a5ce8cbcb6b2817aca

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