class MetricThresholdFilter
Filter that compares a metric value against a user-defined threshold.
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.