-
Notifications
You must be signed in to change notification settings - Fork 380
collectors MountStatsCollector
Rob Smith edited this page Sep 16, 2014
·
5 revisions
The function of MountStatsCollector is to parse the detailed per-mount NFS
performance statistics provided by /proc/self/mountstats (reads, writes,
remote procedure call count/latency, etc.) and provide counters to Diamond.
Filesystems may be included/excluded using a regular expression filter,
like the existing disk check collectors.
- /proc/self/mountstats
Options - Generic Options
| Setting | Default | Description | Type |
|---|---|---|---|
| byte_unit | byte | Default numeric output(s) | str |
| enabled | False | Enable collecting these metrics | str |
| exclude_filters | , | A list of regex patterns. Any filesystem matching any of these patterns will be excluded from mount stats metrics collection. | list |
| include_filters | , | A list of regex patterns. Any filesystem matching any of these patterns will be included from mount stats metrics collection. | list |
| measure_collector_time | False | Collect the collector run time in ms | bool |
| metrics_blacklist | None | Regex to match metrics to block. Mutually exclusive with metrics_whitelist | NoneType |
| metrics_whitelist | None | Regex to match metrics to transmit. Mutually exclusive with metrics_blacklist | NoneType |
| sudo_cmd | /usr/bin/sudo | Path to sudo | str |
| use_sudo | False | Use sudo? | bool |
__EXAMPLESHERE__