[−][src]Module metrix::instruments
Instruments that track values and/or derive values from observations.
Re-exports
pub use self::other_instruments::*; |
pub use self::polled::*; |
pub use self::switches::*; |
pub use crate::cockpit::Cockpit; |
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
|
Structs
BorrowedLabelAndUpdate | A label with the associated |
Counter | A simple ever increasing counter |
Gauge | Simply returns the value that has been observed last. |
GaugeAdapter | |
Histogram | For tracking values. E.g. request latencies |
InstrumentAdapter | |
LabelAndUpdate | A label with the associated |
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 |
Traits
Instrument | Requirement for an instrument |
Updates | Implementors of |