Page MenuHomePhabricator

Migrate GrowthExperiments.UserVariant, GrowthExperiments.UsersNotOptedIntoGrowthFeatures & GrowthExperiments.UsersOptedIntoGrowthFeatures Module to statslib
Open, HighPublic

Description

The Stats library (added in MW 1.41) attempts to better define the interface for generating metrics in MediaWiki. See Manual

As part of ensuring the whole of GrowthExperiments is using the Stats Library(Statslib) we should migrate the highlighted areas in GrowthExperiments.UserVariant, GrowthExperiments.UsersNotOptedIntoGrowthFeatures & GrowthExperiments.UsersOptedIntoGrowthFeatures

Please follow the guidelines and standards outlined in the provided documentation:

Acceptance Criteria
Update Affected Areas

  • MediaWiki.$wiki.GrowthExperiments.UsersNotOptedIntoGrowthFeatures.sum
  • MediaWiki.$wiki.GrowthExperiments.UsersOptedIntoGrowthFeatures.sum
  • MediaWiki.$wiki.GrowthExperiments.UserVariant.$variant.sum
  • MediaWiki.*.GrowthExperiments.UserVariant.*
  • MediaWiki.*.GrowthExperiments.UserVariant.*.rate

Deploy and Verify changes

  • Deploy the changes to production.
  • Update the relevant dashboard(s) by replacing the old Graphite metric(s) with the new Prometheus metric(s).
  • Verify that the changes have been successfully implemented(This is nothing complex besides normal functionality and metrics captured are sent to Prometheus are queried from in-use dashboards.)

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.