From Wikitech
Jump to: navigation, search

webperf is a set of scripts that aggregate/extract (typically EventLogging) data and send it to statsd.


Source code is maintained directly in puppet in the webperf module.

Currently hosted on hafnium.

Each service runs as a systemd unit.

Application logs are kept locally, and can be read via sudo journalctl -u navtiming.



The navtiming service extracts information for the NavigationTiming and SaveTiming schemas from EventLogging.

NavigationTiming is reported to frontend.navtiming in statsd. To see if it's running properly, the frontend.navtiming.responseStart.overall.sample_rate key always has hits (as of 2014-12-22).

SaveTiming get reported to mw.performance.save in statsd. To see if it's running properly, the mw.performance.save.sample_rate key should have hits.


The statsv service forwards data from the Kafka stream for /beacon/statsv web requests to Statsd.

Former services


The mw-js-deprecate metrics come from the 'mw.deprecate' event, as fired by MediaWiki core JavaScript from mw.log.deprecate() using mw.track(). It is then reported via statsv and statsd to the mw.js.deprecate.* namespace in Graphite.

Before Statsv, this information was logged via the DeprecatedUsage schema using EventLogging.


The ve service used to extract information for the Edit schema from EventLogging, and report to Statsd/Graphite under the ve.mwtiming. namespace.

See also