instrumentation/statsv

Methods

isEnabled(user, config, experiments) → {boolean}static #

Gets whether Graphite logging (via the statsv HTTP endpoint) is enabled for the duration of the user's session. The bucketing rate is controlled by wgPopupsStatsvSamplingRate.

Parameters:

Name Type Description
user mw.User

The mw.user singleton instance

config mw.Map

The mw.config singleton instance

experiments Experiments
Source:

Returns:

Type
boolean