@@ -955,26 +955,60 @@ message OutlierDetection {
955
955
// Parameters for the failure percentage algorithm.
956
956
// This algorithm ejects individual endpoints whose failure rate is greater than
957
957
// some threshold, independently of any other endpoint
958
+ // Defaults to values declared in envoy.config.cluster.v3.OutlierDetection.SuccessRateEjection
958
959
message FailurePercentageEjection {
959
960
// The failure percentage to use when determining failure percentage-based outlier detection. If
960
961
// the failure percentage of a given address is greater than or equal to this value, it will be
961
- // ejected. Defaults to 85.
962
+ // ejected.
962
963
google.protobuf.UInt32Value threshold = 1 ;
963
964
964
965
// The % chance that an address will be actually ejected when an outlier status is detected through
965
966
// failure percentage statistics. This setting can be used to disable ejection or to ramp it up
966
- // slowly. Defaults to 100.
967
+ // slowly.
967
968
google.protobuf.UInt32Value enforcement_percentage = 2 ;
968
969
969
970
// The minimum number of addresses in order to perform failure percentage-based ejection.
970
971
// If the total number of addresses is less than this value, failure percentage-based
971
- // ejection will not be performed. Defaults to 5.
972
+ // ejection will not be performed.
972
973
google.protobuf.UInt32Value minimum_hosts = 3 ;
973
974
974
975
// The minimum number of total requests that must be collected in one interval (as defined by the
975
976
// interval duration above) to perform failure percentage-based ejection for this address. If the
976
977
// volume is lower than this setting, failure percentage-based ejection will not be performed for
977
- // this host. Defaults to 50.
978
+ // this host.
979
+ google.protobuf.UInt32Value request_volume = 4 ;
980
+ }
981
+
982
+ // Parameters for the success rate ejection algorithm.
983
+ // This algorithm monitors the request success rate for all endpoints and
984
+ // ejects individual endpoints whose success rates are statistical outliers.
985
+ // Defaults to values declared in envoy.config.cluster.v3.OutlierDetection.SuccessRateEjection
986
+ message SuccessRateEjection {
987
+ // This factor is used to determine the ejection threshold for success rate
988
+ // outlier ejection. The ejection threshold is the difference between the
989
+ // mean success rate, and the product of this factor and the standard
990
+ // deviation of the mean success rate: mean - (stdev *
991
+ // success_rate_stdev_factor). This factor is divided by a thousand to get a
992
+ // double. That is, if the desired factor is 1.9, the runtime value should
993
+ // be 1900.
994
+ google.protobuf.UInt32Value stdev_factor = 1 ;
995
+
996
+ // The % chance that an address will be actually ejected when an outlier status
997
+ // is detected through success rate statistics. This setting can be used to
998
+ // disable ejection or to ramp it up slowly.
999
+ google.protobuf.UInt32Value enforcement_percentage = 2 ;
1000
+
1001
+ // The number of addresses that must have enough request volume to
1002
+ // detect success rate outliers. If the number of addresses is less than this
1003
+ // setting, outlier detection via success rate statistics is not performed
1004
+ // for any addresses.
1005
+ google.protobuf.UInt32Value minimum_hosts = 3 ;
1006
+
1007
+ // The minimum number of total requests that must be collected in one
1008
+ // interval (as defined by the interval duration above) to include this address
1009
+ // in success rate based outlier detection. If the volume is lower than this
1010
+ // setting, outlier detection via success rate statistics is not performed
1011
+ // for that address.
978
1012
google.protobuf.UInt32Value request_volume = 4 ;
979
1013
}
980
1014
0 commit comments