Manual:$wgStatsdSamplingRates/pl

From Linux Web Expert

<translate> Profiling</translate>: $wgStatsdSamplingRates
Sampling rate for statsd metrics as an associative array of patterns and rates.
<translate> Introduced in version:</translate>1.28.0 (Gerrit change 283091; git #I6f5b053)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(array)
<translate> Default value:</translate>(patrz poniżej)

Szczegóły

  • 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

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.35
Gerrit change 657113
<translate> MediaWiki version:</translate>
$wgStatsdSamplingRates = [];
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.35</tvar> is unsupported version</translate>">
1.31 – 1.35
<translate> MediaWiki versions:</translate>
$wgStatsdSamplingRates = [
	'wanobjectcache:*' => 0.001
];
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.30</tvar> is unsupported version</translate>">
1.28 – 1.30
<translate> MediaWiki versions:</translate>
$wgStatsdSamplingRates = [];

Zobacz też