mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-19 18:21:34 +02:00
Add documentation on HealthObserve trait
This commit is contained in:
parent
8a0c73f174
commit
50c3687e83
2 changed files with 3 additions and 1 deletions
2
.bleep
2
.bleep
|
@ -1 +1 @@
|
|||
36269b8823b23381398508138bbab33c03ba7681
|
||||
f123f5e43e9ada31a0e541b917ea674527fd06a3
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue