Page MenuHomePhabricator

Migrate MediaWiki.RateLimiter to statslib
Closed, ResolvedPublic5 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.RateLimiter.limit.$limit.result.*.rate
  • MediaWiki.RateLimiter.limit.$limit.tripped_by.$bucket.rate
  • MediaWiki.RateLimiter.limit.*.result.*.rate
  • MediaWiki.RateLimiter.limit.*.tripped_by.*.rate

source code

Details

Related Changes in Gerrit:

Event Timeline

Change #1092939 had a related patch set uploaded (by Andrea Denisse; author: Andrea Denisse):

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

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

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

Change #1092939 merged by jenkins-bot:

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

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