Crate snarkos_metrics[−][src]
Modules
connections | |
handshakes | |
inbound | |
misc | |
outbound | |
queues | |
snapshots | |
stats |
Macros
counter | |
decrement_gauge | |
gauge | |
histogram | |
increment_counter | |
increment_gauge | |
register_counter | |
register_gauge | |
register_histogram |
Structs
Key | A metric identifier. |
KeyHasher | Key-specific hashing algorithm. |
Label | Metadata for a metric key in the for of a key/value pair. |
NoopRecorder | A no-op recorder. |
SetRecorderError | The type returned by |
Enums
GaugeValue | Value of a gauge operation. |
Unit | Units for a given metric. |
Traits
IntoF64 | An object which can be converted into a |
IntoLabels | A value that can be converted to a vector of |
Recorder | A trait for registering and recording metrics. |
Functions
initialize | |
recorder | Returns a reference to the recorder. |
set_boxed_recorder | Sets the global recorder to a |
set_recorder | Sets the global recorder to a |
set_recorder_racy⚠ | A thread-unsafe version of |
try_recorder | Returns a reference to the recorder. |
Type Definitions
SharedString | An allocation-optimized string. |