mirror of
https://github.com/ClusterCockpit/cc-specifications.git
synced 2024-11-10 01:37:25 +01:00
Update cluster.schema.json
Move MetricDataRepository property to cc config file.
This commit is contained in:
parent
5cf89a6a3b
commit
5ea38d5a6c
@ -8,31 +8,6 @@
|
||||
"description": "The unique identifier of a cluster",
|
||||
"type": "string"
|
||||
},
|
||||
"metricDataRepository": {
|
||||
"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"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"url"
|
||||
]
|
||||
},
|
||||
"metricConfig": {
|
||||
"description": "Metric specifications",
|
||||
"type": "array",
|
||||
@ -94,7 +69,6 @@
|
||||
"alert"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
@ -102,6 +76,8 @@
|
||||
"scope",
|
||||
"timestep"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"subClusters": {
|
||||
"description": "Array of cluster hardware partitions",
|
||||
@ -248,12 +224,10 @@
|
||||
},
|
||||
"required":[
|
||||
"name",
|
||||
"metricDataRepository",
|
||||
"metricConfig",
|
||||
"subClusters"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user