The Stats library (added in MW 1.41) attempts to better define the interface for generating metrics in MediaWiki. [[ https://www.mediawiki.org/wiki/Manual:Stats#Developers | See Manual ]]
As part of ensuring the whole of GrowthExperiments is using the Stats Library(Statslib) we should migrate the highlighted areas in **GrowthExperiments.Mentorship**
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.
**Acceptance Criteria**
//Update Affected Areas//
[ ] MediaWiki.$wiki.GrowthExperiments.Mentorship.AutoMentors
[ ] MediaWiki.$wiki.GrowthExperiments.Mentorship.InactiveMentors
[ ] MediaWiki.$wiki.GrowthExperiments.Mentorship.NewcomerByMentors
[ ] MediaWiki.timing.growthExperiments.updateMenteeData.*.*.mean
[ ] MediaWiki.timing.growthExperiments.updateMenteeData.*.total.mean
//Deploy and Verify changes//
[ ] Deploy the changes to production.
[ ] 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).