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": {
|
2021-12-16 08:10:36 +01:00
|
|
|
"Unit": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Scope": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"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
|
|
|
]
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Timestep": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Measurement interval in seconds",
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Thresholds": {
|
2021-03-24 10:08:53 +01:00
|
|
|
"description": "Metric thresholds for specific system",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2021-12-16 08:10:36 +01:00
|
|
|
"Peak": {
|
2021-03-24 10:08:53 +01:00
|
|
|
"type": "number"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Normal": {
|
2021-03-24 10:08:53 +01:00
|
|
|
"type": "number"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Caution": {
|
2021-03-24 10:08:53 +01:00
|
|
|
"type": "number"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Alert": {
|
2021-03-24 10:08:53 +01:00
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Series": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2021-12-16 08:10:36 +01:00
|
|
|
"Hostname": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Id": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Statistics": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2021-12-16 08:10:36 +01:00
|
|
|
"Avg": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Series average",
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Min": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Series minimum",
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Max": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Series maximum",
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2021-12-16 08:10:36 +01:00
|
|
|
"Avg",
|
|
|
|
"Min",
|
|
|
|
"Max"
|
2019-10-21 14:50:16 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"data": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2021-12-16 08:10:36 +01:00
|
|
|
"Hostname",
|
|
|
|
"Data"
|
2019-10-21 14:50:16 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2021-12-16 08:10:36 +01:00
|
|
|
"Unit",
|
|
|
|
"Scope",
|
|
|
|
"Timestep",
|
|
|
|
"Series"
|
2019-10-21 14:50:16 +02:00
|
|
|
]
|
|
|
|
}
|