| Profiling: $wgStatsdSamplingRates | |
|---|---|
| Sampling rate for statsd metrics as an associative array of patterns and rates. |
|
| Introduced in version: | 1.28.0 (Gerrit change 283091; git #I6f5b053) |
| Removed in version: | still in use |
| Allowed values: | (array) |
| Default value: | (see below) |
| Other settings: Alphabetical | By function | |
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 version: | ≥ 1.35 Gerrit change 657113 |
$wgStatsdSamplingRates = [];
| MediaWiki versions: | 1.31 – 1.35 |
$wgStatsdSamplingRates = [
'wanobjectcache:*' => 0.001
];
| MediaWiki versions: | 1.28 – 1.30 |
$wgStatsdSamplingRates = [];
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.