Rework schema

* Change cpu to hwthread and gpu to accelerator
* Change sampletime to timestep
* Add Metric Data repository to cluster
This commit is contained in:
Jan Eitzinger 2021-11-29 10:26:00 +01:00
parent 84897cee04
commit 344fc6fdef
5 changed files with 45 additions and 13 deletions

View File

@ -36,6 +36,24 @@
"description": "Theoretical node peak memory bandwidth in GB/s",
"type": "integer"
},
"metric_data_repository": {
"description": "Type of the metric data repository for this cluster",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"influxdb-v1",
"influxdb-v2",
"prometheus",
"cc-metric-store"
]
},
"url": {
"type": "string"
}
}
},
"metric_config": {
"description": "Metric specifications",
"type": "array",
@ -50,7 +68,7 @@
"description": "Metric unit",
"type": "string"
},
"sampletime": {
"timestep": {
"description": "Frequency of timeseries points",
"type": "integer"
},
@ -67,7 +85,16 @@
"type": "number"
}
}
}
},
"required":[
"name",
"unit",
"timestep",
"peak",
"normal",
"caution",
"alert"
]
}
},
"required":[
@ -78,6 +105,8 @@
"threads_per_core",
"flop_rate_scalar",
"flop_rate_simd",
"memory_bandwidth"
"memory_bandwidth",
"metric_data_repository",
"metric_config"
]
}

View File

@ -126,6 +126,7 @@
}
},
"required": [
"cpu_used",
"mem_used",
"flops_any",
"mem_bw",

View File

@ -24,7 +24,7 @@
"description": "The queue to which the job was submitted",
"type": "string"
},
"array_id": {
"array_job_id": {
"description": "The unique identifier of an array job",
"type": "integer"
},
@ -38,14 +38,14 @@
"type": "integer",
"exclusiveMinimum": 0
},
"num_gpus": {
"description": "Number of GPUs used",
"num_accelerators": {
"description": "Number of accelerators used",
"type": "integer",
"exclusiveMinimum": 0
},
"exclusive": {
"description": "Job uses only exclusive nodes",
"type": "boolean"
"type": "integer"
},
"smt": {
"description": "Job uses smt feature",
@ -91,16 +91,16 @@
"hostname": {
"type": "string"
},
"cpus": {
"hwthreads": {
"type": "array",
"description": "List of OS processor ids",
"items": {
"type": "integer"
}
},
"gpus": {
"accelerators": {
"type": "array",
"description": "List of of gpu device addresses",
"description": "List of of accelerator device addresses",
"items": {
"type": "integer"
}

View File

@ -11,9 +11,11 @@
"type": "string",
"enum": [
"node",
"cpu",
"hwthread",
"memory",
"die",
"socket",
"gpu"
"accelerator"
]
},
"timestep": {

View File

@ -14,7 +14,7 @@
"F/s",
"CPI",
"IPC",
"Hz",
"Hz"
]
},
"prefix": {