Skip to main content

Module metrics

Module metrics 

Source
Expand description

Process-wide work counters for columnar chunk maintenance.

Counts describe work attempted, including repeated processing of the same updates. Bytes are serialized uncompressed sizes, not extent or device writes, and only the commit stage records them. Row-size buckets are disjoint, indexed by ceil(log2(rows)) with zero and one sharing bucket zero and the last bucket absorbing everything larger. Counters at different stages must not be added together.

Structsยง

Counters ๐Ÿ”’

Enumsยง

Stage ๐Ÿ”’

Constantsยง

BUCKETS ๐Ÿ”’
Buckets up to 2^24 rows, the last one absorbing anything larger. Chunks are bounded to 2 MiB, so only published batches can reach the last bucket.

Staticsยง

COUNTERS ๐Ÿ”’

Functionsยง

bucket ๐Ÿ”’
record ๐Ÿ”’
record_batch
Record one batch an upsert feedback arrangement published, including empty batches.
register ๐Ÿ”’