Crate fedimint_metrics

source ·

Re-exports§

Macros§

Structs§

Traits§

  • An interface for encoding metric families into an underlying wire protocol.

Functions§

Type Aliases§

  • A Metric represents a single numerical value that can arbitrarily go up and down.
  • A Collector that bundles a set of Gauges that all share the same Desc, but have different values for their variable labels. This is used if you want to count the same thing partitioned by various dimensions (e.g. number of operations queued, partitioned by user and operation type).
  • A Collector that bundles a set of Histograms that all share the same Desc, but have different values for their variable labels. This is used if you want to count the same thing partitioned by various dimensions (e.g. HTTP request latencies, partitioned by status code and method).
  • The integer version of Counter. Provides better performance if metric values are all positive integers (natural numbers).
  • The integer version of CounterVec. Provides better performance if metric are all positive integers (natural numbers).