Crate prom [] [src]

Modules

encoder
errors
proto

Structs

Counter

Counter is a Metric that represents a single numerical value that only ever goes up.

Desc
Opts

Opts bundles the options for creating most Metric types.

Registry

Traits

Collector

Type Definitions

CounterVec

CounterVec is a Collector that bundles a set of Counters 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 HTTP requests, partitioned by response code and method).