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.
- First
Error 🔒 - 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).
- Info
Selector - The second argument of
info, split the way Prometheus uses it. - Name
Matcher 🔒
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
infogives a series with labelsbasetoadded; 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.+_infowhen all of them only exclude, andtarget_infowhen there are none. - identifying_
values 🔒 - The value of each identifying label,
Nonewhere the series does not have it. - info
- Combines
basewith the data labels ofinfo. - 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 toreservebefore 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.