Page MenuHomePhabricator

Migrate MediaWiki.jobqueue to statslib
Closed, ResolvedPublic3 Estimated Story Points

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.

  • MediaWiki.jobqueue.inserts.Cognate*.sum
  • MediaWiki.jobqueue.job_pop.EchoNotificationDeleteJob.count
  • MediaWiki.jobqueue.job_pop.EchoNotificationJob.count
  • MediaWiki.jobqueue.pickup_delay.all.mean
  • MediaWiki.jobqueue.pickup_delay.EchoNotificationDeleteJob.mean
  • MediaWiki.jobqueue.pickup_delay.EchoNotificationJob.mean
  • MediaWiki.jobqueue.run.cirrus*.count
  • MediaWiki.jobqueue.run.cirrus*.mean
  • MediaWiki.jobqueue.run.Cognate*.sum

Details

Related Changes in Gerrit:

Event Timeline

@MSantos , this task was authored around the same time as T359278: Migrate MediaWiki.RevisionOutputCache.* to statslib and is a similar area. I see CTT put T359278: Migrate MediaWiki.RevisionOutputCache.* to statslib in their backlog. Should this task go along with T359278: Migrate MediaWiki.RevisionOutputCache.* to statslib, or should MWI take this on?

@MSantos , this task was authored around the same time as T359278: Migrate MediaWiki.RevisionOutputCache.* to statslib and is a similar area. I see CTT put T359278: Migrate MediaWiki.RevisionOutputCache.* to statslib in their backlog. Should this task go along with T359278: Migrate MediaWiki.RevisionOutputCache.* to statslib, or should MWI take this on?

@BPirkle the time of creation is similar due to the script that create them. AFAIK, jobqueue and RevisionOutputCache are not similar for the sake of this task. This one has been triaged to MWI team, but the RevisionOutputCache I'm not sure. For RevisionOutputCache I'm fine either way it's triaged, and trust your judgement, since I don't know in which team domain it belongs.

BPirkle moved this task from Incoming (Needs Triage) to Backlog on the MW-Interfaces-Team board.

Note: This work is expected to be done by April. Should be minor change; see other linked patches for examples.

Note: This work is expected to be done by April. Should be minor change; see other linked patches for examples.

This is a friendly reminder that graphite is planned to be set to read-only by the end of Q3 (March 2025). Therefore, there is a risk that metrics will not be ingested past that date. Dashboards will continue to serve historical but no new data. More info in: https://wikitech.wikimedia.org/wiki/Graphite/Deprecation_Roadmap

HCoplin-WMF set the point value for this task to 3.Jan 23 2025, 4:11 PM

Change #1120578 had a related patch set uploaded (by Atieno; author: Atieno):

[mediawiki/core@master] Migrate MediaWiki.jobqueue to statslib

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

Change #1120578 merged by jenkins-bot:

[mediawiki/core@master] Migrate MediaWiki.jobqueue to statslib

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