Skip to main content

Module prom

Module prom 

Source
Expand description

Reader of the Prometheus text a node serves at GET /nodes/{id}/metrics (doc 34, section 7): names, labels and values, plus the # TYPE of each family so counters can be told from gauges.

Structs§

Metrics
Sample

Functions§

rate
Events per second between two readings of a counter. A counter that went down means the node restarted: there is no rate for that interval (never a negative one).