fn newAlert(name, expr)fn newRule(name, expr)fn withAlert(value)fn withAnnotations(value)fn withAnnotationsMixin(value)fn withExpr(value)fn withFor(value)fn withKeepFiringFor(value)fn withLabels(value)fn withLabelsMixin(value)fn withRecord(value)
newAlert(name, expr)PARAMETERS:
- name (
string) - expr (
string)
newAlert creates a new alert.
newRule(name, expr)PARAMETERS:
- name (
string) - expr (
string)
newRule creates a new recording rule.
withAlert(value)PARAMETERS:
- value (
string)
withAnnotations(value)PARAMETERS:
- value (
object)
withAnnotationsMixin(value)PARAMETERS:
- value (
object)
withExpr(value)PARAMETERS:
- value (
string)
withFor(value)PARAMETERS:
- value (
integer)
withKeepFiringFor(value)PARAMETERS:
- value (
integer)
withLabels(value)PARAMETERS:
- value (
object)
withLabelsMixin(value)PARAMETERS:
- value (
object)
withRecord(value)PARAMETERS:
- value (
string)