MetricBoundaryCondition Class

MetricBoundaryCondition.

Inheritance
builtins.object
MetricBoundaryCondition

Constructor

MetricBoundaryCondition(direction: Union[str, AnomalyDetectorDirection], **kwargs: Any)

Parameters

direction
str or AnomalyDetectorDirection
Required

Required. value filter direction. Possible values include: "Both", "Down", "Up".

lower
float

lower bound should be specified when direction is Both or Down.

upper
float

upper bound should be specified when direction is Both or Up.

companion_metric_id
str

the other metric unique id used for value filter.

trigger_for_missing
bool

trigger alert when the corresponding point is missing in the other metric should be specified only when using other metric to filter.