Skip to content

OutlierDetection

Source code in docs_src/capo_app_mesh/types/outlier_detection.py
class OutlierDetection(TypedDict, closed=True):
    max_server_errors: "capo_app_mesh.types.outlier_detection_max_server_errors.OutlierDetectionMaxServerErrors"
    """<p>Number of consecutive <code>5xx</code> errors required for ejection. </p>"""
    interval: "capo_app_mesh.types.duration.Duration"
    """<p>The time interval between ejection sweep analysis.</p>"""
    base_ejection_duration: "capo_app_mesh.types.duration.Duration"
    """<p>The base amount of time for which a host is ejected.</p>"""
    max_ejection_percent: "capo_app_mesh.types.outlier_detection_max_ejection_percent.OutlierDetectionMaxEjectionPercent"
    """<p>Maximum percentage of hosts in load balancing pool for upstream service that can be ejected. Will eject at least one host regardless of the value.</p>"""

base_ejection_duration instance-attribute

base_ejection_duration: Duration

The base amount of time for which a host is ejected.

interval instance-attribute

interval: Duration

The time interval between ejection sweep analysis.

max_ejection_percent instance-attribute

max_ejection_percent: OutlierDetectionMaxEjectionPercent

Maximum percentage of hosts in load balancing pool for upstream service that can be ejected. Will eject at least one host regardless of the value.

max_server_errors instance-attribute

Number of consecutive 5xx errors required for ejection.