class MetricThresholdFilter
Filter that compares an absolute metric value against a user-defined threshold.
The value may be a single value or an aggregated result over a window of
multiple values.
method MetricThresholdFilter.__init__
name(str):agg(Optional[Agg]):window(int):cmp(Literal[‘gt’, ‘lte’]): Comparison operator between the metric value (left) vs. the threshold (right).threshold(Union[Annotated, Annotated]):
MetricThresholdFilter object.