From 1bb5774982c8d795578fe2df82665a3c4fdd2312 Mon Sep 17 00:00:00 2001 From: beorn7 Date: Fri, 13 Dec 2024 00:05:34 +0100 Subject: [PATCH] Small amendment to the native histogram spec This completes the list of functions acting on range vectors that filter out native histograms. Signed-off-by: beorn7 --- content/docs/specs/native_histograms.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/content/docs/specs/native_histograms.md b/content/docs/specs/native_histograms.md index 3d733951..ef32e768 100644 --- a/content/docs/specs/native_histograms.md +++ b/content/docs/specs/native_histograms.md @@ -2009,10 +2009,12 @@ functions below. Need to update the documentation for some of them.) All remaining functions not mentioned in this section do _not_ work with native histograms. Histogram elements in the input vector are silently ignored. (TODO: Make sure this is the case, rather than treating histogram samples as floats -with value 0.) For `_over_time()` functions not mentioned before, -native histogram samples are removed from the input range vector. In case any -series contains a mix of float samples and histogram samples within the range, -the removal of histograms is flagged by an info-level annotation. +with value 0.) For `deriv()`, `double_exponential_smoothing()`, +`predict_linear()`, and all the `_over_time()` functions not +mentioned before, native histogram samples are removed from the input range +vector. In case any series contains a mix of float samples and histogram +samples within the range, the removal of histograms is flagged by an info-level +annotation. ### Recording rules