Skip to content

Latest commit

 

History

History
144 lines (84 loc) · 1.67 KB

File metadata and controls

144 lines (84 loc) · 1.67 KB

rules

Index

Fields

fn newAlert

newAlert(name, expr)

PARAMETERS:

  • name (string)
  • expr (string)

newAlert creates a new alert.

fn newRule

newRule(name, expr)

PARAMETERS:

  • name (string)
  • expr (string)

newRule creates a new recording rule.

fn withAlert

withAlert(value)

PARAMETERS:

  • value (string)

fn withAnnotations

withAnnotations(value)

PARAMETERS:

  • value (object)

fn withAnnotationsMixin

withAnnotationsMixin(value)

PARAMETERS:

  • value (object)

fn withExpr

withExpr(value)

PARAMETERS:

  • value (string)

fn withFor

withFor(value)

PARAMETERS:

  • value (integer)

fn withKeepFiringFor

withKeepFiringFor(value)

PARAMETERS:

  • value (integer)

fn withLabels

withLabels(value)

PARAMETERS:

  • value (object)

fn withLabelsMixin

withLabelsMixin(value)

PARAMETERS:

  • value (object)

fn withRecord

withRecord(value)

PARAMETERS:

  • value (string)