iroh_metrics

Module core

Source
Expand description

Expose core types and traits

Structs§

  • Core is the base metrics struct. It manages the mapping between the metrics name and the actual metrics. It also carries a single prometheus registry to be used by all metrics.
  • Open Metrics Counter to measure discrete events.
  • Exposes a simple API to report usage statistics.
  • Usage statistics report.

Traits§

  • Interface for all distribution based metrics.
  • Description of a group of metrics.
  • Interface for all single value based metrics.

Type Aliases§