Rule🔗
Constructor🔗
Methods🔗
build🔗
Builds the object.
annotations🔗
condition🔗
exec_err_state🔗
def exec_err_state(exec_err_state: typing.Literal["Alerting", "Error", "OK", "KeepLast"]) -> typing.Self
folder_uid🔗
for_val🔗
The amount of time, in seconds, for which the rule must be breached for the rule to be considered to be Firing.
Before this time has elapsed, the rule is only considered to be Pending.
id_val🔗
is_paused🔗
keep_firing_for🔗
You can set a Keep firing for period to avoid repeated firing-resolving-firing notifications caused by flapping conditions.
Value is in nanoseconds
labels🔗
no_data_state🔗
def no_data_state(no_data_state: typing.Literal["OK", "Alerting", "NoData", "KeepLast"]) -> typing.Self
notification_settings🔗
def notification_settings(notification_settings: cogbuilder.Builder[alerting.NotificationSettings]) -> typing.Self