Restructure specs.

Add line protocol description with supported metrics.
Adapt sqlite job schema.
This commit is contained in:
Jan Eitzinger
2021-02-17 14:13:50 +01:00
parent ce8ae9ff38
commit aa5a3daff3
8 changed files with 37 additions and 2 deletions

35
metrics/lineprotocol.md Normal file
View File

@@ -0,0 +1,35 @@
# Overview
ClusterCockpit uses the InfluxData line-protocol for collecting the node metric
data.
```
<measurement>,<tag set> <field set> <timestamp [s]>
```
Supported measurements:
* node Tags: host, cpu
* socket Tags: host, socket
* cpu -- Tags: host, cpu
## Supported node level fields
* `load`
* `mem_used`
* `net_bw` - split into `ib_bw` and `eth_bw` if required
* `file_bw` - split into multiple file systems if required
## Supported socket fields
All socket metrics can be aggregated to coarser granularity.
* `power`
* `mem_bw`
## Supported cpu level fields
All cpu metrics can be aggregated to coarser granularity.
* `ipc`
* `flops_any`
* `clock`