Module telemetry::keyed[][src]

Definition of keyed histograms, for data in a set known dynamically.

Definition of keyed (aka “dynamic family of”) histograms.

Keyed histograms represent measures on a set of entities known only at runtime, e.g. plug-ins, user scripts, etc. They are also slower, more memory-consuming and less type-safe than Plain histograms, so you should prefer the latter whenever possible.

Structs

KeyedCount

Count histograms.

KeyedEnum

Enumerated histograms.

KeyedFlag

Flag histograms.

KeyedIgnoring

A histogram that ignores any input.

KeyedLinear

Linear histograms.

Traits

KeyedHistogram

A family of histograms, indexed by some dynamic value. Use these to monitor families of values that cannot be determined at compile-time, e.g. add-ons, programs, etc.