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-17 06:54:16 +01:00
|
|
|
"unit": {
|
|
|
|
"#ref": "https://github.com/ClusterCockpit/cc-specifications/blob/master/schema/json/unit.schema.json"
|
2019-10-21 14:50:16 +02:00
|
|
|
},
|
2021-12-17 06:54:16 +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-17 06:54:16 +01:00
|
|
|
"timestep": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Measurement interval in seconds",
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-12-17 06:54:16 +01:00
|
|
|
"thresholds": {
|
2021-03-24 10:08:53 +01:00
|
|
|
"description": "Metric thresholds for specific system",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2021-12-17 06:54:16 +01:00
|
|
|
"peak": {
|
2021-03-24 10:08:53 +01:00
|
|
|
"type": "number"
|
|
|
|
},
|
2021-12-17 06:54:16 +01:00
|
|
|
"normal": {
|
2021-03-24 10:08:53 +01:00
|
|
|
"type": "number"
|
|
|
|
},
|
2021-12-17 06:54:16 +01:00
|
|
|
"caution": {
|
2021-03-24 10:08:53 +01:00
|
|
|
"type": "number"
|
|
|
|
},
|
2021-12-17 06:54:16 +01:00
|
|
|
"alert": {
|
2021-03-24 10:08:53 +01:00
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-12-17 09:38:41 +01:00
|
|
|
"statisticsSeries": {
|
|
|
|
"type": "object",
|
|
|
|
"description": "Statistics series across topology",
|
|
|
|
"properties": {
|
|
|
|
"min": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"max": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"mean": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"percentiles": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"10": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"20": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"30": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"40": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"50": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"60": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"70": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"80": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"90": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"25": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
},
|
|
|
|
"75": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"minItems": 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-12-17 06:54:16 +01:00
|
|
|
"series": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2021-12-17 06:54:16 +01:00
|
|
|
"hostname": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-17 06:54:16 +01:00
|
|
|
"id": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-12-17 06:54:16 +01:00
|
|
|
"statistics": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "object",
|
2021-12-17 09:38:41 +01:00
|
|
|
"description": "Statistics across time dimension",
|
2019-10-21 14:50:16 +02:00
|
|
|
"properties": {
|
2021-12-17 06:54:16 +01:00
|
|
|
"avg": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Series average",
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
2021-12-17 06:54:16 +01:00
|
|
|
"min": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Series minimum",
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
2021-12-17 06:54:16 +01:00
|
|
|
"max": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Series maximum",
|
|
|
|
"type": "number",
|
|
|
|
"minimum": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2021-12-17 06:54:16 +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-17 06:54:16 +01:00
|
|
|
"hostname",
|
|
|
|
"data"
|
2019-10-21 14:50:16 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2021-12-17 06:54:16 +01:00
|
|
|
"unit",
|
|
|
|
"scope",
|
|
|
|
"timestep",
|
|
|
|
"series"
|
2019-10-21 14:50:16 +02:00
|
|
|
]
|
|
|
|
}
|