Skip to main content

info_sample_times

Function info_sample_times 

Source
pub fn info_sample_times(
    schema: &Arc<SeriesSchema>,
    metric: &SeriesLabels,
    time: &RawTimestamps,
    fields: &SeriesFields,
    indices: &[u64],
    evaluation_timestamps: &[i64],
) -> Result<Option<Series>>
Expand description

The series info() reads its data labels from: at each point the selection holds, the original time of the selected sample in milliseconds, as Prometheus’ evalSeries records it for info. The labels are kept. Info series hold float samples, so a selected native histogram fails.

Takes the same selection as timestamp_of_selection.