pub fn info(
schema: &Arc<SeriesSchema>,
base: &[Series],
info: &[Series],
selector: &InfoSelector,
) -> Result<Vec<Series>>Expand description
Combines base with the data labels of info.
info holds the info series the selector chooses, one float field each, whose value at a
point is the original timestamp of the sample selected there. For each info metric a base
series takes the info series with the same identifying labels. Several of them at one point are
compared in input order, as Prometheus compares them in the order its storage returns them: a
newer one replaces the one kept so far, and one exactly as new is an error. Labels
the base series already has are kept, and two info metrics giving one label different values
are an error. A base series without identifying labels matches no info series, since
Prometheus fetches none for it, and a base series that is itself an info metric is passed
through. Results that share a label set merge; a field held twice at one point is an error.