diff options
Diffstat (limited to 'pingora-load-balancing/src/health_check.rs')
-rw-r--r-- | pingora-load-balancing/src/health_check.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pingora-load-balancing/src/health_check.rs b/pingora-load-balancing/src/health_check.rs index b02776d..ac63579 100644 --- a/pingora-load-balancing/src/health_check.rs +++ b/pingora-load-balancing/src/health_check.rs @@ -24,6 +24,8 @@ use pingora_http::{RequestHeader, ResponseHeader}; use std::sync::Arc; use std::time::Duration; +/// [HealthObserve] is an interface for observing health changes of backends, +/// this is what's used for our health observation callback. #[async_trait] pub trait HealthObserve { /// Observes the health of a [Backend], can be used for monitoring purposes. |