cc-specifications/schema/json/cluster.schema.json

120 lines
3.5 KiB
JSON
Raw Normal View History

2019-10-21 14:50:16 +02:00
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "HPC Cluster description",
"description": "Meta data information of a HPC cluster",
"type": "object",
"properties":{
2021-12-16 08:10:36 +01:00
"ClusterId": {
2019-10-21 14:50:16 +02:00
"description": "The unique identifier of a cluster",
"type": "string"
},
2021-12-16 08:10:36 +01:00
"ProcessorType": {
2019-10-21 14:50:16 +02:00
"description": "Processor type",
"type": "string"
},
2021-12-16 08:10:36 +01:00
"SocketsPerNode": {
2019-10-21 14:50:16 +02:00
"description": "Number of sockets per node",
"type": "integer"
},
2021-12-16 08:10:36 +01:00
"CoresPerSocket": {
2019-10-21 14:50:16 +02:00
"description": "Number of cores per socket",
"type": "integer"
},
2021-12-16 08:10:36 +01:00
"ThreadsPerCore": {
2019-10-21 14:50:16 +02:00
"description": "Number of SMT threads per core",
"type": "integer"
},
2021-12-16 08:10:36 +01:00
"FlopRateScalar": {
"description": "Theoretical node peak flop rate for scalar code in GFlops/s",
2019-10-21 14:50:16 +02:00
"type": "integer"
},
2021-12-16 08:10:36 +01:00
"FlopRateSimd": {
"description": "Theoretical node peak flop rate for SIMD code in GFlops/s",
2019-10-21 14:50:16 +02:00
"type": "integer"
},
2021-12-16 08:10:36 +01:00
"MemoryBandwidth": {
"description": "Theoretical node peak memory bandwidth in GB/s",
2019-10-21 14:50:16 +02:00
"type": "integer"
},
2021-12-16 08:10:36 +01:00
"MetricDataRepository": {
"description": "Type of the metric data repository for this cluster",
"type": "object",
"properties": {
2021-12-16 08:10:36 +01:00
"Kind": {
"type": "string",
"enum": [
"influxdb-v1",
"influxdb-v2",
"prometheus",
"cc-metric-store"
]
},
2021-12-16 08:10:36 +01:00
"Url": {
"type": "string"
},
"Token": {
"type": "string"
}
2021-12-16 08:10:36 +01:00
},
"required": [
"Kind",
"Url"
]
},
2021-12-16 08:10:36 +01:00
"MetricConfig": {
"description": "Metric specifications",
"type": "array",
"items": {
"type": "object",
"properties":{
2021-12-16 08:10:36 +01:00
"Name": {
"description": "Metric name",
"type": "string"
},
2021-12-16 08:10:36 +01:00
"Unit": {
"description": "Metric unit",
"type": "string"
},
2021-12-16 08:10:36 +01:00
"Timestep": {
"description": "Frequency of timeseries points",
"type": "integer"
},
2021-12-16 08:10:36 +01:00
"Peak": {
"type": "number"
},
2021-12-16 08:10:36 +01:00
"Normal": {
"type": "number"
},
2021-12-16 08:10:36 +01:00
"Caution": {
"type": "number"
},
2021-12-16 08:10:36 +01:00
"Alert": {
"type": "number"
}
}
},
"required":[
2021-12-16 08:10:36 +01:00
"Name",
"Unit",
"Timestep",
"Peak",
"Normal",
"Caution",
"Alert"
]
2019-10-21 14:50:16 +02:00
}
},
"required":[
2021-12-16 08:10:36 +01:00
"ClusterId",
"ProcessorType",
"SocketsPerNode",
"CoresPerSocket",
"ThreadsPerCore",
"FlopRateScalar",
"FlopRateSimd",
"MemoryBandwidth",
"MetricDataRepository",
"MetricConfig"
2019-10-21 14:50:16 +02:00
]
}