Expand description
Versioned binary encoding of OTLP histogram data points Compact, versioned binary encoding of OTLP histogram data points.
Structs§
- Bucket
- One bucket of a histogram, in a layout-independent form.
- ExpBuckets
- Populated buckets of one sign of an exponential histogram:
counts[i]is the bucket at indexoffset + i. - Otel
Histogram - A decoded OTLP histogram data point.
Enums§
- Otel
Buckets - Bucket layout of a histogram.
Constants§
- MAX_
EXP_ SCALE - MIN_
EXP_ SCALE - Valid range of the OTLP exponential histogram scale.
Functions§
- bucket_
center - Representative value of a bucket for plotting: the arithmetic midpoint, or the sign-aware geometric midpoint for non-zero exponential buckets.
- decode_
column - Decodes every row of a Binary/BinaryView column; NULL rows stay
None. - estimate_
quantile - Estimates the value at
ratio(0..=1) of the distribution. None when the histogram is empty. - is_
otel_ blob_ type - True for the column types an encoded OTel histogram can arrive in.
- native_
or_ otel_ signature - Signature accepting the native histogram struct or an OTel histogram blob, followed by
extra_args.