2019-10-21 14:50:16 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"title": "Job metric data",
|
|
|
|
"description": "Metric data of a HPC job",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"unit": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"scope": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"node",
|
2021-11-29 10:26:00 +01:00
|
|
|
"hwthread",
|
2021-12-02 10:45:01 +01:00
|
|
|
"core",
|
|
|
|
"memoryDomain",
|
2021-11-29 10:26:00 +01:00
|
|
|
"die",
|
2021-11-26 09:15:50 +01:00
|
|
|
"socket",
|
2021-11-29 10:26:00 +01:00
|
|
|
"accelerator"
|
2019-10-21 14:50:16 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"timestep": {
|
|
|
|
"description": "Measurement interval in seconds",
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-03-24 10:08:53 +01:00
|
|
|
"thresholds": {
|
|
|
|
"description": "Metric thresholds for specific system",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"peak": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"normal": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"caution": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"alert": {
|
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-10-21 14:50:16 +02:00
|
|
|
"series": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2021-11-26 09:15:50 +01:00
|
|
|
"hostname": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"statistics": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"avg": {
|
|
|
|
"description": "Series average",
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"min": {
|
|
|
|
"description": "Series minimum",
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"max": {
|
|
|
|
"description": "Series maximum",
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"avg",
|
|
|
|
"min",
|
|
|
|
"max"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"data": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2021-11-26 09:15:50 +01:00
|
|
|
"hostname",
|
2019-10-21 14:50:16 +02:00
|
|
|
"data"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"unit",
|
|
|
|
"scope",
|
|
|
|
"timestep",
|
|
|
|
"series"
|
|
|
|
]
|
|
|
|
}
|