Expand description
A module providing common metrics.
Structs
Thread-safe implementation of super::RecordThroughput
. It uses a Mutex
to wrap TxPerSec
.
A metric counting how many times an expression typed std Result
as
returned an Err
variant.
A metric counting how many times an expression as been hit, before it returns.
A metric providing an in-flight gauge, showing how many calls are currently active for an expression.
A metric measuring the response time of an expression, that is the duration the expression needed to complete.
A metric providing a transaction per second count backed by a histogram.
Non-thread safe implementation of RecordThroughput
. Use as
RefCell<TxPerSec<T>>
.
Traits
Trait to record the throughput on a Throughput
instance.