fn elem_binop(
op: BinaryOp,
lhs: SampleRef<'_>,
rhs: SampleRef<'_>,
annotations: Option<&PromqlAnnotationCollector>,
) -> Result<Option<(GridSample, bool)>>Expand description
Prometheus vectorElemBinop over present samples: the value and whether to keep it, or
None when Prometheus reports the pair as an annotation and skips it without counting the
match: an operator the sample types do not support, or an addition or subtraction of
histograms that mix exponential and custom buckets or whose counter reset hints contradict.