Like T343022: Configure MediaWiki to use Stats lib in Test Env, this task is complete when MediaWiki is configured to emit metrics towards statsd-exporter in production.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T343020 Converting MediaWiki Metrics to StatsLib | |||
Resolved | colewhite | T343024 Configure MediaWiki to use new StatsLib in production |
Event Timeline
Change 972006 had a related patch set uploaded (by Andrea Denisse; author: Andrea Denisse):
[mediawiki/core@master] MediaWiki.php: Enable all executeTiming metrics to use the new Stats library
Change 983229 had a related patch set uploaded (by Cwhite; author: Cwhite):
[operations/mediawiki-config@master] Configure and enable StatsLib for production
Change 983229 merged by jenkins-bot:
[operations/mediawiki-config@master] Configure and enable StatsLib for production
Mentioned in SAL (#wikimedia-operations) [2023-12-18T14:53:54Z] <urbanecm@deploy2002> Started scap: Backport for [[gerrit:983229|Configure and enable StatsLib for production (T343024)]], [[gerrit:983529|Revert "util.main: Don't use mw.Map(), use a native Map() instead" (T353571 T353076)]]
Mentioned in SAL (#wikimedia-operations) [2023-12-18T14:55:12Z] <urbanecm@deploy2002> cwhite and urbanecm and chlod: Backport for [[gerrit:983229|Configure and enable StatsLib for production (T343024)]], [[gerrit:983529|Revert "util.main: Don't use mw.Map(), use a native Map() instead" (T353571 T353076)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)
Mentioned in SAL (#wikimedia-operations) [2023-12-18T15:04:19Z] <urbanecm@deploy2002> Finished scap: Backport for [[gerrit:983229|Configure and enable StatsLib for production (T343024)]], [[gerrit:983529|Revert "util.main: Don't use mw.Map(), use a native Map() instead" (T353571 T353076)]] (duration: 10m 20s)
Metrics series line up nicely when compared visually:
divideSeries(MediaWiki.action.view.executeTiming.sum, MediaWiki.action.view.executeTiming.count)
and
sum(rate(mediawiki_action_executeTiming_seconds_sum{action="view"}[2m]))/sum(rate(mediawiki_action_executeTiming_seconds_count{action="view"}[2m])) * 1000
Change 972006 merged by jenkins-bot:
[mediawiki/core@master] MediaWiki.php: Enable all executeTiming metrics to use the new Stats library
I'm resolving this one on my understanding that this has already been deployed. Please reopen if that's not the case, and there's work pending. Thanks!