Page MenuHomePhabricator

MetricsPlatform: Enable experiment config fetching
Closed, ResolvedPublic1 Estimated Story Points

Description

Background

The Experiment Platform team would like to run a series of tests on logged-in users only. To do this, the MetricsPlatform extension needs to fetch experiment configs from xLab.

AC

Event Timeline

phuedx set the point value for this task to 1.Jun 17 2025, 9:35 AM

Set $wgMetricsPlatformEnableExperimentConfigsFetching to true for enwiki in production

@phuedx: Why is this specific to enwiki, could we not make this true as default? (Our would that bring xLab down from all the wikis fetching the config?) Is the implication that Moderator Tools will need this done for all the specific wikis they plan to conduct their upcoming experiment (T396789) on?

Set $wgMetricsPlatformEnableExperimentConfigsFetching to true for enwiki in production

@phuedx: Why is this specific to enwiki, could we not make this true as default? (Our would that bring xLab down from all the wikis fetching the config?)

Mibad. Nope. xLab returns config for all active experiments for all wikis. We cache that per DC for 1 minute. So we should expect 1 request per minute per DC. I've updated the AC to remove the "for enwiki" bit but I'll also add an AC to monitor xLab after the change is deployed.

Milimetric triaged this task as High priority.
Milimetric moved this task from Incoming to Backlog on the Test Kitchen board.

Change #1165060 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[operations/mediawiki-config@master] Enable experiment configs fetching

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

Change #1165060 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable experiment configs fetching for group 0

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

Mentioned in SAL (#wikimedia-operations) [2025-06-30T20:09:30Z] <cjming@deploy1003> Started scap sync-world: Backport for [[gerrit:1159568|Revert "Add scrambled: password class" (T395360 T395372)]], [[gerrit:1165060|Enable experiment configs fetching for group 0 (T397144)]]

Mentioned in SAL (#wikimedia-operations) [2025-06-30T20:11:27Z] <cjming@deploy1003> cjming, tgr: Backport for [[gerrit:1159568|Revert "Add scrambled: password class" (T395360 T395372)]], [[gerrit:1165060|Enable experiment configs fetching for group 0 (T397144)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-06-30T20:19:27Z] <cjming@deploy1003> Finished scap sync-world: Backport for [[gerrit:1159568|Revert "Add scrambled: password class" (T395360 T395372)]], [[gerrit:1165060|Enable experiment configs fetching for group 0 (T397144)]] (duration: 09m 57s)