MetricThresholdFilter
less than a minute
Defines a filter that compares a run metric against a user-defined threshold value.
Attributes:
- agg (Optional): Aggregate operation, if any, to apply over the window size.
- cmp (Literal): Comparison operator used to compare the metric value (left) vs. the threshold value (right).
- name (str): Name of the observed metric.
- threshold (Union): Threshold value to compare against.
- window (int): Size of the window over which the metric is aggregated (ignored if
agg is None
).
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.