Crate metrics_generic

source ·
Expand description

Provides noop implementations of metrics interfaces, to be used by builds which don’t wish to log metrics.

Modules§

Structs§

  • Ensures any cleanup necessary is performed on drop. Can be used to ensure cleanup is done regardless of how the caller exits. Should be idempotent.
  • A logging struct meant for use in tracking and periodically logging a single metric. The metric is aggregated over the designated time period. Intended for use with high-frequency metrics.

Constants§

Functions§