Module dipstick::cache [] [src]

Cache defined metrics.

Structs

MetricCache

A cache to help with ad-hoc defined metrics Does not alter the values of the metrics

Functions

cache

Cache metrics to prevent them from being re-defined on every use. Use of this should be transparent, this has no effect on the values. Stateful sinks (i.e. Aggregate) may naturally cache their definitions.

Type Definitions

CachedKey

The cache key copies the target key.