mirror of
https://github.com/ClusterCockpit/cc-specifications.git
synced 2024-11-10 09:47:26 +01:00
Add metric configuration in cluster json schema.
This commit is contained in:
parent
07a3eec1ef
commit
1f8a641a43
@ -35,6 +35,39 @@
|
|||||||
"memory_bandwidth": {
|
"memory_bandwidth": {
|
||||||
"description": "Theorethical node peak memory bandwidth in GB/s",
|
"description": "Theorethical node peak memory bandwidth in GB/s",
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"metric_config": {
|
||||||
|
"description": "Metric specifications",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"properties":{
|
||||||
|
"name": {
|
||||||
|
"description": "Metric name",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"unit": {
|
||||||
|
"description": "Metric unit",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"sampletime": {
|
||||||
|
"description": "Frequency of timeseries points",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"peak": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"normal": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"caution": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"alert": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required":[
|
"required":[
|
||||||
|
Loading…
Reference in New Issue
Block a user