outlier_detection.h
Go to the documentation of this file.
1 //
2 // Copyright 2022 gRPC authors.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 
17 #ifndef GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_LB_POLICY_OUTLIER_DETECTION_OUTLIER_DETECTION_H
18 #define GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_LB_POLICY_OUTLIER_DETECTION_OUTLIER_DETECTION_H
19 
21 
22 #include <stdint.h> // for uint32_t
23 
24 #include "absl/types/optional.h"
25 
27 
28 namespace grpc_core {
29 
31 
42  };
48  };
51 };
52 } // namespace grpc_core
53 
54 #endif // GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_LB_POLICY_OUTLIER_DETECTION_OUTLIER_DETECTION_H
grpc_core::OutlierDetectionConfig::max_ejection_percent
uint32_t max_ejection_percent
Definition: outlier_detection.h:36
grpc_core
Definition: call_metric_recorder.h:31
grpc_core::OutlierDetectionConfig::base_ejection_time
Duration base_ejection_time
Definition: outlier_detection.h:34
grpc_core::OutlierDetectionConfig::FailurePercentageEjection::minimum_hosts
uint32_t minimum_hosts
Definition: outlier_detection.h:46
grpc_core::OutlierDetectionConfig::FailurePercentageEjection::request_volume
uint32_t request_volume
Definition: outlier_detection.h:47
grpc_core::OutlierDetectionConfig::success_rate_ejection
absl::optional< SuccessRateEjection > success_rate_ejection
Definition: outlier_detection.h:49
grpc_core::XdsOutlierDetectionEnabled
bool XdsOutlierDetectionEnabled()
Definition: outlier_detection.cc:77
grpc_core::OutlierDetectionConfig::max_ejection_time
Duration max_ejection_time
Definition: outlier_detection.h:35
uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
grpc_core::OutlierDetectionConfig::interval
Duration interval
Definition: outlier_detection.h:33
grpc_core::OutlierDetectionConfig::SuccessRateEjection::stdev_factor
uint32_t stdev_factor
Definition: outlier_detection.h:38
absl::optional
Definition: abseil-cpp/absl/types/internal/optional.h:61
grpc_core::OutlierDetectionConfig::SuccessRateEjection
Definition: outlier_detection.h:37
time.h
grpc_core::OutlierDetectionConfig::FailurePercentageEjection::enforcement_percentage
uint32_t enforcement_percentage
Definition: outlier_detection.h:45
stdint.h
grpc_core::Duration::Milliseconds
static constexpr Duration Milliseconds(int64_t millis)
Definition: src/core/lib/gprpp/time.h:155
grpc_core::OutlierDetectionConfig::FailurePercentageEjection
Definition: outlier_detection.h:43
grpc_core::OutlierDetectionConfig::failure_percentage_ejection
absl::optional< FailurePercentageEjection > failure_percentage_ejection
Definition: outlier_detection.h:50
grpc_core::OutlierDetectionConfig::SuccessRateEjection::request_volume
uint32_t request_volume
Definition: outlier_detection.h:41
grpc_core::OutlierDetectionConfig
Definition: outlier_detection.h:32
grpc_core::OutlierDetectionConfig::SuccessRateEjection::enforcement_percentage
uint32_t enforcement_percentage
Definition: outlier_detection.h:39
grpc_core::Duration
Definition: src/core/lib/gprpp/time.h:122
grpc_core::OutlierDetectionConfig::FailurePercentageEjection::threshold
uint32_t threshold
Definition: outlier_detection.h:44
grpc_core::Duration::Infinity
static constexpr Duration Infinity()
Definition: src/core/lib/gprpp/time.h:139
grpc_core::OutlierDetectionConfig::SuccessRateEjection::minimum_hosts
uint32_t minimum_hosts
Definition: outlier_detection.h:40
port_platform.h


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:46