OnRunMetric
less than a minute
class OnRunMetric
A run metric satisfies a user-defined condition.
method OnRunMetric.__init__
__init__(
event_type: 'Literal[RUN_METRIC_THRESHOLD, RUN_METRIC_CHANGE]',
scope: 'ProjectScope',
filter: 'RunMetricFilter'
) → None
Args:
event_type
(Literal[RUN_METRIC_THRESHOLD, RUN_METRIC_CHANGE]):scope
(ProjectScope): The scope of the event: only projects are valid scopes for this event.filter
(RunMetricFilter): Run and/or metric condition(s) that must be satisfied for this event to trigger an automation.
Returns:
An OnRunMetric
object.
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.