Class Trigger (2.18.0)

Trigger(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a {count: 1} trigger is used.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
count int
The absolute number of time series that must fail the predicate for the condition to be triggered. This field is a member of oneof_ type.
percent float
The percentage of time series that must fail the predicate for the condition to be triggered. This field is a member of oneof_ type.