Skip to main content

Module codec

Module codec 

Source
Expand description

Carbon plaintext: UTF-8 metric path, finite value and timestamp, terminated by LF.

Structs§

Decoder
TCP has no batch boundaries. Drain at most 256 complete lines from one bounded read before dispatching; retain the partial next line for the following read.
Metric

Constants§

DEFAULT_LLM_FALLBACK
MAX_BATCH_BYTES
MAX_BATCH_RECORDS
MAX_LINE_BYTES
READ_BYTES

Functions§

encode_batch
parse_line