RuleGroup
Constructor
Methods
build
Builds the object.
def build() -> alerting.RuleGroup
folder_uid
def folder_uid(folder_uid: str) -> typing.Self
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.
def interval(interval: alerting.Duration) -> typing.Self
rules
def rules(rules: list[cogbuilder.Builder[alerting.Rule]]) -> typing.Self
title
def title(title: str) -> typing.Self
with_rule
def with_rule(rule: cogbuilder.Builder[alerting.Rule]) -> typing.Self
See also