mirror of
https://github.com/ClusterCockpit/cc-specifications.git
synced 2024-11-10 09:47:26 +01:00
103 lines
3.0 KiB
JSON
103 lines
3.0 KiB
JSON
{
|
|
"$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",
|
|
"hwthread",
|
|
"core",
|
|
"memoryDomain",
|
|
"die",
|
|
"socket",
|
|
"accelerator"
|
|
]
|
|
},
|
|
"Timestep": {
|
|
"description": "Measurement interval in seconds",
|
|
"type": "integer"
|
|
},
|
|
"Thresholds": {
|
|
"description": "Metric thresholds for specific system",
|
|
"type": "object",
|
|
"properties": {
|
|
"Peak": {
|
|
"type": "number"
|
|
},
|
|
"Normal": {
|
|
"type": "number"
|
|
},
|
|
"Caution": {
|
|
"type": "number"
|
|
},
|
|
"Alert": {
|
|
"type": "number"
|
|
}
|
|
}
|
|
},
|
|
"Series": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Hostname": {
|
|
"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": [
|
|
"Hostname",
|
|
"Data"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"Unit",
|
|
"Scope",
|
|
"Timestep",
|
|
"Series"
|
|
]
|
|
}
|