Add metric configuration in cluster json schema.

This commit is contained in:
Jan Eitzinger 2021-04-23 07:14:53 +02:00
parent 07a3eec1ef
commit 1f8a641a43

View File

@ -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":[