public enum OutlierEjectionType extends Enum<OutlierEjectionType> implements com.google.protobuf.ProtocolMessageEnum
Type of ejection that took placeProtobuf enum
envoy.data.cluster.v2alpha.OutlierEjectionType| Enum Constant and Description |
|---|
CONSECUTIVE_5XX
In case upstream host returns certain number of consecutive 5xx.
|
CONSECUTIVE_GATEWAY_FAILURE
In case upstream host returns certain number of consecutive gateway errors
CONSECUTIVE_GATEWAY_FAILURE = 1; |
CONSECUTIVE_LOCAL_ORIGIN_FAILURE
Consecutive local origin failures: Connection failures, resets, timeouts, etc
This type of ejection happens only when
:ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
is set to *true*.
|
FAILURE_PERCENTAGE
Runs over aggregated success rate statistics from every host in cluster and selects hosts for
which ratio of failed replies is above configured value.
|
FAILURE_PERCENTAGE_LOCAL_ORIGIN
Runs over aggregated success rate statistics for local origin failures from every host in
cluster and selects hosts for which ratio of failed replies is above configured value.
|
SUCCESS_RATE
Runs over aggregated success rate statistics from every host in cluster
and selects hosts for which ratio of successful replies deviates from other hosts
in the cluster.
|
SUCCESS_RATE_LOCAL_ORIGIN
Runs over aggregated success rate statistics for local origin failures
for all hosts in the cluster and selects hosts for which success rate deviates from other
hosts in the cluster.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSECUTIVE_5XX_VALUE
In case upstream host returns certain number of consecutive 5xx.
|
static int |
CONSECUTIVE_GATEWAY_FAILURE_VALUE
In case upstream host returns certain number of consecutive gateway errors
CONSECUTIVE_GATEWAY_FAILURE = 1; |
static int |
CONSECUTIVE_LOCAL_ORIGIN_FAILURE_VALUE
Consecutive local origin failures: Connection failures, resets, timeouts, etc
This type of ejection happens only when
:ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>`
is set to *true*.
|
static int |
FAILURE_PERCENTAGE_LOCAL_ORIGIN_VALUE
Runs over aggregated success rate statistics for local origin failures from every host in
cluster and selects hosts for which ratio of failed replies is above configured value.
|
static int |
FAILURE_PERCENTAGE_VALUE
Runs over aggregated success rate statistics from every host in cluster and selects hosts for
which ratio of failed replies is above configured value.
|
static int |
SUCCESS_RATE_LOCAL_ORIGIN_VALUE
Runs over aggregated success rate statistics for local origin failures
for all hosts in the cluster and selects hosts for which success rate deviates from other
hosts in the cluster.
|
static int |
SUCCESS_RATE_VALUE
Runs over aggregated success rate statistics from every host in cluster
and selects hosts for which ratio of successful replies deviates from other hosts
in the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
static OutlierEjectionType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<OutlierEjectionType> |
internalGetValueMap() |
static OutlierEjectionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OutlierEjectionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OutlierEjectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutlierEjectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutlierEjectionType CONSECUTIVE_5XX
In case upstream host returns certain number of consecutive 5xx. If :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *false*, all type of errors are treated as HTTP 5xx errors. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
CONSECUTIVE_5XX = 0;public static final OutlierEjectionType CONSECUTIVE_GATEWAY_FAILURE
In case upstream host returns certain number of consecutive gateway errors
CONSECUTIVE_GATEWAY_FAILURE = 1;public static final OutlierEjectionType SUCCESS_RATE
Runs over aggregated success rate statistics from every host in cluster and selects hosts for which ratio of successful replies deviates from other hosts in the cluster. If :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *false*, all errors (externally and locally generated) are used to calculate success rate statistics. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
SUCCESS_RATE = 2;public static final OutlierEjectionType CONSECUTIVE_LOCAL_ORIGIN_FAILURE
Consecutive local origin failures: Connection failures, resets, timeouts, etc This type of ejection happens only when :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is set to *true*. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
CONSECUTIVE_LOCAL_ORIGIN_FAILURE = 3;public static final OutlierEjectionType SUCCESS_RATE_LOCAL_ORIGIN
Runs over aggregated success rate statistics for local origin failures for all hosts in the cluster and selects hosts for which success rate deviates from other hosts in the cluster. This type of ejection happens only when :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is set to *true*. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
SUCCESS_RATE_LOCAL_ORIGIN = 4;public static final OutlierEjectionType FAILURE_PERCENTAGE
Runs over aggregated success rate statistics from every host in cluster and selects hosts for which ratio of failed replies is above configured value.
FAILURE_PERCENTAGE = 5;public static final OutlierEjectionType FAILURE_PERCENTAGE_LOCAL_ORIGIN
Runs over aggregated success rate statistics for local origin failures from every host in cluster and selects hosts for which ratio of failed replies is above configured value.
FAILURE_PERCENTAGE_LOCAL_ORIGIN = 6;public static final OutlierEjectionType UNRECOGNIZED
public static final int CONSECUTIVE_5XX_VALUE
In case upstream host returns certain number of consecutive 5xx. If :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *false*, all type of errors are treated as HTTP 5xx errors. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
CONSECUTIVE_5XX = 0;public static final int CONSECUTIVE_GATEWAY_FAILURE_VALUE
In case upstream host returns certain number of consecutive gateway errors
CONSECUTIVE_GATEWAY_FAILURE = 1;public static final int SUCCESS_RATE_VALUE
Runs over aggregated success rate statistics from every host in cluster and selects hosts for which ratio of successful replies deviates from other hosts in the cluster. If :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is *false*, all errors (externally and locally generated) are used to calculate success rate statistics. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for details.
SUCCESS_RATE = 2;public static final int CONSECUTIVE_LOCAL_ORIGIN_FAILURE_VALUE
Consecutive local origin failures: Connection failures, resets, timeouts, etc This type of ejection happens only when :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is set to *true*. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
CONSECUTIVE_LOCAL_ORIGIN_FAILURE = 3;public static final int SUCCESS_RATE_LOCAL_ORIGIN_VALUE
Runs over aggregated success rate statistics for local origin failures for all hosts in the cluster and selects hosts for which success rate deviates from other hosts in the cluster. This type of ejection happens only when :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` is set to *true*. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for
SUCCESS_RATE_LOCAL_ORIGIN = 4;public static final int FAILURE_PERCENTAGE_VALUE
Runs over aggregated success rate statistics from every host in cluster and selects hosts for which ratio of failed replies is above configured value.
FAILURE_PERCENTAGE = 5;public static final int FAILURE_PERCENTAGE_LOCAL_ORIGIN_VALUE
Runs over aggregated success rate statistics for local origin failures from every host in cluster and selects hosts for which ratio of failed replies is above configured value.
FAILURE_PERCENTAGE_LOCAL_ORIGIN = 6;public static OutlierEjectionType[] values()
for (OutlierEjectionType c : OutlierEjectionType.values()) System.out.println(c);
public static OutlierEjectionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static OutlierEjectionType valueOf(int value)
forNumber(int) instead.public static OutlierEjectionType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OutlierEjectionType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OutlierEjectionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.