Macros

Structs

A counter.

A gauge.

A histogram.

A metric identifier.

Key-specific hashing algorithm.

Name component of a key.

Metadata for a metric key in the for of a key/value pair.

A no-op recorder.

The type returned by set_recorder if set_recorder has already been called.

Enums

Value of a gauge operation.

Units for a given metric.

Traits

A counter handler.

A gauge handler.

A histogram handler.

An object which can be converted into a f64 representation.

A value that can be converted to a vector of Labels.

A trait for registering and recording metrics.

Functions

Returns a reference to the recorder.

Sets the global recorder to a Box<Recorder>.

Sets the global recorder to a &'static Recorder.

A thread-unsafe version of set_recorder.

Returns a reference to the recorder.

Type Definitions

An allocation-optimized string.