Modules§
Structs§
- Decodes bincode format serialized data
TraceSpan
traces hummock operations. It marks the beginning of an operation and the end when the span is dropped. So, please make sure the span live long enough. Underscore binding likelet _ = span
will drop the span immediately.
Enums§
- Operations represents Hummock operations
TraceResult
discards Error and only traces whether succeeded or not. Use Option rather than Result because itβs overhead to serialize Error.
Constants§
Statics§
Traits§
- Deserializer decodes a record from memory
Functions§
- Initialize the
GLOBAL_COLLECTOR
with configured log file - Returns whether trace should be used based on the environment variable