mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
Add collector documentation
This commit is contained in:
parent
cc86fc00a0
commit
fcc25f7d30
10
collectors/cpufreqCpuinfoMetric.md
Normal file
10
collectors/cpufreqCpuinfoMetric.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
## `cpufreq_cpuinfo` collector
|
||||||
|
```json
|
||||||
|
"cpufreq_cpuinfo": {}
|
||||||
|
```
|
||||||
|
|
||||||
|
The `cpufreq_cpuinfo` collector reads the clock frequency from `/proc/cpuinfo` and outputs a handful **cpu** metrics.
|
||||||
|
|
||||||
|
Metrics:
|
||||||
|
* `cpufreq`
|
11
collectors/cpufreqMetric.md
Normal file
11
collectors/cpufreqMetric.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
## `cpufreq_cpuinfo` collector
|
||||||
|
```json
|
||||||
|
"cpufreq": {
|
||||||
|
"exclude_metrics": []
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
The `cpufreq` collector reads the clock frequency from `/sys/devices/system/cpu/cpu*/cpufreq` and outputs a handful **cpu** metrics.
|
||||||
|
|
||||||
|
Metrics:
|
||||||
|
* `cpufreq`
|
15
collectors/numastatsMetric.md
Normal file
15
collectors/numastatsMetric.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
## `numastat` collector
|
||||||
|
```json
|
||||||
|
"numastat": {}
|
||||||
|
```
|
||||||
|
|
||||||
|
The `numastat` collector reads data from `/sys/devices/system/node/node*/numastat` and outputs a handful **memoryDomain** metrics. See: https://www.kernel.org/doc/html/latest/admin-guide/numastat.html
|
||||||
|
|
||||||
|
Metrics:
|
||||||
|
* `numastats_numa_hit`: A process wanted to allocate memory from this node, and succeeded.
|
||||||
|
* `numastats_numa_miss`: A process wanted to allocate memory from another node, but ended up with memory from this node.
|
||||||
|
* `numastats_numa_foreign`: A process wanted to allocate on this node, but ended up with memory from another node.
|
||||||
|
* `numastats_local_node`: A process ran on this node's CPU, and got memory from this node.
|
||||||
|
* `numastats_other_node`: A process ran on a different node's CPU, and got memory from this node.
|
||||||
|
* `numastats_interleave_hit`: Interleaving wanted to allocate from this node and succeeded.
|
Loading…
Reference in New Issue
Block a user