Skip to content

RuleGroupBuilder🔗

Constructor🔗

new RuleGroupBuilder(title: string)

Methods🔗

build🔗

Builds the object.

build()

folderUid🔗

folderUid(folderUid: string)

interval🔗

The interval, in seconds, at which all rules in the group are evaluated.

If a group contains many rules, the rules are evaluated sequentially.

interval(interval: alerting.Duration)

rules🔗

rules(rules: cog.Builder<alerting.Rule>[])

title🔗

title(title: string)

withRule🔗

withRule(rule: cog.Builder<alerting.Rule>)

See also🔗