Replace URL with local refs and small fixes

* Remove stop_time from job meta
* make Unit use unit.schema in cluster.json
This commit is contained in:
Jan Eitzinger 2022-10-06 11:17:48 +02:00
parent 42ff1e33a1
commit 1de04dd30d
6 changed files with 108 additions and 114 deletions

View File

@ -1,5 +1,6 @@
{ {
"$schema": "http://json-schema.org/draft/2020-12/schema", "$schema": "http://json-schema.org/draft/2020-12/schema",
"$id": "cluster.schema.json",
"title": "HPC cluster description", "title": "HPC cluster description",
"description": "Meta data information of a HPC cluster", "description": "Meta data information of a HPC cluster",
"type": "object", "type": "object",
@ -20,7 +21,7 @@
}, },
"unit": { "unit": {
"description": "Metric unit", "description": "Metric unit",
"type": "string" "$ref": "embedfs://unit.schema.json"
}, },
"scope": { "scope": {
"description": "Native measurement resolution", "description": "Native measurement resolution",
@ -37,7 +38,6 @@
"sum", "sum",
"avg" "avg"
] ]
}, },
"subClusters": { "subClusters": {
"description": "Array of cluster hardware partition metric thresholds", "description": "Array of cluster hardware partition metric thresholds",

View File

@ -1,6 +1,6 @@
{ {
"$schema": "http://json-schema.org/draft/2020-12/schema", "$schema": "http://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-data.schema.json", "$id": "job-data.schema.json",
"title": "Job metric data list", "title": "Job metric data list",
"description": "Collection of metric data of a HPC job", "description": "Collection of metric data of a HPC job",
"type": "object", "type": "object",
@ -10,7 +10,7 @@
"type": "object", "type": "object",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -21,19 +21,19 @@
"description": "Total flop rate with DP flops scaled up", "description": "Total flop rate with DP flops scaled up",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"socket": { "socket": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"memoryDomain": { "memoryDomain": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"core": { "core": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"hwthread": { "hwthread": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"minProperties": 1 "minProperties": 1
@ -42,13 +42,13 @@
"description": "Main memory bandwidth", "description": "Main memory bandwidth",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"socket": { "socket": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"memoryDomain": { "memoryDomain": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"minProperties": 1 "minProperties": 1
@ -58,7 +58,7 @@
"type": "object", "type": "object",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -69,19 +69,19 @@
"description": "Instructions executed per cycle", "description": "Instructions executed per cycle",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"socket": { "socket": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"memoryDomain": { "memoryDomain": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"core": { "core": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"hwthread": { "hwthread": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"minProperties": 1 "minProperties": 1
@ -90,19 +90,19 @@
"description": "CPU active core utilization", "description": "CPU active core utilization",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"socket": { "socket": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"memoryDomain": { "memoryDomain": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"core": { "core": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"hwthread": { "hwthread": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"minProperties": 1 "minProperties": 1
@ -111,7 +111,7 @@
"description": "CPU requested core utilization (load 1m)", "description": "CPU requested core utilization (load 1m)",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -122,19 +122,19 @@
"description": "Double precision flop rate", "description": "Double precision flop rate",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"socket": { "socket": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"memoryDomain": { "memoryDomain": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"core": { "core": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"hwthread": { "hwthread": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"minProperties": 1 "minProperties": 1
@ -143,19 +143,19 @@
"description": "Single precision flops rate", "description": "Single precision flops rate",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"socket": { "socket": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"memoryDomain": { "memoryDomain": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"core": { "core": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"hwthread": { "hwthread": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"minProperties": 1 "minProperties": 1
@ -164,19 +164,19 @@
"description": "Fraction of arithmetic instructions using SIMD instructions", "description": "Fraction of arithmetic instructions using SIMD instructions",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"socket": { "socket": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"memoryDomain": { "memoryDomain": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"core": { "core": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"hwthread": { "hwthread": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"minProperties": 1 "minProperties": 1
@ -185,10 +185,10 @@
"description": "CPU power consumption", "description": "CPU power consumption",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"socket": { "socket": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"minProperties": 1 "minProperties": 1
@ -197,10 +197,10 @@
"description": "Memory power consumption", "description": "Memory power consumption",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"socket": { "socket": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"minProperties": 1 "minProperties": 1
@ -209,7 +209,7 @@
"description": "GPU utilization", "description": "GPU utilization",
"properties": { "properties": {
"accelerator": { "accelerator": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -220,7 +220,7 @@
"description": "GPU memory capacity used", "description": "GPU memory capacity used",
"properties": { "properties": {
"accelerator": { "accelerator": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -231,7 +231,7 @@
"description": "GPU power consumption", "description": "GPU power consumption",
"properties": { "properties": {
"accelerator": { "accelerator": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -242,19 +242,19 @@
"description": "Average core frequency", "description": "Average core frequency",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"socket": { "socket": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"memoryDomain": { "memoryDomain": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"core": { "core": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
}, },
"hwthread": { "hwthread": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"minProperties": 1 "minProperties": 1
@ -263,7 +263,7 @@
"description": "Ethernet read bandwidth", "description": "Ethernet read bandwidth",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -274,7 +274,7 @@
"description": "Ethernet write bandwidth", "description": "Ethernet write bandwidth",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -306,7 +306,7 @@
"description": "File system read bandwidth", "description": "File system read bandwidth",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -317,7 +317,7 @@
"description": "File system write bandwidth", "description": "File system write bandwidth",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -328,7 +328,7 @@
"description": "File system read requests", "description": "File system read requests",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -339,7 +339,7 @@
"description": "File system write requests", "description": "File system write requests",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -350,7 +350,7 @@
"description": "File system write requests", "description": "File system write requests",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -361,7 +361,7 @@
"description": "File system open and close", "description": "File system open and close",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -372,7 +372,7 @@
"description": "File system fsync", "description": "File system fsync",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -383,7 +383,7 @@
"description": "File system create", "description": "File system create",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -394,7 +394,7 @@
"description": "File system open", "description": "File system open",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -405,7 +405,7 @@
"description": "File system close", "description": "File system close",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -416,7 +416,7 @@
"description": "File system seek", "description": "File system seek",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -438,7 +438,7 @@
"description": "Network interconnect read packets", "description": "Network interconnect read packets",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -449,7 +449,7 @@
"description": "Network interconnect send packet", "description": "Network interconnect send packet",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -460,7 +460,7 @@
"description": "Network interconnect read bandwidth", "description": "Network interconnect read bandwidth",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [
@ -471,7 +471,7 @@
"description": "Network interconnect write bandwidth", "description": "Network interconnect write bandwidth",
"properties": { "properties": {
"node": { "node": {
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json" "$ref": "job-metric-data.schema.json"
} }
}, },
"required": [ "required": [

View File

@ -1,6 +1,6 @@
{ {
"$schema": "http://json-schema.org/draft/2020-12/schema", "$schema": "http://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-meta.schema.json", "$id": "job-meta.schema.json",
"title": "Job meta data", "title": "Job meta data",
"description": "Meta data information of a HPC job", "description": "Meta data information of a HPC job",
"type": "object", "type": "object",
@ -84,11 +84,6 @@
"type": "integer", "type": "integer",
"exclusiveMinimum": 0 "exclusiveMinimum": 0
}, },
"stopTime": {
"description": "Stop epoch time stamp in seconds",
"type": "integer",
"exclusiveMinimum": 0
},
"duration": { "duration": {
"description": "Duration of job in seconds", "description": "Duration of job in seconds",
"type": "integer", "type": "integer",
@ -172,87 +167,87 @@
"properties": { "properties": {
"mem_used": { "mem_used": {
"description": "Memory capacity used (required)", "description": "Memory capacity used (required)",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"cpu_load": { "cpu_load": {
"description": "CPU requested core utilization (load 1m) (required)", "description": "CPU requested core utilization (load 1m) (required)",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"flops_any": { "flops_any": {
"description": "Total flop rate with DP flops scaled up (required)", "description": "Total flop rate with DP flops scaled up (required)",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"mem_bw": { "mem_bw": {
"description": "Main memory bandwidth (required)", "description": "Main memory bandwidth (required)",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"net_bw": { "net_bw": {
"description": "Total fast interconnect network bandwidth (required)", "description": "Total fast interconnect network bandwidth (required)",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"file_bw": { "file_bw": {
"description": "Total file IO bandwidth (required)", "description": "Total file IO bandwidth (required)",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"ipc": { "ipc": {
"description": "Instructions executed per cycle", "description": "Instructions executed per cycle",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"cpu_used": { "cpu_used": {
"description": "CPU active core utilization", "description": "CPU active core utilization",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"flops_dp": { "flops_dp": {
"description": "Double precision flop rate", "description": "Double precision flop rate",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"flops_sp": { "flops_sp": {
"description": "Single precision flops rate", "description": "Single precision flops rate",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"rapl_power": { "rapl_power": {
"description": "CPU power consumption", "description": "CPU power consumption",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"acc_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": "job-metric-statistics.schema.json"
}, },
"acc_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": "job-metric-statistics.schema.json"
}, },
"acc_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": "job-metric-statistics.schema.json"
}, },
"clock": { "clock": {
"description": "Average core frequency", "description": "Average core frequency",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"eth_read_bw": { "eth_read_bw": {
"description": "Ethernet read bandwidth", "description": "Ethernet read bandwidth",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"eth_write_bw": { "eth_write_bw": {
"description": "Ethernet write bandwidth", "description": "Ethernet write bandwidth",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"ic_rcv_packets": { "ic_rcv_packets": {
"description": "Network interconnect read packets", "description": "Network interconnect read packets",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"ic_send_packets": { "ic_send_packets": {
"description": "Network interconnect send packet", "description": "Network interconnect send packet",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"ic_read_bw": { "ic_read_bw": {
"description": "Network interconnect read bandwidth", "description": "Network interconnect read bandwidth",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"ic_write_bw": { "ic_write_bw": {
"description": "Network interconnect write bandwidth", "description": "Network interconnect write bandwidth",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"filesystems": { "filesystems": {
"description": "Array of filesystems", "description": "Array of filesystems",
@ -277,47 +272,47 @@
}, },
"read_bw": { "read_bw": {
"description": "File system read bandwidth", "description": "File system read bandwidth",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"write_bw": { "write_bw": {
"description": "File system write bandwidth", "description": "File system write bandwidth",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"read_req": { "read_req": {
"description": "File system read requests", "description": "File system read requests",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"write_req": { "write_req": {
"description": "File system write requests", "description": "File system write requests",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"inodes": { "inodes": {
"description": "File system write requests", "description": "File system write requests",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"accesses": { "accesses": {
"description": "File system open and close", "description": "File system open and close",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"fsync": { "fsync": {
"description": "File system fsync", "description": "File system fsync",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"create": { "create": {
"description": "File system create", "description": "File system create",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"open": { "open": {
"description": "File system open", "description": "File system open",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"close": { "close": {
"description": "File system close", "description": "File system close",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
}, },
"seek": { "seek": {
"description": "File system seek", "description": "File system seek",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json" "$ref": "job-metric-statistics.schema.json"
} }
}, },
"required": [ "required": [
@ -349,7 +344,6 @@
"jobState", "jobState",
"duration", "duration",
"resources", "resources",
"tags",
"statistics" "statistics"
] ]
} }

View File

@ -1,13 +1,13 @@
{ {
"$schema": "http://json-schema.org/draft/2020-12/schema", "$schema": "http://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-data.schema.json", "$id": "job-metric-data.schema.json",
"title": "Job metric data", "title": "Job metric data",
"description": "Metric data of a HPC job", "description": "Metric data of a HPC job",
"type": "object", "type": "object",
"properties": { "properties": {
"unit": { "unit": {
"description": "Metric unit", "description": "Metric unit",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/unit.schema.json" "$ref": "unit.schema.json"
}, },
"timestep": { "timestep": {
"description": "Measurement interval in seconds", "description": "Measurement interval in seconds",

View File

@ -1,13 +1,13 @@
{ {
"$schema": "http://json-schema.org/draft/2020-12/schema", "$schema": "http://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/job-metric-statistics.schema.json", "$id": "job-metric-statistics.schema.json",
"title": "Job statistics", "title": "Job statistics",
"description": "Format specification for job metric statistics", "description": "Format specification for job metric statistics",
"type": "object", "type": "object",
"properties": { "properties": {
"unit": { "unit": {
"description": "Metric unit", "description": "Metric unit",
"$ref": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/unit.schema.json" "$ref": "unit.schema.json"
}, },
"avg": { "avg": {
"description": "Job metric average", "description": "Job metric average",

View File

@ -1,11 +1,11 @@
{ {
"$schema": "http://json-schema.org/draft/2020-12/schema", "$schema": "http://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/ClusterCockpit/cc-specifications/master/datastructures/unit.schema.json", "$id": "unit.schema.json",
"title": "Metric unit", "title": "Metric unit",
"description": "Format specification for job metric units", "description": "Format specification for job metric units",
"type": "object", "type": "object",
"properties": { "properties": {
"base_unit": { "base": {
"description": "Metric base unit", "description": "Metric base unit",
"type": "string", "type": "string",
"enum": [ "enum": [
@ -36,6 +36,6 @@
} }
}, },
"required": [ "required": [
"base_unit" "base"
] ]
} }