Page MenuHomePhabricator

Migrate CentralAuth to use StatsLib
Closed, DuplicatePublic

Description

Focusing on metrics:

  • 'centralauth.session.read'
  • 'centralauth.session.write'
  • "CentralAuth.IpReputation.$statsdKey." ...

Follow the migration process as outlined below.

Secure/Conduct a code review.
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 dashboard by replacing the old Graphite metric with the new Prometheus metric.
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 1012734 had a related patch set uploaded (by D3r1ck01; author: Derick Alangi):

[mediawiki/extensions/CentralAuth@master] CentralAuthSessionManager: Migrate session metrics to StatsLib

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

DAlangi_WMF changed the task status from Open to In Progress.Mar 19 2024, 6:32 PM
DAlangi_WMF triaged this task as Medium priority.

Change #1012734 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] CentralAuthSessionManager: Migrate session metrics to StatsLib

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