Skip to main content
GitHub source

class MetricZScoreFilter

Filter that compares a metric’s z-score against a user-defined threshold.

method MetricZScoreFilter.__init__

Args:
  • name (str): Name of the observed metric.
  • window (int): Size of the window to calculate the metric mean and standard deviation over.
  • threshold (Union[Annotated, Annotated]): Threshold for the z-score.
  • change_dir (ChangeDir): Direction of the z-score change to watch for.
Returns: An MetricZScoreFilter object.