2021-02-16 16:24:11 +01:00
|
|
|
# cc-metric-collector
|
2021-02-17 14:32:23 +01:00
|
|
|
A node agent for measuring, processing and forwarding node level metrics.
|
|
|
|
|
|
|
|
Open questions:
|
|
|
|
|
|
|
|
* Are hostname unique with a computing center or is it required to store the cluster name in addition to the hostname?
|
|
|
|
* What about memory domain granularity?
|
|
|
|
|
|
|
|
# Configuration
|
|
|
|
|
2021-02-17 14:51:21 +01:00
|
|
|
Configuration is implemented using a single json document that is distributed over network and may be persisted as file.
|
2021-02-17 14:38:44 +01:00
|
|
|
Granularity can be either `node`, or `core`. Frequency can be set on a per measurement basis.
|
|
|
|
Supported metrics are documented [here](https://github.com/ClusterCockpit/cc-specifications/blob/master/metrics/lineprotocol.md).
|
2021-02-17 14:32:23 +01:00
|
|
|
|
|
|
|
``` json
|
|
|
|
{
|
2021-02-17 14:34:43 +01:00
|
|
|
"sink": "db.monitoring.center.de",
|
2021-02-18 10:31:52 +01:00
|
|
|
"report": ["core","node"],
|
|
|
|
"schedule": {
|
|
|
|
"core": {
|
|
|
|
"frequency": 30,
|
|
|
|
"duration": 10},
|
|
|
|
"node":{
|
|
|
|
"frequency": 60,
|
|
|
|
"duration": 20}
|
2021-02-17 14:50:19 +01:00
|
|
|
},
|
2021-02-17 14:34:43 +01:00
|
|
|
"metrics": [
|
|
|
|
"ipc",
|
|
|
|
"flops_any",
|
|
|
|
"clock",
|
|
|
|
"load",
|
|
|
|
"mem_bw",
|
|
|
|
"mem_used",
|
|
|
|
"net_bw",
|
|
|
|
"file_bw"
|
|
|
|
]
|
2021-02-17 14:32:23 +01:00
|
|
|
}
|
|
|
|
```
|