Jump to content

Manual:$wgStatsdSamplingRates/ru

From mediawiki.org
This page is a translated version of the page Manual:$wgStatsdSamplingRates and the translation is 9% complete.
Профилирование: $wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
Введено в версии:1.28.0 (Gerrit change 283091; git #I6f5b053)
Удалено в версии:1.43.0 (Gerrit change 1060491; git #9d439fe6)
Допустимые значения:(array)
Значение по умолчанию:(see below)

Details

  • Patterns are Unix shell patterns (e.g. MediaWiki.api.*).
  • Rates are sampling probabilities (e.g. 0.1 means 1 in 10 events are sampled).

Default value

Версия MediaWiki:
1.35
Gerrit change 657113
$wgStatsdSamplingRates = [];
Версии MediaWiki:
1.31 – 1.35
$wgStatsdSamplingRates = [
	'wanobjectcache:*' => 0.001
];
Версии MediaWiki:
1.28 – 1.30
$wgStatsdSamplingRates = [];

См. также