Future-aware metrics library.
Many programs need to information about runtime performance: the number of requests
served, a distribution of request latency, the number of failures, the number of loop
tacho::new creates a shareable, scopable metrics registry and a
Scope supports the creation of
handles that may be used to report values. Each of these receivers maintains a weak
reference back to the central stats registry.
Labels are stored in a
BTreeMap because they are used as hash keys and, therefore,
need to implement
Captures an instantaneous value.
Tracks a distribution of values with their sum.
Describes a metric.
Supports creation of scoped metrics.
Caputres a distribution of values.
Creates a metrics registry.