Skip to content

Commit

Permalink
add update every to json schema (#17613)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsaou committed May 8, 2024
1 parent 2d5546f commit 6252de6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/health/schema.d/health:alert:prototype.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,13 @@
"type": "string",
"title": "Unit",
"description": "of measurement"
},
"update_every": {
"type": "integer",
"default": 10,
"minimum": 1,
"title": "Frequency",
"description": "of evaluation"
}
}
},
Expand Down Expand Up @@ -590,11 +597,15 @@
},
"calculation": {
"ui:help": "The database value is available as '$this'. This expression can utilize variables to transform the value of the alert.",
"ui:classNames": "dyncfg-grid-col-span-1-5",
"ui:classNames": "dyncfg-grid-col-span-1-4",
"ui:placeholder": "$this * 1"
},
"units": {
"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.",
"ui:classNames": "dyncfg-grid-col-span-5-1"
},
"update_every": {
"ui:help": "The frequency this alarm is to be evaluated, in seconds.",
"ui:classNames": "dyncfg-grid-col-span-6-1"
}
},
Expand Down

0 comments on commit 6252de6

Please sign in to comment.