Module prometheus::core

source ·
Expand description

Core traits and types.

Structs§

Traits§

  • An interface for atomics. Used to generically model float metrics and integer metrics, i.e. Counter and IntCounter.
  • An interface for collecting metrics.
  • An interface for describing the immutable meta-data of a Metric.
  • An interface models a single sample value with its meta data being exported to Prometheus.
  • An interface for building a metric vector.
  • An interface for numbers. Used to generically model float metrics and integer metrics, i.e. Counter and IntCounter.

Type Aliases§