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