Expand description
Standardized reporting of time series data via Inspect and trace. It supports recording of enum states and numeric states.
For example use, see the example code.
For the intro to the library, see the README.md.
Macros§
- units
- Assembles fully-specified measurement units for NumericStateRecorder, combining a base unit with an optional prefix.
Structs§
- CStr
- A dynamically-sized view of a C string.
- CString
- A type representing an owned, C-compatible, nul-terminated string with no nul bytes in the middle.
- Enum
State Recorder - Records time series data for an enum-valued state. This is best-suited for categorical observations, where the name of the state and not a numeric value will be most relevant for diagnostic and forensic purposes.
- HashMap
- A hash map implemented with quadratic probing and SIMD lookup.
- Named
U64State Recorder - Records time series data for an named-u64 value state. This is best-suited for categorical observations, where the name of the state and not a numeric value will be most relevant for diagnostic and forensic purposes.
- Numeric
State Recorder - Persistence
Options - Recorder
Options - Options for NumericStateRecorder and EnumStateRecorder
- State
Recorder Manager - Manages the parent node shared by StateRecorder instances, providing protection against name collisions.
Enums§
- Decimal
Prefix - Decimal prefixes for use with certain
Units. - State
Recorder Error - Units
- Units supported by NumericStateRecorder. The
units!macro is recommended for construction.
Traits§
- Recordable
Enum - Supertrait that combines traits an enum type must satisfy to be compatible with StateRecorder.
- Recordable
Numeric Type - To be recordable, a numeric type must, in essence, be able to widen into a trace-compatible type and an Inspect-compatible type. Users are not expected to implement this trait; this module implements it for common numeric types below.