Update and fix schema

This commit is contained in:
Jan Eitzinger 2022-09-21 15:24:48 +02:00
parent 357c7b92f9
commit 42ff1e33a1
4 changed files with 12 additions and 9 deletions

View File

@ -77,7 +77,8 @@
"scope", "scope",
"timestep" "timestep"
] ]
} },
"minItems": 1
}, },
"subClusters": { "subClusters": {
"description": "Array of cluster hardware partitions", "description": "Array of cluster hardware partitions",
@ -222,7 +223,8 @@
"flopRateSimd", "flopRateSimd",
"memoryBandwidth" "memoryBandwidth"
] ]
} },
"minItems": 1
} }
}, },
"required":[ "required":[

View File

@ -214,15 +214,15 @@
"description": "CPU power consumption", "description": "CPU power consumption",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json"
}, },
"gpu_used": { "acc_used": {
"description": "GPU utilization", "description": "GPU utilization",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json"
}, },
"gpu_mem_used": { "acc_mem_used": {
"description": "GPU memory capacity used", "description": "GPU memory capacity used",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json"
}, },
"gpu_power": { "acc_power": {
"description": "GPU power consumption", "description": "GPU power consumption",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json"
}, },

View File

@ -163,7 +163,7 @@
"type": "string" "type": "string"
}, },
"id": { "id": {
"type": "integer" "type": "string"
}, },
"statistics": { "statistics": {
"type": "object", "type": "object",

View File

@ -15,10 +15,11 @@
"F/s", "F/s",
"CPI", "CPI",
"IPC", "IPC",
"cpu_used", "load",
"cpu_load",
"Hz", "Hz",
"W" "W",
"°C",
""
] ]
}, },
"prefix": { "prefix": {