Skip to content

RuleGroupBuilder🔗

Constructor🔗

new RuleGroupBuilder(string $title)

Methods🔗

build🔗

Builds the object.

build()

folderUid🔗

folderUid(string $folderUid)

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(int $interval)

rules🔗

@param array<\Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Alerting\Rule>> $rules

rules(array $rules)

title🔗

title(string $title)

withRule🔗

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Alerting\Rule> $rule

withRule(\Grafana\Foundation\Cog\Builder $rule)

See also🔗