Class OutlierDetection
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.cluster.v3.OutlierDetection
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,OutlierDetectionOrBuilder
,Serializable
public final class OutlierDetection
extends com.google.protobuf.GeneratedMessage
implements OutlierDetectionOrBuilder
See the :ref:`architecture overview <arch_overview_outlier_detection>` for more information on outlier detection. [#next-free-field: 26]Protobuf type
envoy.config.cluster.v3.OutlierDetection
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
See the :ref:`architecture overview <arch_overview_outlier_detection>` for more information on outlier detection.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
private com.google.protobuf.BoolValue
static final int
private com.google.protobuf.Duration
private int
static final int
static final int
static final int
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
private static final OutlierDetection
static final int
static final int
static final int
static final int
static final int
static final int
static final int
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
static final int
static final int
static final int
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
private com.google.protobuf.Duration
static final int
static final int
static final int
static final int
private com.google.protobuf.UInt32Value
private com.google.protobuf.Duration
private com.google.protobuf.Duration
private byte
private List
<TypedExtensionConfig> static final int
private static final com.google.protobuf.Parser
<OutlierDetection> private static final long
static final int
private boolean
static final int
static final int
static final int
static final int
private com.google.protobuf.BoolValue
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
private com.google.protobuf.UInt32Value
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
OutlierDetection
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.protobuf.BoolValue
If enabled, at least one host is ejected regardless of the value of :ref:`max_ejection_percent<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_percent>`.com.google.protobuf.BoolValueOrBuilder
If enabled, at least one host is ejected regardless of the value of :ref:`max_ejection_percent<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_percent>`.com.google.protobuf.Duration
The base time that a host is ejected for.com.google.protobuf.DurationOrBuilder
The base time that a host is ejected for.com.google.protobuf.UInt32Value
The number of consecutive server-side error responses (for HTTP traffic, 5xx responses; for TCP traffic, connection failures; for Redis, failure to respond PONG; etc.) before a consecutive 5xx ejection occurs.com.google.protobuf.UInt32ValueOrBuilder
The number of consecutive server-side error responses (for HTTP traffic, 5xx responses; for TCP traffic, connection failures; for Redis, failure to respond PONG; etc.) before a consecutive 5xx ejection occurs.com.google.protobuf.UInt32Value
The number of consecutive gateway failures (502, 503, 504 status codes) before a consecutive gateway failure ejection occurs.com.google.protobuf.UInt32ValueOrBuilder
The number of consecutive gateway failures (502, 503, 504 status codes) before a consecutive gateway failure ejection occurs.com.google.protobuf.UInt32Value
The number of consecutive locally originated failures before ejection occurs.com.google.protobuf.UInt32ValueOrBuilder
The number of consecutive locally originated failures before ejection occurs.static OutlierDetection
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.UInt32Value
The % chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx.com.google.protobuf.UInt32ValueOrBuilder
The % chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx.com.google.protobuf.UInt32Value
The % chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures.com.google.protobuf.UInt32ValueOrBuilder
The % chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures.com.google.protobuf.UInt32Value
The % chance that a host will be actually ejected when an outlier status is detected through consecutive locally originated failures.com.google.protobuf.UInt32ValueOrBuilder
The % chance that a host will be actually ejected when an outlier status is detected through consecutive locally originated failures.com.google.protobuf.UInt32Value
The % chance that a host will be actually ejected when an outlier status is detected through failure percentage statistics.com.google.protobuf.UInt32Value
The % chance that a host will be actually ejected when an outlier status is detected through local-origin failure percentage statistics.com.google.protobuf.UInt32ValueOrBuilder
The % chance that a host will be actually ejected when an outlier status is detected through local-origin failure percentage statistics.com.google.protobuf.UInt32ValueOrBuilder
The % chance that a host will be actually ejected when an outlier status is detected through failure percentage statistics.com.google.protobuf.UInt32Value
The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics for locally originated errors.com.google.protobuf.UInt32ValueOrBuilder
The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics for locally originated errors.com.google.protobuf.UInt32Value
The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics.com.google.protobuf.UInt32ValueOrBuilder
The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics.com.google.protobuf.UInt32Value
The minimum number of hosts in a cluster in order to perform failure percentage-based ejection.com.google.protobuf.UInt32ValueOrBuilder
The minimum number of hosts in a cluster in order to perform failure percentage-based ejection.com.google.protobuf.UInt32Value
The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to perform failure percentage-based ejection for this host.com.google.protobuf.UInt32ValueOrBuilder
The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to perform failure percentage-based ejection for this host.com.google.protobuf.UInt32Value
The failure percentage to use when determining failure percentage-based outlier detection.com.google.protobuf.UInt32ValueOrBuilder
The failure percentage to use when determining failure percentage-based outlier detection.com.google.protobuf.Duration
The time interval between ejection analysis sweeps.com.google.protobuf.DurationOrBuilder
The time interval between ejection analysis sweeps.com.google.protobuf.UInt32Value
The maximum % of an upstream cluster that can be ejected due to outlier detection.com.google.protobuf.UInt32ValueOrBuilder
The maximum % of an upstream cluster that can be ejected due to outlier detection.com.google.protobuf.Duration
The maximum time that a host is ejected for.com.google.protobuf.Duration
The maximum amount of jitter to add to the ejection time, in order to prevent a 'thundering herd' effect where all proxies try to reconnect to host at the same time.com.google.protobuf.DurationOrBuilder
The maximum amount of jitter to add to the ejection time, in order to prevent a 'thundering herd' effect where all proxies try to reconnect to host at the same time.com.google.protobuf.DurationOrBuilder
The maximum time that a host is ejected for.getMonitors
(int index) Set of host's passive monitors.int
Set of host's passive monitors.Set of host's passive monitors.getMonitorsOrBuilder
(int index) Set of host's passive monitors.List
<? extends TypedExtensionConfigOrBuilder> Set of host's passive monitors.com.google.protobuf.Parser
<OutlierDetection> int
boolean
Determines whether to distinguish local origin failures from external errors.com.google.protobuf.BoolValue
If active health checking is enabled and a host is ejected by outlier detection, a successful active health check unejects the host by default and considers it as healthy.com.google.protobuf.BoolValueOrBuilder
If active health checking is enabled and a host is ejected by outlier detection, a successful active health check unejects the host by default and considers it as healthy.com.google.protobuf.UInt32Value
The number of hosts in a cluster that must have enough request volume to detect success rate outliers.com.google.protobuf.UInt32ValueOrBuilder
The number of hosts in a cluster that must have enough request volume to detect success rate outliers.com.google.protobuf.UInt32Value
The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection.com.google.protobuf.UInt32ValueOrBuilder
The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection.com.google.protobuf.UInt32Value
This factor is used to determine the ejection threshold for success rate outlier ejection.com.google.protobuf.UInt32ValueOrBuilder
This factor is used to determine the ejection threshold for success rate outlier ejection.boolean
If enabled, at least one host is ejected regardless of the value of :ref:`max_ejection_percent<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_percent>`.boolean
The base time that a host is ejected for.boolean
The number of consecutive server-side error responses (for HTTP traffic, 5xx responses; for TCP traffic, connection failures; for Redis, failure to respond PONG; etc.) before a consecutive 5xx ejection occurs.boolean
The number of consecutive gateway failures (502, 503, 504 status codes) before a consecutive gateway failure ejection occurs.boolean
The number of consecutive locally originated failures before ejection occurs.boolean
The % chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx.boolean
The % chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures.boolean
The % chance that a host will be actually ejected when an outlier status is detected through consecutive locally originated failures.boolean
The % chance that a host will be actually ejected when an outlier status is detected through failure percentage statistics.boolean
The % chance that a host will be actually ejected when an outlier status is detected through local-origin failure percentage statistics.boolean
The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics for locally originated errors.boolean
The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics.boolean
The minimum number of hosts in a cluster in order to perform failure percentage-based ejection.boolean
The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to perform failure percentage-based ejection for this host.boolean
The failure percentage to use when determining failure percentage-based outlier detection.int
hashCode()
boolean
The time interval between ejection analysis sweeps.boolean
The maximum % of an upstream cluster that can be ejected due to outlier detection.boolean
The maximum time that a host is ejected for.boolean
The maximum amount of jitter to add to the ejection time, in order to prevent a 'thundering herd' effect where all proxies try to reconnect to host at the same time.boolean
If active health checking is enabled and a host is ejected by outlier detection, a successful active health check unejects the host by default and considers it as healthy.boolean
The number of hosts in a cluster that must have enough request volume to detect success rate outliers.boolean
The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection.boolean
This factor is used to determine the ejection threshold for success rate outlier ejection.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
static OutlierDetection.Builder
static OutlierDetection.Builder
newBuilder
(OutlierDetection prototype) protected OutlierDetection.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static OutlierDetection
parseDelimitedFrom
(InputStream input) static OutlierDetection
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutlierDetection
parseFrom
(byte[] data) static OutlierDetection
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutlierDetection
parseFrom
(com.google.protobuf.ByteString data) static OutlierDetection
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutlierDetection
parseFrom
(com.google.protobuf.CodedInputStream input) static OutlierDetection
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutlierDetection
parseFrom
(InputStream input) static OutlierDetection
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OutlierDetection
parseFrom
(ByteBuffer data) static OutlierDetection
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<OutlierDetection> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
CONSECUTIVE_5XX_FIELD_NUMBER
public static final int CONSECUTIVE_5XX_FIELD_NUMBER- See Also:
-
consecutive5Xx_
private com.google.protobuf.UInt32Value consecutive5Xx_ -
INTERVAL_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER- See Also:
-
interval_
private com.google.protobuf.Duration interval_ -
BASE_EJECTION_TIME_FIELD_NUMBER
public static final int BASE_EJECTION_TIME_FIELD_NUMBER- See Also:
-
baseEjectionTime_
private com.google.protobuf.Duration baseEjectionTime_ -
MAX_EJECTION_PERCENT_FIELD_NUMBER
public static final int MAX_EJECTION_PERCENT_FIELD_NUMBER- See Also:
-
maxEjectionPercent_
private com.google.protobuf.UInt32Value maxEjectionPercent_ -
ENFORCING_CONSECUTIVE_5XX_FIELD_NUMBER
public static final int ENFORCING_CONSECUTIVE_5XX_FIELD_NUMBER- See Also:
-
enforcingConsecutive5Xx_
private com.google.protobuf.UInt32Value enforcingConsecutive5Xx_ -
ENFORCING_SUCCESS_RATE_FIELD_NUMBER
public static final int ENFORCING_SUCCESS_RATE_FIELD_NUMBER- See Also:
-
enforcingSuccessRate_
private com.google.protobuf.UInt32Value enforcingSuccessRate_ -
SUCCESS_RATE_MINIMUM_HOSTS_FIELD_NUMBER
public static final int SUCCESS_RATE_MINIMUM_HOSTS_FIELD_NUMBER- See Also:
-
successRateMinimumHosts_
private com.google.protobuf.UInt32Value successRateMinimumHosts_ -
SUCCESS_RATE_REQUEST_VOLUME_FIELD_NUMBER
public static final int SUCCESS_RATE_REQUEST_VOLUME_FIELD_NUMBER- See Also:
-
successRateRequestVolume_
private com.google.protobuf.UInt32Value successRateRequestVolume_ -
SUCCESS_RATE_STDEV_FACTOR_FIELD_NUMBER
public static final int SUCCESS_RATE_STDEV_FACTOR_FIELD_NUMBER- See Also:
-
successRateStdevFactor_
private com.google.protobuf.UInt32Value successRateStdevFactor_ -
CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER
public static final int CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER- See Also:
-
consecutiveGatewayFailure_
private com.google.protobuf.UInt32Value consecutiveGatewayFailure_ -
ENFORCING_CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER
public static final int ENFORCING_CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER- See Also:
-
enforcingConsecutiveGatewayFailure_
private com.google.protobuf.UInt32Value enforcingConsecutiveGatewayFailure_ -
SPLIT_EXTERNAL_LOCAL_ORIGIN_ERRORS_FIELD_NUMBER
public static final int SPLIT_EXTERNAL_LOCAL_ORIGIN_ERRORS_FIELD_NUMBER- See Also:
-
splitExternalLocalOriginErrors_
private boolean splitExternalLocalOriginErrors_ -
CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER
public static final int CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER- See Also:
-
consecutiveLocalOriginFailure_
private com.google.protobuf.UInt32Value consecutiveLocalOriginFailure_ -
ENFORCING_CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER
public static final int ENFORCING_CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER- See Also:
-
enforcingConsecutiveLocalOriginFailure_
private com.google.protobuf.UInt32Value enforcingConsecutiveLocalOriginFailure_ -
ENFORCING_LOCAL_ORIGIN_SUCCESS_RATE_FIELD_NUMBER
public static final int ENFORCING_LOCAL_ORIGIN_SUCCESS_RATE_FIELD_NUMBER- See Also:
-
enforcingLocalOriginSuccessRate_
private com.google.protobuf.UInt32Value enforcingLocalOriginSuccessRate_ -
FAILURE_PERCENTAGE_THRESHOLD_FIELD_NUMBER
public static final int FAILURE_PERCENTAGE_THRESHOLD_FIELD_NUMBER- See Also:
-
failurePercentageThreshold_
private com.google.protobuf.UInt32Value failurePercentageThreshold_ -
ENFORCING_FAILURE_PERCENTAGE_FIELD_NUMBER
public static final int ENFORCING_FAILURE_PERCENTAGE_FIELD_NUMBER- See Also:
-
enforcingFailurePercentage_
private com.google.protobuf.UInt32Value enforcingFailurePercentage_ -
ENFORCING_FAILURE_PERCENTAGE_LOCAL_ORIGIN_FIELD_NUMBER
public static final int ENFORCING_FAILURE_PERCENTAGE_LOCAL_ORIGIN_FIELD_NUMBER- See Also:
-
enforcingFailurePercentageLocalOrigin_
private com.google.protobuf.UInt32Value enforcingFailurePercentageLocalOrigin_ -
FAILURE_PERCENTAGE_MINIMUM_HOSTS_FIELD_NUMBER
public static final int FAILURE_PERCENTAGE_MINIMUM_HOSTS_FIELD_NUMBER- See Also:
-
failurePercentageMinimumHosts_
private com.google.protobuf.UInt32Value failurePercentageMinimumHosts_ -
FAILURE_PERCENTAGE_REQUEST_VOLUME_FIELD_NUMBER
public static final int FAILURE_PERCENTAGE_REQUEST_VOLUME_FIELD_NUMBER- See Also:
-
failurePercentageRequestVolume_
private com.google.protobuf.UInt32Value failurePercentageRequestVolume_ -
MAX_EJECTION_TIME_FIELD_NUMBER
public static final int MAX_EJECTION_TIME_FIELD_NUMBER- See Also:
-
maxEjectionTime_
private com.google.protobuf.Duration maxEjectionTime_ -
MAX_EJECTION_TIME_JITTER_FIELD_NUMBER
public static final int MAX_EJECTION_TIME_JITTER_FIELD_NUMBER- See Also:
-
maxEjectionTimeJitter_
private com.google.protobuf.Duration maxEjectionTimeJitter_ -
SUCCESSFUL_ACTIVE_HEALTH_CHECK_UNEJECT_HOST_FIELD_NUMBER
public static final int SUCCESSFUL_ACTIVE_HEALTH_CHECK_UNEJECT_HOST_FIELD_NUMBER- See Also:
-
successfulActiveHealthCheckUnejectHost_
private com.google.protobuf.BoolValue successfulActiveHealthCheckUnejectHost_ -
MONITORS_FIELD_NUMBER
public static final int MONITORS_FIELD_NUMBER- See Also:
-
monitors_
-
ALWAYS_EJECT_ONE_HOST_FIELD_NUMBER
public static final int ALWAYS_EJECT_ONE_HOST_FIELD_NUMBER- See Also:
-
alwaysEjectOneHost_
private com.google.protobuf.BoolValue alwaysEjectOneHost_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
OutlierDetection
private OutlierDetection(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
OutlierDetection
private OutlierDetection()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
hasConsecutive5Xx
public boolean hasConsecutive5Xx()The number of consecutive server-side error responses (for HTTP traffic, 5xx responses; for TCP traffic, connection failures; for Redis, failure to respond PONG; etc.) before a consecutive 5xx ejection occurs. Defaults to 5.
.google.protobuf.UInt32Value consecutive_5xx = 1;
- Specified by:
hasConsecutive5Xx
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the consecutive5xx field is set.
-
getConsecutive5Xx
public com.google.protobuf.UInt32Value getConsecutive5Xx()The number of consecutive server-side error responses (for HTTP traffic, 5xx responses; for TCP traffic, connection failures; for Redis, failure to respond PONG; etc.) before a consecutive 5xx ejection occurs. Defaults to 5.
.google.protobuf.UInt32Value consecutive_5xx = 1;
- Specified by:
getConsecutive5Xx
in interfaceOutlierDetectionOrBuilder
- Returns:
- The consecutive5xx.
-
getConsecutive5XxOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getConsecutive5XxOrBuilder()The number of consecutive server-side error responses (for HTTP traffic, 5xx responses; for TCP traffic, connection failures; for Redis, failure to respond PONG; etc.) before a consecutive 5xx ejection occurs. Defaults to 5.
.google.protobuf.UInt32Value consecutive_5xx = 1;
- Specified by:
getConsecutive5XxOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasInterval
public boolean hasInterval()The time interval between ejection analysis sweeps. This can result in both new ejections as well as hosts being returned to service. Defaults to 10000ms or 10s.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }
- Specified by:
hasInterval
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the interval field is set.
-
getInterval
public com.google.protobuf.Duration getInterval()The time interval between ejection analysis sweeps. This can result in both new ejections as well as hosts being returned to service. Defaults to 10000ms or 10s.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }
- Specified by:
getInterval
in interfaceOutlierDetectionOrBuilder
- Returns:
- The interval.
-
getIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()The time interval between ejection analysis sweeps. This can result in both new ejections as well as hosts being returned to service. Defaults to 10000ms or 10s.
.google.protobuf.Duration interval = 2 [(.validate.rules) = { ... }
- Specified by:
getIntervalOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasBaseEjectionTime
public boolean hasBaseEjectionTime()The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by :ref:`max_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_time>`. Defaults to 30000ms or 30s.
.google.protobuf.Duration base_ejection_time = 3 [(.validate.rules) = { ... }
- Specified by:
hasBaseEjectionTime
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the baseEjectionTime field is set.
-
getBaseEjectionTime
public com.google.protobuf.Duration getBaseEjectionTime()The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by :ref:`max_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_time>`. Defaults to 30000ms or 30s.
.google.protobuf.Duration base_ejection_time = 3 [(.validate.rules) = { ... }
- Specified by:
getBaseEjectionTime
in interfaceOutlierDetectionOrBuilder
- Returns:
- The baseEjectionTime.
-
getBaseEjectionTimeOrBuilder
public com.google.protobuf.DurationOrBuilder getBaseEjectionTimeOrBuilder()The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by :ref:`max_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_time>`. Defaults to 30000ms or 30s.
.google.protobuf.Duration base_ejection_time = 3 [(.validate.rules) = { ... }
- Specified by:
getBaseEjectionTimeOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasMaxEjectionPercent
public boolean hasMaxEjectionPercent()The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% . Will eject at least one host regardless of the value if :ref:`always_eject_one_host<envoy_v3_api_field_config.cluster.v3.OutlierDetection.always_eject_one_host>` is enabled.
.google.protobuf.UInt32Value max_ejection_percent = 4 [(.validate.rules) = { ... }
- Specified by:
hasMaxEjectionPercent
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the maxEjectionPercent field is set.
-
getMaxEjectionPercent
public com.google.protobuf.UInt32Value getMaxEjectionPercent()The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% . Will eject at least one host regardless of the value if :ref:`always_eject_one_host<envoy_v3_api_field_config.cluster.v3.OutlierDetection.always_eject_one_host>` is enabled.
.google.protobuf.UInt32Value max_ejection_percent = 4 [(.validate.rules) = { ... }
- Specified by:
getMaxEjectionPercent
in interfaceOutlierDetectionOrBuilder
- Returns:
- The maxEjectionPercent.
-
getMaxEjectionPercentOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxEjectionPercentOrBuilder()The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% . Will eject at least one host regardless of the value if :ref:`always_eject_one_host<envoy_v3_api_field_config.cluster.v3.OutlierDetection.always_eject_one_host>` is enabled.
.google.protobuf.UInt32Value max_ejection_percent = 4 [(.validate.rules) = { ... }
- Specified by:
getMaxEjectionPercentOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasEnforcingConsecutive5Xx
public boolean hasEnforcingConsecutive5Xx()The % chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.
.google.protobuf.UInt32Value enforcing_consecutive_5xx = 5 [(.validate.rules) = { ... }
- Specified by:
hasEnforcingConsecutive5Xx
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the enforcingConsecutive5xx field is set.
-
getEnforcingConsecutive5Xx
public com.google.protobuf.UInt32Value getEnforcingConsecutive5Xx()The % chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.
.google.protobuf.UInt32Value enforcing_consecutive_5xx = 5 [(.validate.rules) = { ... }
- Specified by:
getEnforcingConsecutive5Xx
in interfaceOutlierDetectionOrBuilder
- Returns:
- The enforcingConsecutive5xx.
-
getEnforcingConsecutive5XxOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getEnforcingConsecutive5XxOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.
.google.protobuf.UInt32Value enforcing_consecutive_5xx = 5 [(.validate.rules) = { ... }
- Specified by:
getEnforcingConsecutive5XxOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasEnforcingSuccessRate
public boolean hasEnforcingSuccessRate()The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.
.google.protobuf.UInt32Value enforcing_success_rate = 6 [(.validate.rules) = { ... }
- Specified by:
hasEnforcingSuccessRate
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the enforcingSuccessRate field is set.
-
getEnforcingSuccessRate
public com.google.protobuf.UInt32Value getEnforcingSuccessRate()The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.
.google.protobuf.UInt32Value enforcing_success_rate = 6 [(.validate.rules) = { ... }
- Specified by:
getEnforcingSuccessRate
in interfaceOutlierDetectionOrBuilder
- Returns:
- The enforcingSuccessRate.
-
getEnforcingSuccessRateOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getEnforcingSuccessRateOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.
.google.protobuf.UInt32Value enforcing_success_rate = 6 [(.validate.rules) = { ... }
- Specified by:
getEnforcingSuccessRateOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasSuccessRateMinimumHosts
public boolean hasSuccessRateMinimumHosts()The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5.
.google.protobuf.UInt32Value success_rate_minimum_hosts = 7;
- Specified by:
hasSuccessRateMinimumHosts
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the successRateMinimumHosts field is set.
-
getSuccessRateMinimumHosts
public com.google.protobuf.UInt32Value getSuccessRateMinimumHosts()The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5.
.google.protobuf.UInt32Value success_rate_minimum_hosts = 7;
- Specified by:
getSuccessRateMinimumHosts
in interfaceOutlierDetectionOrBuilder
- Returns:
- The successRateMinimumHosts.
-
getSuccessRateMinimumHostsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getSuccessRateMinimumHostsOrBuilder()The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5.
.google.protobuf.UInt32Value success_rate_minimum_hosts = 7;
- Specified by:
getSuccessRateMinimumHostsOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasSuccessRateRequestVolume
public boolean hasSuccessRateRequestVolume()The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that host. Defaults to 100.
.google.protobuf.UInt32Value success_rate_request_volume = 8;
- Specified by:
hasSuccessRateRequestVolume
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the successRateRequestVolume field is set.
-
getSuccessRateRequestVolume
public com.google.protobuf.UInt32Value getSuccessRateRequestVolume()The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that host. Defaults to 100.
.google.protobuf.UInt32Value success_rate_request_volume = 8;
- Specified by:
getSuccessRateRequestVolume
in interfaceOutlierDetectionOrBuilder
- Returns:
- The successRateRequestVolume.
-
getSuccessRateRequestVolumeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getSuccessRateRequestVolumeOrBuilder()The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that host. Defaults to 100.
.google.protobuf.UInt32Value success_rate_request_volume = 8;
- Specified by:
getSuccessRateRequestVolumeOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasSuccessRateStdevFactor
public boolean hasSuccessRateStdevFactor()This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900.
.google.protobuf.UInt32Value success_rate_stdev_factor = 9;
- Specified by:
hasSuccessRateStdevFactor
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the successRateStdevFactor field is set.
-
getSuccessRateStdevFactor
public com.google.protobuf.UInt32Value getSuccessRateStdevFactor()This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900.
.google.protobuf.UInt32Value success_rate_stdev_factor = 9;
- Specified by:
getSuccessRateStdevFactor
in interfaceOutlierDetectionOrBuilder
- Returns:
- The successRateStdevFactor.
-
getSuccessRateStdevFactorOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getSuccessRateStdevFactorOrBuilder()This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900.
.google.protobuf.UInt32Value success_rate_stdev_factor = 9;
- Specified by:
getSuccessRateStdevFactorOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasConsecutiveGatewayFailure
public boolean hasConsecutiveGatewayFailure()The number of consecutive gateway failures (502, 503, 504 status codes) before a consecutive gateway failure ejection occurs. Defaults to 5.
.google.protobuf.UInt32Value consecutive_gateway_failure = 10;
- Specified by:
hasConsecutiveGatewayFailure
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the consecutiveGatewayFailure field is set.
-
getConsecutiveGatewayFailure
public com.google.protobuf.UInt32Value getConsecutiveGatewayFailure()The number of consecutive gateway failures (502, 503, 504 status codes) before a consecutive gateway failure ejection occurs. Defaults to 5.
.google.protobuf.UInt32Value consecutive_gateway_failure = 10;
- Specified by:
getConsecutiveGatewayFailure
in interfaceOutlierDetectionOrBuilder
- Returns:
- The consecutiveGatewayFailure.
-
getConsecutiveGatewayFailureOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getConsecutiveGatewayFailureOrBuilder()The number of consecutive gateway failures (502, 503, 504 status codes) before a consecutive gateway failure ejection occurs. Defaults to 5.
.google.protobuf.UInt32Value consecutive_gateway_failure = 10;
- Specified by:
getConsecutiveGatewayFailureOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasEnforcingConsecutiveGatewayFailure
public boolean hasEnforcingConsecutiveGatewayFailure()The % chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0.
.google.protobuf.UInt32Value enforcing_consecutive_gateway_failure = 11 [(.validate.rules) = { ... }
- Specified by:
hasEnforcingConsecutiveGatewayFailure
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the enforcingConsecutiveGatewayFailure field is set.
-
getEnforcingConsecutiveGatewayFailure
public com.google.protobuf.UInt32Value getEnforcingConsecutiveGatewayFailure()The % chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0.
.google.protobuf.UInt32Value enforcing_consecutive_gateway_failure = 11 [(.validate.rules) = { ... }
- Specified by:
getEnforcingConsecutiveGatewayFailure
in interfaceOutlierDetectionOrBuilder
- Returns:
- The enforcingConsecutiveGatewayFailure.
-
getEnforcingConsecutiveGatewayFailureOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getEnforcingConsecutiveGatewayFailureOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0.
.google.protobuf.UInt32Value enforcing_consecutive_gateway_failure = 11 [(.validate.rules) = { ... }
- Specified by:
getEnforcingConsecutiveGatewayFailureOrBuilder
in interfaceOutlierDetectionOrBuilder
-
getSplitExternalLocalOriginErrors
public boolean getSplitExternalLocalOriginErrors()Determines whether to distinguish local origin failures from external errors. If set to true the following configuration parameters are taken into account: :ref:`consecutive_local_origin_failure<envoy_v3_api_field_config.cluster.v3.OutlierDetection.consecutive_local_origin_failure>`, :ref:`enforcing_consecutive_local_origin_failure<envoy_v3_api_field_config.cluster.v3.OutlierDetection.enforcing_consecutive_local_origin_failure>` and :ref:`enforcing_local_origin_success_rate<envoy_v3_api_field_config.cluster.v3.OutlierDetection.enforcing_local_origin_success_rate>`. Defaults to false.
bool split_external_local_origin_errors = 12;
- Specified by:
getSplitExternalLocalOriginErrors
in interfaceOutlierDetectionOrBuilder
- Returns:
- The splitExternalLocalOriginErrors.
-
hasConsecutiveLocalOriginFailure
public boolean hasConsecutiveLocalOriginFailure()The number of consecutive locally originated failures before ejection occurs. Defaults to 5. Parameter takes effect only when :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to true.
.google.protobuf.UInt32Value consecutive_local_origin_failure = 13;
- Specified by:
hasConsecutiveLocalOriginFailure
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the consecutiveLocalOriginFailure field is set.
-
getConsecutiveLocalOriginFailure
public com.google.protobuf.UInt32Value getConsecutiveLocalOriginFailure()The number of consecutive locally originated failures before ejection occurs. Defaults to 5. Parameter takes effect only when :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to true.
.google.protobuf.UInt32Value consecutive_local_origin_failure = 13;
- Specified by:
getConsecutiveLocalOriginFailure
in interfaceOutlierDetectionOrBuilder
- Returns:
- The consecutiveLocalOriginFailure.
-
getConsecutiveLocalOriginFailureOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getConsecutiveLocalOriginFailureOrBuilder()The number of consecutive locally originated failures before ejection occurs. Defaults to 5. Parameter takes effect only when :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to true.
.google.protobuf.UInt32Value consecutive_local_origin_failure = 13;
- Specified by:
getConsecutiveLocalOriginFailureOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasEnforcingConsecutiveLocalOriginFailure
public boolean hasEnforcingConsecutiveLocalOriginFailure()The % chance that a host will be actually ejected when an outlier status is detected through consecutive locally originated failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. Parameter takes effect only when :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to true.
.google.protobuf.UInt32Value enforcing_consecutive_local_origin_failure = 14 [(.validate.rules) = { ... }
- Specified by:
hasEnforcingConsecutiveLocalOriginFailure
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the enforcingConsecutiveLocalOriginFailure field is set.
-
getEnforcingConsecutiveLocalOriginFailure
public com.google.protobuf.UInt32Value getEnforcingConsecutiveLocalOriginFailure()The % chance that a host will be actually ejected when an outlier status is detected through consecutive locally originated failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. Parameter takes effect only when :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to true.
.google.protobuf.UInt32Value enforcing_consecutive_local_origin_failure = 14 [(.validate.rules) = { ... }
- Specified by:
getEnforcingConsecutiveLocalOriginFailure
in interfaceOutlierDetectionOrBuilder
- Returns:
- The enforcingConsecutiveLocalOriginFailure.
-
getEnforcingConsecutiveLocalOriginFailureOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getEnforcingConsecutiveLocalOriginFailureOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through consecutive locally originated failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. Parameter takes effect only when :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to true.
.google.protobuf.UInt32Value enforcing_consecutive_local_origin_failure = 14 [(.validate.rules) = { ... }
- Specified by:
getEnforcingConsecutiveLocalOriginFailureOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasEnforcingLocalOriginSuccessRate
public boolean hasEnforcingLocalOriginSuccessRate()The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics for locally originated errors. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. Parameter takes effect only when :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to true.
.google.protobuf.UInt32Value enforcing_local_origin_success_rate = 15 [(.validate.rules) = { ... }
- Specified by:
hasEnforcingLocalOriginSuccessRate
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the enforcingLocalOriginSuccessRate field is set.
-
getEnforcingLocalOriginSuccessRate
public com.google.protobuf.UInt32Value getEnforcingLocalOriginSuccessRate()The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics for locally originated errors. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. Parameter takes effect only when :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to true.
.google.protobuf.UInt32Value enforcing_local_origin_success_rate = 15 [(.validate.rules) = { ... }
- Specified by:
getEnforcingLocalOriginSuccessRate
in interfaceOutlierDetectionOrBuilder
- Returns:
- The enforcingLocalOriginSuccessRate.
-
getEnforcingLocalOriginSuccessRateOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getEnforcingLocalOriginSuccessRateOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics for locally originated errors. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. Parameter takes effect only when :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` is set to true.
.google.protobuf.UInt32Value enforcing_local_origin_success_rate = 15 [(.validate.rules) = { ... }
- Specified by:
getEnforcingLocalOriginSuccessRateOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasFailurePercentageThreshold
public boolean hasFailurePercentageThreshold()The failure percentage to use when determining failure percentage-based outlier detection. If the failure percentage of a given host is greater than or equal to this value, it will be ejected. Defaults to 85.
.google.protobuf.UInt32Value failure_percentage_threshold = 16 [(.validate.rules) = { ... }
- Specified by:
hasFailurePercentageThreshold
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the failurePercentageThreshold field is set.
-
getFailurePercentageThreshold
public com.google.protobuf.UInt32Value getFailurePercentageThreshold()The failure percentage to use when determining failure percentage-based outlier detection. If the failure percentage of a given host is greater than or equal to this value, it will be ejected. Defaults to 85.
.google.protobuf.UInt32Value failure_percentage_threshold = 16 [(.validate.rules) = { ... }
- Specified by:
getFailurePercentageThreshold
in interfaceOutlierDetectionOrBuilder
- Returns:
- The failurePercentageThreshold.
-
getFailurePercentageThresholdOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getFailurePercentageThresholdOrBuilder()The failure percentage to use when determining failure percentage-based outlier detection. If the failure percentage of a given host is greater than or equal to this value, it will be ejected. Defaults to 85.
.google.protobuf.UInt32Value failure_percentage_threshold = 16 [(.validate.rules) = { ... }
- Specified by:
getFailurePercentageThresholdOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasEnforcingFailurePercentage
public boolean hasEnforcingFailurePercentage()The % chance that a host will be actually ejected when an outlier status is detected through failure percentage statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0. [#next-major-version: setting this without setting failure_percentage_threshold should be invalid in v4.]
.google.protobuf.UInt32Value enforcing_failure_percentage = 17 [(.validate.rules) = { ... }
- Specified by:
hasEnforcingFailurePercentage
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the enforcingFailurePercentage field is set.
-
getEnforcingFailurePercentage
public com.google.protobuf.UInt32Value getEnforcingFailurePercentage()The % chance that a host will be actually ejected when an outlier status is detected through failure percentage statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0. [#next-major-version: setting this without setting failure_percentage_threshold should be invalid in v4.]
.google.protobuf.UInt32Value enforcing_failure_percentage = 17 [(.validate.rules) = { ... }
- Specified by:
getEnforcingFailurePercentage
in interfaceOutlierDetectionOrBuilder
- Returns:
- The enforcingFailurePercentage.
-
getEnforcingFailurePercentageOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getEnforcingFailurePercentageOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through failure percentage statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0. [#next-major-version: setting this without setting failure_percentage_threshold should be invalid in v4.]
.google.protobuf.UInt32Value enforcing_failure_percentage = 17 [(.validate.rules) = { ... }
- Specified by:
getEnforcingFailurePercentageOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasEnforcingFailurePercentageLocalOrigin
public boolean hasEnforcingFailurePercentageLocalOrigin()The % chance that a host will be actually ejected when an outlier status is detected through local-origin failure percentage statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0.
.google.protobuf.UInt32Value enforcing_failure_percentage_local_origin = 18 [(.validate.rules) = { ... }
- Specified by:
hasEnforcingFailurePercentageLocalOrigin
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the enforcingFailurePercentageLocalOrigin field is set.
-
getEnforcingFailurePercentageLocalOrigin
public com.google.protobuf.UInt32Value getEnforcingFailurePercentageLocalOrigin()The % chance that a host will be actually ejected when an outlier status is detected through local-origin failure percentage statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0.
.google.protobuf.UInt32Value enforcing_failure_percentage_local_origin = 18 [(.validate.rules) = { ... }
- Specified by:
getEnforcingFailurePercentageLocalOrigin
in interfaceOutlierDetectionOrBuilder
- Returns:
- The enforcingFailurePercentageLocalOrigin.
-
getEnforcingFailurePercentageLocalOriginOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getEnforcingFailurePercentageLocalOriginOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through local-origin failure percentage statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0.
.google.protobuf.UInt32Value enforcing_failure_percentage_local_origin = 18 [(.validate.rules) = { ... }
- Specified by:
getEnforcingFailurePercentageLocalOriginOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasFailurePercentageMinimumHosts
public boolean hasFailurePercentageMinimumHosts()The minimum number of hosts in a cluster in order to perform failure percentage-based ejection. If the total number of hosts in the cluster is less than this value, failure percentage-based ejection will not be performed. Defaults to 5.
.google.protobuf.UInt32Value failure_percentage_minimum_hosts = 19;
- Specified by:
hasFailurePercentageMinimumHosts
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the failurePercentageMinimumHosts field is set.
-
getFailurePercentageMinimumHosts
public com.google.protobuf.UInt32Value getFailurePercentageMinimumHosts()The minimum number of hosts in a cluster in order to perform failure percentage-based ejection. If the total number of hosts in the cluster is less than this value, failure percentage-based ejection will not be performed. Defaults to 5.
.google.protobuf.UInt32Value failure_percentage_minimum_hosts = 19;
- Specified by:
getFailurePercentageMinimumHosts
in interfaceOutlierDetectionOrBuilder
- Returns:
- The failurePercentageMinimumHosts.
-
getFailurePercentageMinimumHostsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getFailurePercentageMinimumHostsOrBuilder()The minimum number of hosts in a cluster in order to perform failure percentage-based ejection. If the total number of hosts in the cluster is less than this value, failure percentage-based ejection will not be performed. Defaults to 5.
.google.protobuf.UInt32Value failure_percentage_minimum_hosts = 19;
- Specified by:
getFailurePercentageMinimumHostsOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasFailurePercentageRequestVolume
public boolean hasFailurePercentageRequestVolume()The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to perform failure percentage-based ejection for this host. If the volume is lower than this setting, failure percentage-based ejection will not be performed for this host. Defaults to 50.
.google.protobuf.UInt32Value failure_percentage_request_volume = 20;
- Specified by:
hasFailurePercentageRequestVolume
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the failurePercentageRequestVolume field is set.
-
getFailurePercentageRequestVolume
public com.google.protobuf.UInt32Value getFailurePercentageRequestVolume()The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to perform failure percentage-based ejection for this host. If the volume is lower than this setting, failure percentage-based ejection will not be performed for this host. Defaults to 50.
.google.protobuf.UInt32Value failure_percentage_request_volume = 20;
- Specified by:
getFailurePercentageRequestVolume
in interfaceOutlierDetectionOrBuilder
- Returns:
- The failurePercentageRequestVolume.
-
getFailurePercentageRequestVolumeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getFailurePercentageRequestVolumeOrBuilder()The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to perform failure percentage-based ejection for this host. If the volume is lower than this setting, failure percentage-based ejection will not be performed for this host. Defaults to 50.
.google.protobuf.UInt32Value failure_percentage_request_volume = 20;
- Specified by:
getFailurePercentageRequestVolumeOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasMaxEjectionTime
public boolean hasMaxEjectionTime()The maximum time that a host is ejected for. See :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` for more information. If not specified, the default value (300000ms or 300s) or :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` value is applied, whatever is larger.
.google.protobuf.Duration max_ejection_time = 21 [(.validate.rules) = { ... }
- Specified by:
hasMaxEjectionTime
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the maxEjectionTime field is set.
-
getMaxEjectionTime
public com.google.protobuf.Duration getMaxEjectionTime()The maximum time that a host is ejected for. See :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` for more information. If not specified, the default value (300000ms or 300s) or :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` value is applied, whatever is larger.
.google.protobuf.Duration max_ejection_time = 21 [(.validate.rules) = { ... }
- Specified by:
getMaxEjectionTime
in interfaceOutlierDetectionOrBuilder
- Returns:
- The maxEjectionTime.
-
getMaxEjectionTimeOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxEjectionTimeOrBuilder()The maximum time that a host is ejected for. See :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` for more information. If not specified, the default value (300000ms or 300s) or :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` value is applied, whatever is larger.
.google.protobuf.Duration max_ejection_time = 21 [(.validate.rules) = { ... }
- Specified by:
getMaxEjectionTimeOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasMaxEjectionTimeJitter
public boolean hasMaxEjectionTimeJitter()The maximum amount of jitter to add to the ejection time, in order to prevent a 'thundering herd' effect where all proxies try to reconnect to host at the same time. See :ref:`max_ejection_time_jitter<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` Defaults to 0s.
.google.protobuf.Duration max_ejection_time_jitter = 22;
- Specified by:
hasMaxEjectionTimeJitter
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the maxEjectionTimeJitter field is set.
-
getMaxEjectionTimeJitter
public com.google.protobuf.Duration getMaxEjectionTimeJitter()The maximum amount of jitter to add to the ejection time, in order to prevent a 'thundering herd' effect where all proxies try to reconnect to host at the same time. See :ref:`max_ejection_time_jitter<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` Defaults to 0s.
.google.protobuf.Duration max_ejection_time_jitter = 22;
- Specified by:
getMaxEjectionTimeJitter
in interfaceOutlierDetectionOrBuilder
- Returns:
- The maxEjectionTimeJitter.
-
getMaxEjectionTimeJitterOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxEjectionTimeJitterOrBuilder()The maximum amount of jitter to add to the ejection time, in order to prevent a 'thundering herd' effect where all proxies try to reconnect to host at the same time. See :ref:`max_ejection_time_jitter<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` Defaults to 0s.
.google.protobuf.Duration max_ejection_time_jitter = 22;
- Specified by:
getMaxEjectionTimeJitterOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasSuccessfulActiveHealthCheckUnejectHost
public boolean hasSuccessfulActiveHealthCheckUnejectHost()If active health checking is enabled and a host is ejected by outlier detection, a successful active health check unejects the host by default and considers it as healthy. Unejection also clears all the outlier detection counters. To change this default behavior set this config to ``false`` where active health checking will not uneject the host. Defaults to true.
.google.protobuf.BoolValue successful_active_health_check_uneject_host = 23;
- Specified by:
hasSuccessfulActiveHealthCheckUnejectHost
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the successfulActiveHealthCheckUnejectHost field is set.
-
getSuccessfulActiveHealthCheckUnejectHost
public com.google.protobuf.BoolValue getSuccessfulActiveHealthCheckUnejectHost()If active health checking is enabled and a host is ejected by outlier detection, a successful active health check unejects the host by default and considers it as healthy. Unejection also clears all the outlier detection counters. To change this default behavior set this config to ``false`` where active health checking will not uneject the host. Defaults to true.
.google.protobuf.BoolValue successful_active_health_check_uneject_host = 23;
- Specified by:
getSuccessfulActiveHealthCheckUnejectHost
in interfaceOutlierDetectionOrBuilder
- Returns:
- The successfulActiveHealthCheckUnejectHost.
-
getSuccessfulActiveHealthCheckUnejectHostOrBuilder
public com.google.protobuf.BoolValueOrBuilder getSuccessfulActiveHealthCheckUnejectHostOrBuilder()If active health checking is enabled and a host is ejected by outlier detection, a successful active health check unejects the host by default and considers it as healthy. Unejection also clears all the outlier detection counters. To change this default behavior set this config to ``false`` where active health checking will not uneject the host. Defaults to true.
.google.protobuf.BoolValue successful_active_health_check_uneject_host = 23;
- Specified by:
getSuccessfulActiveHealthCheckUnejectHostOrBuilder
in interfaceOutlierDetectionOrBuilder
-
getMonitorsList
Set of host's passive monitors. [#not-implemented-hide:]
repeated .envoy.config.core.v3.TypedExtensionConfig monitors = 24;
- Specified by:
getMonitorsList
in interfaceOutlierDetectionOrBuilder
-
getMonitorsOrBuilderList
Set of host's passive monitors. [#not-implemented-hide:]
repeated .envoy.config.core.v3.TypedExtensionConfig monitors = 24;
- Specified by:
getMonitorsOrBuilderList
in interfaceOutlierDetectionOrBuilder
-
getMonitorsCount
public int getMonitorsCount()Set of host's passive monitors. [#not-implemented-hide:]
repeated .envoy.config.core.v3.TypedExtensionConfig monitors = 24;
- Specified by:
getMonitorsCount
in interfaceOutlierDetectionOrBuilder
-
getMonitors
Set of host's passive monitors. [#not-implemented-hide:]
repeated .envoy.config.core.v3.TypedExtensionConfig monitors = 24;
- Specified by:
getMonitors
in interfaceOutlierDetectionOrBuilder
-
getMonitorsOrBuilder
Set of host's passive monitors. [#not-implemented-hide:]
repeated .envoy.config.core.v3.TypedExtensionConfig monitors = 24;
- Specified by:
getMonitorsOrBuilder
in interfaceOutlierDetectionOrBuilder
-
hasAlwaysEjectOneHost
public boolean hasAlwaysEjectOneHost()If enabled, at least one host is ejected regardless of the value of :ref:`max_ejection_percent<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_percent>`. Defaults to false.
.google.protobuf.BoolValue always_eject_one_host = 25;
- Specified by:
hasAlwaysEjectOneHost
in interfaceOutlierDetectionOrBuilder
- Returns:
- Whether the alwaysEjectOneHost field is set.
-
getAlwaysEjectOneHost
public com.google.protobuf.BoolValue getAlwaysEjectOneHost()If enabled, at least one host is ejected regardless of the value of :ref:`max_ejection_percent<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_percent>`. Defaults to false.
.google.protobuf.BoolValue always_eject_one_host = 25;
- Specified by:
getAlwaysEjectOneHost
in interfaceOutlierDetectionOrBuilder
- Returns:
- The alwaysEjectOneHost.
-
getAlwaysEjectOneHostOrBuilder
public com.google.protobuf.BoolValueOrBuilder getAlwaysEjectOneHostOrBuilder()If enabled, at least one host is ejected regardless of the value of :ref:`max_ejection_percent<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_percent>`. Defaults to false.
.google.protobuf.BoolValue always_eject_one_host = 25;
- Specified by:
getAlwaysEjectOneHostOrBuilder
in interfaceOutlierDetectionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OutlierDetection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutlierDetection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutlierDetection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutlierDetection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutlierDetection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OutlierDetection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OutlierDetection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OutlierDetection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static OutlierDetection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static OutlierDetection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OutlierDetection.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-