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§

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.
InstrumentFuture
Attaches a I-typed instruments to the result of an F-typed Future.
NoInstrument
A Instrument implementation that drops each instrument immediately.

Traits§

Instrument
Attaches I-typed instruments to V typed values.
Load
Exposes a load metric.