Crate tower_load
source ·Expand description
Abstractions and utilties for measuring a service’s load.
Re-exports§
pub use self::peak_ewma::PeakEwma;pub use self::peak_ewma::PeakEwmaDiscover;pub use self::pending_requests::PendingRequests;pub use self::pending_requests::PendingRequestsDiscover;
Modules§
- A
Loadimplementation that PeakEWMA on response latency. - A
Loadimplementation that uses the count of in-flight requests.
Structs§
- Wraps a type so that
Load::loadreturns a constant value. - Attaches a
I-typed instruments to the result of anF-typedFuture. - A
Instrumentimplementation that drops each instrument immediately.
Traits§
- Attaches
I-typed instruments toVtyped values. - Exposes a load metric.