[][src]Module metered::common

A module providing common metrics.

Structs

ErrorCount

A metric counting how many times an expression typed std Result as returned an Err variant.

HitCount

A metric counting how many times an expression as been hit, before it returns.

InFlight

A metric providing an in-flight gauge, showing how many calls are currently active for an expression.

ResponseTime

A metric measuring the response time of an expression, that is the duration the expression needed to complete.

Throughput

A metric providing a transaction per second count backed by an histogram.