Skip to main content

Module identity

Module identity 

Source
Expand description

The exact series identity that SSTs already store.

tsid is a hash, so two distinct series can share one MetricSeriesId. The sparse primary key stored by the SST is exact, so every place that decides whether two rows belong to the same series decides it on ExactSeriesKey.

Structsยง

ExactSeriesKey ๐Ÿ”’
The exact identity of one series: its canonical sparse primary-key bytes.
Hex ๐Ÿ”’
Prints at most HEX_LIMIT bytes of a key, so logs stay bounded.

Enumsยง

IdentityEncoding ๐Ÿ”’
The identity semantics and storage layout an artifact was written with.

Constantsยง

HEX_LIMIT ๐Ÿ”’

Functionsยง

decode_series_identity ๐Ÿ”’
Decodes one sparse primary key into its exact identity and tag_columns labels.