Module metrix::instruments[][src]

Instruments that track values and/or derive values from observations.

Modules

other_instruments

Other instruments

polled

Instruments that poll their values when a snapshot is requested.

switches

Switched have a boolean state that is changed by Observations.

Structs

BorrowedLabelAndUpdate

A label with the associated Update

Counter

A simple ever increasing counter

Gauge

Simply returns the value that has been observed last.

Histogram

For tracking values. E.g. request latencies

LabelAndUpdate

A label with the associated Update

Meter

For measuring rates, e.g. request/s

Panel

The panel shows recorded observations with the same label in different representations.

Enums

Update

An update instruction for an instrument

ValueScaling

Scales incoming values.

Traits

Instrument

Requirement for an instrument

Updates

Implementors of Updates can handle Updates.