mirror of
https://github.com/ClusterCockpit/cc-specifications.git
synced 2025-07-25 14:16:10 +02:00
Extend sql schema. Add thresholds to metric schema
This commit is contained in:
@@ -21,6 +21,24 @@
|
||||
"description": "Measurement interval in seconds",
|
||||
"type": "integer"
|
||||
},
|
||||
"thresholds": {
|
||||
"description": "Metric thresholds for specific system",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"peak": {
|
||||
"type": "number"
|
||||
},
|
||||
"normal": {
|
||||
"type": "number"
|
||||
},
|
||||
"caution": {
|
||||
"type": "number"
|
||||
},
|
||||
"alert": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"series": {
|
||||
"description": "",
|
||||
"type": "array",
|
||||
|
Reference in New Issue
Block a user