Class Trigger (2.11.1)

Stay organized with collections Save and categorize content based on your preferences.
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``.

Inheritance

builtins.object > proto.message.Message > Trigger