Expand description

A module defining the Metric trait and common metric backends.

Structs

Handles a metric’s lifecycle, guarding against early returns and panics.

Enums

Re-export aspect-rs’s types to avoid crates depending on it. An Advice describes what the aspect should do on return

Traits

A trait for Counters

Re-export aspect-rs’s types to avoid crates depending on it. The Enter trait is called when entering in an aspect, before the wrapped expression is called.

A trait for Gauges

A trait for Histograms

A trait to implement to be used in the measure! macro

Re-export aspect-rs’s types to avoid crates depending on it. The OnResult trait is implemented on Aspects to get notified when an expression has returned.

Re-export aspect-rs’s types to avoid crates depending on it. The OnResult trait is implemented on Aspects to get notified when an expression has returned, and provide the possibility to alter the result.