Manual:$wgStatsdServer

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Profiling</translate>: $wgStatsdServer
A host or host:port of a statsd server.
<translate> Introduced in version:</translate>1.25.0 (Gerrit change 221044; git #Ie1b799a)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(string containing a host, host:port) or false
<translate> Default value:</translate>(see below)

Details

Destination of statsd metrics.

A host or host:port of a statsd server. Port defaults to 8125.

If not set, statsd metrics will not be collected.

Default value

MediaWiki version:
<translate> ≥</translate> 1.26
/**
 * Destination of statsd metrics.
 *
 * A host or host:port of a statsd server. Port defaults to 8125.
 *
 * If not set, statsd metrics will not be collected.
 *
 * @see MediaWiki::emitBufferedStatsdData()
 * @since 1.25
 */
$wgStatsdServer = false;
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.25</tvar> is unsupported version</translate>">
1.25
MediaWiki version:

Used in includes/GlobalFunctions.php, but undefined in DefaultSettings.php.

See also