mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
28 lines
520 B
Markdown
28 lines
520 B
Markdown
|
|
||
|
## `memstat` collector
|
||
|
|
||
|
```json
|
||
|
"memstat": {
|
||
|
"exclude_metrics": [
|
||
|
"mem_used"
|
||
|
]
|
||
|
}
|
||
|
```
|
||
|
|
||
|
The `memstat` collector reads data from `/proc/meminfo` and outputs a handful **node** metrics. If a metric is not required, it can be excluded from forwarding it to the sink.
|
||
|
|
||
|
|
||
|
Metrics:
|
||
|
* `mem_total`
|
||
|
* `mem_sreclaimable`
|
||
|
* `mem_slab`
|
||
|
* `mem_free`
|
||
|
* `mem_buffers`
|
||
|
* `mem_cached`
|
||
|
* `mem_available`
|
||
|
* `mem_shared`
|
||
|
* `swap_total`
|
||
|
* `swap_free`
|
||
|
* `mem_used` = `mem_total` - (`mem_free` + `mem_buffers` + `mem_cached`)
|
||
|
|