Extend sql schema. Add thresholds to metric schema

This commit is contained in:
Jan Eitzinger
2021-03-24 10:08:53 +01:00
parent aa5a3daff3
commit d3833cd5f2
3 changed files with 25 additions and 5 deletions

View File

@@ -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",