Steps to replicate the issue (include links if applicable):
- Open any article on English Wikipedia
- Open the JavaScript console
- Reload the page
- Observe console output
What happens?:
On (nearly) every page load, the console shows warnings such as:
The stream mediawiki.web_ui_actions is out of sample. No event will be sent MediaWikiMetricsClientLogger.js:19:9 The stream mediawiki.client.session_tick is out of sample. No event will be sent MediaWikiMetricsClientLogger.js:19:9 The stream mediawiki.client.session_tick is out of sample. No event will be sent MediaWikiMetricsClientLogger.js:19:9
These messages appear repeatedly for normal page views and they are logged at warning level. It's a lot of noise and makes it harder for developers to notice other issues or debug other problems.
In addition, the The stream mediawiki.client.session_tick is out of sample. No event will be sent message in particular repeats many times on many pages (a dozen or more times).
It looks like this may have been introduced with this change in December:
https://phabricator.wikimedia.org/rMLMP5a5db741aff46ed45b94e73b3474b51ffe25b849
What should have happened instead?:
This should not generate repeated console messages for normal users on production servers.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
- English Wikipedia
Other information (browser name/version, screenshots, etc.):
- Firefox 147.0.2