Page MenuHomePhabricator

Migrate MediaWiki.site.*.count 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.

  • MediaWiki.site.articles.count
  • MediaWiki.site.edits.count
  • MediaWiki.site.users.count

source code

Event Timeline

lmata renamed this task from Migrate MediaWiki.site.articles.count to statslib to Migrate MediaWiki.site.*.count to statslib.Mar 6 2024, 3:36 AM
lmata updated the task description. (Show Details)

Change #1026899 had a related patch set uploaded (by Cwhite; author: Cwhite):

[mediawiki/core@master] SiteStatsupdate: update to use StatsFactory

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

Change #1026899 merged by jenkins-bot:

[mediawiki/core@master] SiteStatsupdate: update to use StatsFactory

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