Skip to main content

Module grid_series

Module grid_series 

Source
Expand description

Building evaluated series that cover only their result range on a shared grid.

Structsยง

FieldBuilder ๐Ÿ”’
FieldReader ๐Ÿ”’
Reads one fieldโ€™s rows by locating the dense segment each row sits in.
FieldRun ๐Ÿ”’
A run of merged rows one member field fills out of one dense segment, without copying values.
GridSeriesBuilder
Builds one grid series from rows pushed at absolute grid indices.
HistogramColumn ๐Ÿ”’

Enumsยง

GridSample ๐Ÿ”’
A value of GridSeriesBuilder::push_samples.

Constantsยง

METADATA_LABELS ๐Ÿ”’
Prometheus schema.IsMetadataLabel: the labels removed with the metric name.

Functionsยง

count_runs ๐Ÿ”’
Cuts the retained indices into maximal runs of consecutive positions.
external ๐Ÿ”’
field_builder_bytes ๐Ÿ”’
fields_bytes ๐Ÿ”’
label_set ๐Ÿ”’
The label set Prometheus compares, which has no empty values.
merge_field ๐Ÿ”’
Builds one field of the merged series, one sample per merged row.
merge_same_labelset
Merges series that share a label set into one, as Prometheus does after a function that rewrites labels or drops __name__; two of them holding one field at one point fail, whether the samples are floats or native histograms.
owned ๐Ÿ”’
sample as an owned value; None when missing.
push_missing ๐Ÿ”’
Pushes the merged rows a field leaves empty as one null run.
render_label_set ๐Ÿ”’
A label set as Prometheus prints one in errors: {name="value", ...}.
segment_bytes ๐Ÿ”’
The bytes one dense segment of samples holds.
series_bytes ๐Ÿ”’
spans_of ๐Ÿ”’
table_bytes ๐Ÿ”’
The bytes one histogram table holds: the batch struct and the arrays its columns view.

Type Aliasesยง

LabelSet ๐Ÿ”’