@cryptotaxi247 / netdata-1 / commits / 6252de6ad

add update every to json schema (#17613)

Costa Tsaousis committed May 8, 2024 at 10:50 UTC 6252de6add08caaef9dfdee2ea74c4b28a46fd92
1 file changed +12 -1
src/health/schema.d/health:alert:prototype.json
+12 -1
@@ -274,6 +274,13 @@
274 "type": "string",
275 "title": "Unit",
276 "description": "of measurement"
277 + },
278 + "update_every": {
279 + "type": "integer",
280 + "default": 10,
281 + "minimum": 1,
282 + "title": "Frequency",
283 + "description": "of evaluation"
284 }
285 }
286 },
@@ -590,11 +597,15 @@
597 },
598 "calculation": {
599 "ui:help": "The database value is available as '$this'. This expression can utilize variables to transform the value of the alert.",
593 - "ui:classNames": "dyncfg-grid-col-span-1-5",
600 + "ui:classNames": "dyncfg-grid-col-span-1-4",
601 "ui:placeholder": "$this * 1"
602 },
603 "units": {
604 "ui:help": "The unit of measurement the alert value is expressed with. If unset, the units of the instance the alert is attached to will be used.",
605 + "ui:classNames": "dyncfg-grid-col-span-5-1"
606 + },
607 + "update_every": {
608 + "ui:help": "The frequency this alarm is to be evaluated, in seconds.",
609 "ui:classNames": "dyncfg-grid-col-span-6-1"
610 }
611 },