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§
- peak_
ewma - A
Loadimplementation that PeakEWMA on response latency. - pending_
requests - A
Loadimplementation that uses the count of in-flight requests.
Structs§
- Constant
- Wraps a type so that
Load::loadreturns a constant value. - Instrument
Future - Attaches a
I-typed instruments to the result of anF-typedFuture. - NoInstrument
- A
Instrumentimplementation that drops each instrument immediately.
Traits§
- Instrument
- Attaches
I-typed instruments toVtyped values. - Load
- Exposes a load metric.