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) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
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
<translate> ≥</translate> 1.35
Gerrit change 657113<translate> MediaWiki version:</translate> |
$wgStatsdSamplingRates = [];
1.31 – 1.35
<translate> MediaWiki versions:</translate> |
$wgStatsdSamplingRates = [
'wanobjectcache:*' => 0.001
];
1.28 – 1.30
<translate> MediaWiki versions:</translate> |
$wgStatsdSamplingRates = [];