Skip to main content

Module info

Module info 

Source
Expand description

info(v, {selector}): the series of v with the data labels of the info series that share their identifying labels, following Prometheus combineWithInfoSeries and combineWithInfoVector.

Selecting the info series is the caller’s: the series whose name and data labels match the selector, evaluated at every point of the grid like an instant selector, with the value replaced by the original timestamp of the selected sample, as Prometheus’ evalSeries records it for info. This kernel only combines.

Structs§

Choice 🔒
What the info series kept at a point make of one base series.
FirstError 🔒
The error Prometheus reports: the one of the first failing step, and within a step the first of its checks (the info series, then each base series, then the result label sets).
InfoSelector
The second argument of info, split the way Prometheus uses it.
NameMatcher 🔒

Constants§

IDENTIFYING_LABELS 🔒
The labels an info series is joined on, as in Prometheus.
KEPT_POINT_BYTES 🔒
The series one signature keeps at one point, charged twice for the B-tree’s spare room.
PATTERN_BYTES 🔒
The identifying values one base series adds to its presence pattern, charged twice for the spare room of the sets they go to.
SIGNATURE_BYTES 🔒
The entry of one info series’ signature: its key, its map of kept series, and the name the info metric list keeps, charged twice for the spare room of the tables.

Functions§

add_data_labels 🔒
Adds the data labels info gives a series with labels base to added; returns the name of a label another info metric already set to a different value.
column_bytes 🔒
The bytes one result series’ columns take: per row, the grid index, the value and validity column of every field, charged twice for the capacity each grows to, and a histogram index; per histogram, a row of the builder’s histogram table and the buckets copied into it.
effective_name_matchers 🔒
Prometheus effectiveInfoNameMatchers: the name matchers as given when one of them selects, prefixed with .+_info when all of them only exclude, and target_info when there are none.
identifying_values 🔒
The value of each identifying label, None where the series does not have it.
info
Combines base with the data labels of info.
info_inner 🔒
The one info kernel, whether or not a caller accounts for its workspace.
info_with_reservation 🔒
info(), handing the live workspace it holds to reserve before it allocates it.
result_set_bytes 🔒
The bytes a result label set keeps: its metric, rebuilt by each label it is given, the label set it is filed under with the copy of the name that set makes, and its entries in the result list and index.
row_bytes 🔒
One row a result keeps: its entry in the result’s row list, charged twice for the list’s growth, and its samples, allocated at their exact count.

Type Aliases§

Row 🔒
The samples of one result series at one grid point, one per field.
Signature 🔒
An info metric name and the identifying label values present on a series.