Class OutlierDetection
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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.GeneratedMessageV3 implements OutlierDetectionOrBuilder
See the :ref:`architecture overview <arch_overview_outlier_detection>` for more information on outlier detection. [#next-free-field: 23]
Protobuf typeenvoy.config.cluster.v3.OutlierDetection- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOutlierDetection.BuilderSee the :ref:`architecture overview <arch_overview_outlier_detection>` for more information on outlier detection.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.DurationgetBaseEjectionTime()The base time that a host is ejected for.com.google.protobuf.DurationOrBuildergetBaseEjectionTimeOrBuilder()The base time that a host is ejected for.com.google.protobuf.UInt32ValuegetConsecutive5Xx()The number of consecutive 5xx responses or local origin errors that are mapped to 5xx error codes before a consecutive 5xx ejection occurs.com.google.protobuf.UInt32ValueOrBuildergetConsecutive5XxOrBuilder()The number of consecutive 5xx responses or local origin errors that are mapped to 5xx error codes before a consecutive 5xx ejection occurs.com.google.protobuf.UInt32ValuegetConsecutiveGatewayFailure()The number of consecutive gateway failures (502, 503, 504 status codes) before a consecutive gateway failure ejection occurs.com.google.protobuf.UInt32ValueOrBuildergetConsecutiveGatewayFailureOrBuilder()The number of consecutive gateway failures (502, 503, 504 status codes) before a consecutive gateway failure ejection occurs.com.google.protobuf.UInt32ValuegetConsecutiveLocalOriginFailure()The number of consecutive locally originated failures before ejection occurs.com.google.protobuf.UInt32ValueOrBuildergetConsecutiveLocalOriginFailureOrBuilder()The number of consecutive locally originated failures before ejection occurs.static OutlierDetectiongetDefaultInstance()OutlierDetectiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.UInt32ValuegetEnforcingConsecutive5Xx()The % chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx.com.google.protobuf.UInt32ValueOrBuildergetEnforcingConsecutive5XxOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx.com.google.protobuf.UInt32ValuegetEnforcingConsecutiveGatewayFailure()The % chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures.com.google.protobuf.UInt32ValueOrBuildergetEnforcingConsecutiveGatewayFailureOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures.com.google.protobuf.UInt32ValuegetEnforcingConsecutiveLocalOriginFailure()The % chance that a host will be actually ejected when an outlier status is detected through consecutive locally originated failures.com.google.protobuf.UInt32ValueOrBuildergetEnforcingConsecutiveLocalOriginFailureOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through consecutive locally originated failures.com.google.protobuf.UInt32ValuegetEnforcingFailurePercentage()The % chance that a host will be actually ejected when an outlier status is detected through failure percentage statistics.com.google.protobuf.UInt32ValuegetEnforcingFailurePercentageLocalOrigin()The % chance that a host will be actually ejected when an outlier status is detected through local-origin failure percentage statistics.com.google.protobuf.UInt32ValueOrBuildergetEnforcingFailurePercentageLocalOriginOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through local-origin failure percentage statistics.com.google.protobuf.UInt32ValueOrBuildergetEnforcingFailurePercentageOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through failure percentage statistics.com.google.protobuf.UInt32ValuegetEnforcingLocalOriginSuccessRate()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.UInt32ValueOrBuildergetEnforcingLocalOriginSuccessRateOrBuilder()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.UInt32ValuegetEnforcingSuccessRate()The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics.com.google.protobuf.UInt32ValueOrBuildergetEnforcingSuccessRateOrBuilder()The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics.com.google.protobuf.UInt32ValuegetFailurePercentageMinimumHosts()The minimum number of hosts in a cluster in order to perform failure percentage-based ejection.com.google.protobuf.UInt32ValueOrBuildergetFailurePercentageMinimumHostsOrBuilder()The minimum number of hosts in a cluster in order to perform failure percentage-based ejection.com.google.protobuf.UInt32ValuegetFailurePercentageRequestVolume()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.UInt32ValueOrBuildergetFailurePercentageRequestVolumeOrBuilder()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.UInt32ValuegetFailurePercentageThreshold()The failure percentage to use when determining failure percentage-based outlier detection.com.google.protobuf.UInt32ValueOrBuildergetFailurePercentageThresholdOrBuilder()The failure percentage to use when determining failure percentage-based outlier detection.com.google.protobuf.DurationgetInterval()The time interval between ejection analysis sweeps.com.google.protobuf.DurationOrBuildergetIntervalOrBuilder()The time interval between ejection analysis sweeps.com.google.protobuf.UInt32ValuegetMaxEjectionPercent()The maximum % of an upstream cluster that can be ejected due to outlier detection.com.google.protobuf.UInt32ValueOrBuildergetMaxEjectionPercentOrBuilder()The maximum % of an upstream cluster that can be ejected due to outlier detection.com.google.protobuf.DurationgetMaxEjectionTime()The maximum time that a host is ejected for.com.google.protobuf.DurationgetMaxEjectionTimeJitter()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.DurationOrBuildergetMaxEjectionTimeJitterOrBuilder()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.DurationOrBuildergetMaxEjectionTimeOrBuilder()The maximum time that a host is ejected for.com.google.protobuf.Parser<OutlierDetection>getParserForType()intgetSerializedSize()booleangetSplitExternalLocalOriginErrors()Determines whether to distinguish local origin failures from external errors.com.google.protobuf.UInt32ValuegetSuccessRateMinimumHosts()The number of hosts in a cluster that must have enough request volume to detect success rate outliers.com.google.protobuf.UInt32ValueOrBuildergetSuccessRateMinimumHostsOrBuilder()The number of hosts in a cluster that must have enough request volume to detect success rate outliers.com.google.protobuf.UInt32ValuegetSuccessRateRequestVolume()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.UInt32ValueOrBuildergetSuccessRateRequestVolumeOrBuilder()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.UInt32ValuegetSuccessRateStdevFactor()This factor is used to determine the ejection threshold for success rate outlier ejection.com.google.protobuf.UInt32ValueOrBuildergetSuccessRateStdevFactorOrBuilder()This factor is used to determine the ejection threshold for success rate outlier ejection.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasBaseEjectionTime()The base time that a host is ejected for.booleanhasConsecutive5Xx()The number of consecutive 5xx responses or local origin errors that are mapped to 5xx error codes before a consecutive 5xx ejection occurs.booleanhasConsecutiveGatewayFailure()The number of consecutive gateway failures (502, 503, 504 status codes) before a consecutive gateway failure ejection occurs.booleanhasConsecutiveLocalOriginFailure()The number of consecutive locally originated failures before ejection occurs.booleanhasEnforcingConsecutive5Xx()The % chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx.booleanhasEnforcingConsecutiveGatewayFailure()The % chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures.booleanhasEnforcingConsecutiveLocalOriginFailure()The % chance that a host will be actually ejected when an outlier status is detected through consecutive locally originated failures.booleanhasEnforcingFailurePercentage()The % chance that a host will be actually ejected when an outlier status is detected through failure percentage statistics.booleanhasEnforcingFailurePercentageLocalOrigin()The % chance that a host will be actually ejected when an outlier status is detected through local-origin failure percentage statistics.booleanhasEnforcingLocalOriginSuccessRate()The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics for locally originated errors.booleanhasEnforcingSuccessRate()The % chance that a host will be actually ejected when an outlier status is detected through success rate statistics.booleanhasFailurePercentageMinimumHosts()The minimum number of hosts in a cluster in order to perform failure percentage-based ejection.booleanhasFailurePercentageRequestVolume()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.booleanhasFailurePercentageThreshold()The failure percentage to use when determining failure percentage-based outlier detection.inthashCode()booleanhasInterval()The time interval between ejection analysis sweeps.booleanhasMaxEjectionPercent()The maximum % of an upstream cluster that can be ejected due to outlier detection.booleanhasMaxEjectionTime()The maximum time that a host is ejected for.booleanhasMaxEjectionTimeJitter()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.booleanhasSuccessRateMinimumHosts()The number of hosts in a cluster that must have enough request volume to detect success rate outliers.booleanhasSuccessRateRequestVolume()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.booleanhasSuccessRateStdevFactor()This factor is used to determine the ejection threshold for success rate outlier ejection.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OutlierDetection.BuildernewBuilder()static OutlierDetection.BuildernewBuilder(OutlierDetection prototype)OutlierDetection.BuildernewBuilderForType()protected OutlierDetection.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OutlierDetectionparseDelimitedFrom(InputStream input)static OutlierDetectionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OutlierDetectionparseFrom(byte[] data)static OutlierDetectionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OutlierDetectionparseFrom(com.google.protobuf.ByteString data)static OutlierDetectionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OutlierDetectionparseFrom(com.google.protobuf.CodedInputStream input)static OutlierDetectionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OutlierDetectionparseFrom(InputStream input)static OutlierDetectionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OutlierDetectionparseFrom(ByteBuffer data)static OutlierDetectionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OutlierDetection>parser()OutlierDetection.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CONSECUTIVE_5XX_FIELD_NUMBER
public static final int CONSECUTIVE_5XX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERVAL_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BASE_EJECTION_TIME_FIELD_NUMBER
public static final int BASE_EJECTION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_EJECTION_PERCENT_FIELD_NUMBER
public static final int MAX_EJECTION_PERCENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENFORCING_CONSECUTIVE_5XX_FIELD_NUMBER
public static final int ENFORCING_CONSECUTIVE_5XX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENFORCING_SUCCESS_RATE_FIELD_NUMBER
public static final int ENFORCING_SUCCESS_RATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUCCESS_RATE_MINIMUM_HOSTS_FIELD_NUMBER
public static final int SUCCESS_RATE_MINIMUM_HOSTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUCCESS_RATE_REQUEST_VOLUME_FIELD_NUMBER
public static final int SUCCESS_RATE_REQUEST_VOLUME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUCCESS_RATE_STDEV_FACTOR_FIELD_NUMBER
public static final int SUCCESS_RATE_STDEV_FACTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER
public static final int CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENFORCING_CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER
public static final int ENFORCING_CONSECUTIVE_GATEWAY_FAILURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPLIT_EXTERNAL_LOCAL_ORIGIN_ERRORS_FIELD_NUMBER
public static final int SPLIT_EXTERNAL_LOCAL_ORIGIN_ERRORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER
public static final int CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENFORCING_CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER
public static final int ENFORCING_CONSECUTIVE_LOCAL_ORIGIN_FAILURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENFORCING_LOCAL_ORIGIN_SUCCESS_RATE_FIELD_NUMBER
public static final int ENFORCING_LOCAL_ORIGIN_SUCCESS_RATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILURE_PERCENTAGE_THRESHOLD_FIELD_NUMBER
public static final int FAILURE_PERCENTAGE_THRESHOLD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENFORCING_FAILURE_PERCENTAGE_FIELD_NUMBER
public static final int ENFORCING_FAILURE_PERCENTAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENFORCING_FAILURE_PERCENTAGE_LOCAL_ORIGIN_FIELD_NUMBER
public static final int ENFORCING_FAILURE_PERCENTAGE_LOCAL_ORIGIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILURE_PERCENTAGE_MINIMUM_HOSTS_FIELD_NUMBER
public static final int FAILURE_PERCENTAGE_MINIMUM_HOSTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILURE_PERCENTAGE_REQUEST_VOLUME_FIELD_NUMBER
public static final int FAILURE_PERCENTAGE_REQUEST_VOLUME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_EJECTION_TIME_FIELD_NUMBER
public static final int MAX_EJECTION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_EJECTION_TIME_JITTER_FIELD_NUMBER
public static final int MAX_EJECTION_TIME_JITTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasConsecutive5Xx
public boolean hasConsecutive5Xx()
The number of consecutive 5xx responses or local origin errors that are mapped to 5xx error codes before a consecutive 5xx ejection occurs. Defaults to 5.
.google.protobuf.UInt32Value consecutive_5xx = 1;- Specified by:
hasConsecutive5Xxin interfaceOutlierDetectionOrBuilder- Returns:
- Whether the consecutive5xx field is set.
-
getConsecutive5Xx
public com.google.protobuf.UInt32Value getConsecutive5Xx()
The number of consecutive 5xx responses or local origin errors that are mapped to 5xx error codes before a consecutive 5xx ejection occurs. Defaults to 5.
.google.protobuf.UInt32Value consecutive_5xx = 1;- Specified by:
getConsecutive5Xxin interfaceOutlierDetectionOrBuilder- Returns:
- The consecutive5xx.
-
getConsecutive5XxOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getConsecutive5XxOrBuilder()
The number of consecutive 5xx responses or local origin errors that are mapped to 5xx error codes before a consecutive 5xx ejection occurs. Defaults to 5.
.google.protobuf.UInt32Value consecutive_5xx = 1;- Specified by:
getConsecutive5XxOrBuilderin 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:
hasIntervalin 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:
getIntervalin 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:
getIntervalOrBuilderin 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:
hasBaseEjectionTimein 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:
getBaseEjectionTimein 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:
getBaseEjectionTimeOrBuilderin interfaceOutlierDetectionOrBuilder
-
hasMaxEjectionPercent
public boolean hasMaxEjectionPercent()
The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value.
.google.protobuf.UInt32Value max_ejection_percent = 4 [(.validate.rules) = { ... }- Specified by:
hasMaxEjectionPercentin 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% but will eject at least one host regardless of the value.
.google.protobuf.UInt32Value max_ejection_percent = 4 [(.validate.rules) = { ... }- Specified by:
getMaxEjectionPercentin 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% but will eject at least one host regardless of the value.
.google.protobuf.UInt32Value max_ejection_percent = 4 [(.validate.rules) = { ... }- Specified by:
getMaxEjectionPercentOrBuilderin 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:
hasEnforcingConsecutive5Xxin 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:
getEnforcingConsecutive5Xxin 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:
getEnforcingConsecutive5XxOrBuilderin 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:
hasEnforcingSuccessRatein 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:
getEnforcingSuccessRatein 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:
getEnforcingSuccessRateOrBuilderin 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:
hasSuccessRateMinimumHostsin 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:
getSuccessRateMinimumHostsin 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:
getSuccessRateMinimumHostsOrBuilderin 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:
hasSuccessRateRequestVolumein 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:
getSuccessRateRequestVolumein 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:
getSuccessRateRequestVolumeOrBuilderin 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:
hasSuccessRateStdevFactorin 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:
getSuccessRateStdevFactorin 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:
getSuccessRateStdevFactorOrBuilderin 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:
hasConsecutiveGatewayFailurein 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:
getConsecutiveGatewayFailurein 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:
getConsecutiveGatewayFailureOrBuilderin 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:
hasEnforcingConsecutiveGatewayFailurein 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:
getEnforcingConsecutiveGatewayFailurein 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:
getEnforcingConsecutiveGatewayFailureOrBuilderin 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:
getSplitExternalLocalOriginErrorsin 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:
hasConsecutiveLocalOriginFailurein 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:
getConsecutiveLocalOriginFailurein 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:
getConsecutiveLocalOriginFailureOrBuilderin 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:
hasEnforcingConsecutiveLocalOriginFailurein 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:
getEnforcingConsecutiveLocalOriginFailurein 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:
getEnforcingConsecutiveLocalOriginFailureOrBuilderin 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:
hasEnforcingLocalOriginSuccessRatein 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:
getEnforcingLocalOriginSuccessRatein 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:
getEnforcingLocalOriginSuccessRateOrBuilderin 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:
hasFailurePercentageThresholdin 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:
getFailurePercentageThresholdin 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:
getFailurePercentageThresholdOrBuilderin 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:
hasEnforcingFailurePercentagein 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:
getEnforcingFailurePercentagein 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:
getEnforcingFailurePercentageOrBuilderin 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:
hasEnforcingFailurePercentageLocalOriginin 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:
getEnforcingFailurePercentageLocalOriginin 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:
getEnforcingFailurePercentageLocalOriginOrBuilderin 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:
hasFailurePercentageMinimumHostsin 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:
getFailurePercentageMinimumHostsin 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:
getFailurePercentageMinimumHostsOrBuilderin 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:
hasFailurePercentageRequestVolumein 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:
getFailurePercentageRequestVolumein 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:
getFailurePercentageRequestVolumeOrBuilderin 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:
hasMaxEjectionTimein 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:
getMaxEjectionTimein 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:
getMaxEjectionTimeOrBuilderin 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:
hasMaxEjectionTimeJitterin 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:
getMaxEjectionTimeJitterin 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:
getMaxEjectionTimeJitterOrBuilderin interfaceOutlierDetectionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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
public static OutlierDetection parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OutlierDetection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OutlierDetection parseDelimitedFrom(InputStream input) throws IOException
- 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
public OutlierDetection.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OutlierDetection.Builder newBuilder()
-
newBuilder
public static OutlierDetection.Builder newBuilder(OutlierDetection prototype)
-
toBuilder
public OutlierDetection.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OutlierDetection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OutlierDetection getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OutlierDetection> parser()
-
getParserForType
public com.google.protobuf.Parser<OutlierDetection> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OutlierDetection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-