From 8fa615dace71081e0fbd563063f18b2d4a6d6b45 Mon Sep 17 00:00:00 2001 From: Charles Korn Date: Tue, 6 Aug 2024 16:01:24 +1000 Subject: [PATCH] Disable unsupported newly added test cases --- .../testdata/upstream/aggregators.test | 5 +- .../testdata/upstream/native_histograms.test | 645 +++++++++++------- 2 files changed, 390 insertions(+), 260 deletions(-) diff --git a/pkg/streamingpromql/testdata/upstream/aggregators.test b/pkg/streamingpromql/testdata/upstream/aggregators.test index 5e18e28cbb..9559be17cb 100644 --- a/pkg/streamingpromql/testdata/upstream/aggregators.test +++ b/pkg/streamingpromql/testdata/upstream/aggregators.test @@ -601,8 +601,9 @@ load 10s data{test="nan",group="2",point="a"} 2 data{test="nan",group="2",point="b"} NaN -eval instant at 1m sum(data{test="ten"}) - {} 10 +# Unsupported by streaming engine. +# eval instant at 1m sum(data{test="ten"}) +# {} 10 eval instant at 1m sum by (group) (data{test="pos_inf"}) {group="1"} Inf diff --git a/pkg/streamingpromql/testdata/upstream/native_histograms.test b/pkg/streamingpromql/testdata/upstream/native_histograms.test index adf78152d1..4ec8386f2b 100644 --- a/pkg/streamingpromql/testdata/upstream/native_histograms.test +++ b/pkg/streamingpromql/testdata/upstream/native_histograms.test @@ -335,429 +335,553 @@ eval instant at 10m histogram_sum(histogram_count_sum_2) load 10m histogram_stddev_stdvar_1 {{schema:2 count:4 sum:10 buckets:[1 0 0 0 1 0 0 1 1]}}x1 -eval instant at 10m histogram_stddev(histogram_stddev_stdvar_1) - {} 1.0787993180043811 +# Unsupported by streaming engine. +# eval instant at 10m histogram_stddev(histogram_stddev_stdvar_1) +# {} 1.0787993180043811 -eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_1) - {} 1.163807968526718 +# Unsupported by streaming engine. +# eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_1) +# {} 1.163807968526718 # Apply stddev and stdvar function to histogram with {1, 1, 1, 1} (high res). load 10m histogram_stddev_stdvar_2 {{schema:8 count:10 sum:10 buckets:[1 2 3 4]}}x1 -eval instant at 10m histogram_stddev(histogram_stddev_stdvar_2) - {} 0.0048960313898237465 +# Unsupported by streaming engine. +# eval instant at 10m histogram_stddev(histogram_stddev_stdvar_2) +# {} 0.0048960313898237465 -eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_2) - {} 2.3971123370139447e-05 +# Unsupported by streaming engine. +# eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_2) +# {} 2.3971123370139447e-05 # Apply stddev and stdvar function to histogram with {-50, -8, 0, 3, 8, 9}. load 10m histogram_stddev_stdvar_3 {{schema:3 count:7 sum:62 z_bucket:1 buckets:[0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 ] n_buckets:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 ]}}x1 -eval instant at 10m histogram_stddev(histogram_stddev_stdvar_3) - {} 42.947236400258 +# Unsupported by streaming engine. +# eval instant at 10m histogram_stddev(histogram_stddev_stdvar_3) +# {} 42.947236400258 -eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_3) - {} 1844.4651144196398 +# Unsupported by streaming engine. +# eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_3) +# {} 1844.4651144196398 # Apply stddev and stdvar function to histogram with {-100000, -10000, -1000, -888, -888, -100, -50, -9, -8, -3}. load 10m histogram_stddev_stdvar_4 {{schema:0 count:10 sum:-112946 z_bucket:0 n_buckets:[0 0 1 1 1 0 1 1 0 0 3 0 0 0 1 0 0 1]}}x1 -eval instant at 10m histogram_stddev(histogram_stddev_stdvar_4) - {} 27556.344499842 +# Unsupported by streaming engine. +# eval instant at 10m histogram_stddev(histogram_stddev_stdvar_4) +# {} 27556.344499842 -eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_4) - {} 759352122.1939945 +# Unsupported by streaming engine. +# eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_4) +# {} 759352122.1939945 # Apply stddev and stdvar function to histogram with {-10x10}. load 10m histogram_stddev_stdvar_5 {{schema:0 count:10 sum:-100 z_bucket:0 n_buckets:[0 0 0 0 10]}}x1 -eval instant at 10m histogram_stddev(histogram_stddev_stdvar_5) - {} 1.3137084989848 +# Unsupported by streaming engine. +# eval instant at 10m histogram_stddev(histogram_stddev_stdvar_5) +# {} 1.3137084989848 -eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_5) - {} 1.725830020304794 +# Unsupported by streaming engine. +# eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_5) +# {} 1.725830020304794 # Apply stddev and stdvar function to histogram with {-50, -8, 0, 3, 8, 9, NaN}. load 10m histogram_stddev_stdvar_6 {{schema:3 count:7 sum:NaN z_bucket:1 buckets:[0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 ] n_buckets:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 ]}}x1 -eval instant at 10m histogram_stddev(histogram_stddev_stdvar_6) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_stddev(histogram_stddev_stdvar_6) +# {} NaN -eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_6) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_6) +# {} NaN # Apply stddev and stdvar function to histogram with {-50, -8, 0, 3, 8, 9, Inf}. load 10m histogram_stddev_stdvar_7 {{schema:3 count:7 sum:Inf z_bucket:1 buckets:[0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 ] n_buckets:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 ]}}x1 -eval instant at 10m histogram_stddev(histogram_stddev_stdvar_7) - {} Inf +# Unsupported by streaming engine. +# eval instant at 10m histogram_stddev(histogram_stddev_stdvar_7) +# {} Inf -eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_7) - {} Inf +# Unsupported by streaming engine. +# eval instant at 10m histogram_stdvar(histogram_stddev_stdvar_7) +# {} Inf # Apply quantile function to histogram with all positive buckets with zero bucket. load 10m histogram_quantile_1 {{schema:0 count:12 sum:100 z_bucket:2 z_bucket_w:0.001 buckets:[2 3 0 1 4]}}x1 -eval_warn instant at 10m histogram_quantile(1.001, histogram_quantile_1) - {} Inf +# Unsupported by streaming engine. +# eval_warn instant at 10m histogram_quantile(1.001, histogram_quantile_1) +# {} Inf -eval instant at 10m histogram_quantile(1, histogram_quantile_1) - {} 16 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(1, histogram_quantile_1) +# {} 16 -eval instant at 10m histogram_quantile(0.99, histogram_quantile_1) - {} 15.759999999999998 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.99, histogram_quantile_1) +# {} 15.759999999999998 -eval instant at 10m histogram_quantile(0.9, histogram_quantile_1) - {} 13.600000000000001 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.9, histogram_quantile_1) +# {} 13.600000000000001 -eval instant at 10m histogram_quantile(0.6, histogram_quantile_1) - {} 4.799999999999997 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.6, histogram_quantile_1) +# {} 4.799999999999997 -eval instant at 10m histogram_quantile(0.5, histogram_quantile_1) - {} 1.6666666666666665 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.5, histogram_quantile_1) +# {} 1.6666666666666665 -eval instant at 10m histogram_quantile(0.1, histogram_quantile_1) - {} 0.0006000000000000001 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.1, histogram_quantile_1) +# {} 0.0006000000000000001 -eval instant at 10m histogram_quantile(0, histogram_quantile_1) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0, histogram_quantile_1) +# {} 0 -eval_warn instant at 10m histogram_quantile(-1, histogram_quantile_1) - {} -Inf +# Unsupported by streaming engine. +# eval_warn instant at 10m histogram_quantile(-1, histogram_quantile_1) +# {} -Inf # Apply quantile function to histogram with all negative buckets with zero bucket. load 10m histogram_quantile_2 {{schema:0 count:12 sum:100 z_bucket:2 z_bucket_w:0.001 n_buckets:[2 3 0 1 4]}}x1 -eval_warn instant at 10m histogram_quantile(1.001, histogram_quantile_2) - {} Inf +# Unsupported by streaming engine. +# eval_warn instant at 10m histogram_quantile(1.001, histogram_quantile_2) +# {} Inf -eval instant at 10m histogram_quantile(1, histogram_quantile_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(1, histogram_quantile_2) +# {} 0 -eval instant at 10m histogram_quantile(0.99, histogram_quantile_2) - {} -6.000000000000048e-05 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.99, histogram_quantile_2) +# {} -6.000000000000048e-05 -eval instant at 10m histogram_quantile(0.9, histogram_quantile_2) - {} -0.0005999999999999996 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.9, histogram_quantile_2) +# {} -0.0005999999999999996 -eval instant at 10m histogram_quantile(0.5, histogram_quantile_2) - {} -1.6666666666666667 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.5, histogram_quantile_2) +# {} -1.6666666666666667 -eval instant at 10m histogram_quantile(0.1, histogram_quantile_2) - {} -13.6 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.1, histogram_quantile_2) +# {} -13.6 -eval instant at 10m histogram_quantile(0, histogram_quantile_2) - {} -16 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0, histogram_quantile_2) +# {} -16 -eval_warn instant at 10m histogram_quantile(-1, histogram_quantile_2) - {} -Inf +# Unsupported by streaming engine. +# eval_warn instant at 10m histogram_quantile(-1, histogram_quantile_2) +# {} -Inf # Apply quantile function to histogram with both positive and negative buckets with zero bucket. load 10m histogram_quantile_3 {{schema:0 count:24 sum:100 z_bucket:4 z_bucket_w:0.001 buckets:[2 3 0 1 4] n_buckets:[2 3 0 1 4]}}x1 -eval_warn instant at 10m histogram_quantile(1.001, histogram_quantile_3) - {} Inf +# Unsupported by streaming engine. +# eval_warn instant at 10m histogram_quantile(1.001, histogram_quantile_3) +# {} Inf -eval instant at 10m histogram_quantile(1, histogram_quantile_3) - {} 16 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(1, histogram_quantile_3) +# {} 16 -eval instant at 10m histogram_quantile(0.99, histogram_quantile_3) - {} 15.519999999999996 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.99, histogram_quantile_3) +# {} 15.519999999999996 -eval instant at 10m histogram_quantile(0.9, histogram_quantile_3) - {} 11.200000000000003 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.9, histogram_quantile_3) +# {} 11.200000000000003 -eval instant at 10m histogram_quantile(0.7, histogram_quantile_3) - {} 1.2666666666666657 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.7, histogram_quantile_3) +# {} 1.2666666666666657 -eval instant at 10m histogram_quantile(0.55, histogram_quantile_3) - {} 0.0006000000000000005 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.55, histogram_quantile_3) +# {} 0.0006000000000000005 -eval instant at 10m histogram_quantile(0.5, histogram_quantile_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.5, histogram_quantile_3) +# {} 0 -eval instant at 10m histogram_quantile(0.45, histogram_quantile_3) - {} -0.0005999999999999996 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.45, histogram_quantile_3) +# {} -0.0005999999999999996 -eval instant at 10m histogram_quantile(0.3, histogram_quantile_3) - {} -1.266666666666667 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.3, histogram_quantile_3) +# {} -1.266666666666667 -eval instant at 10m histogram_quantile(0.1, histogram_quantile_3) - {} -11.2 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.1, histogram_quantile_3) +# {} -11.2 -eval instant at 10m histogram_quantile(0.01, histogram_quantile_3) - {} -15.52 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0.01, histogram_quantile_3) +# {} -15.52 -eval instant at 10m histogram_quantile(0, histogram_quantile_3) - {} -16 +# Unsupported by streaming engine. +# eval instant at 10m histogram_quantile(0, histogram_quantile_3) +# {} -16 -eval_warn instant at 10m histogram_quantile(-1, histogram_quantile_3) - {} -Inf +# Unsupported by streaming engine. +# eval_warn instant at 10m histogram_quantile(-1, histogram_quantile_3) +# {} -Inf # Apply fraction function to empty histogram. load 10m histogram_fraction_1 {{}}x1 -eval instant at 10m histogram_fraction(3.1415, 42, histogram_fraction_1) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(3.1415, 42, histogram_fraction_1) +# {} NaN # Apply fraction function to histogram with positive and zero buckets. load 10m histogram_fraction_2 {{schema:0 count:12 sum:100 z_bucket:2 z_bucket_w:0.001 buckets:[2 3 0 1 4]}}x1 -eval instant at 10m histogram_fraction(0, +Inf, histogram_fraction_2) - {} 1 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0, +Inf, histogram_fraction_2) +# {} 1 -eval instant at 10m histogram_fraction(-Inf, 0, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-Inf, 0, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(-0.001, 0, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-0.001, 0, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(0, 0.001, histogram_fraction_2) - {} 0.16666666666666666 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0, 0.001, histogram_fraction_2) +# {} 0.16666666666666666 -eval instant at 10m histogram_fraction(0, 0.0005, histogram_fraction_2) - {} 0.08333333333333333 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0, 0.0005, histogram_fraction_2) +# {} 0.08333333333333333 -eval instant at 10m histogram_fraction(0.001, inf, histogram_fraction_2) - {} 0.8333333333333334 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0.001, inf, histogram_fraction_2) +# {} 0.8333333333333334 -eval instant at 10m histogram_fraction(-inf, -0.001, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-inf, -0.001, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(1, 2, histogram_fraction_2) - {} 0.25 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1, 2, histogram_fraction_2) +# {} 0.25 -eval instant at 10m histogram_fraction(1.5, 2, histogram_fraction_2) - {} 0.125 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1.5, 2, histogram_fraction_2) +# {} 0.125 -eval instant at 10m histogram_fraction(1, 8, histogram_fraction_2) - {} 0.3333333333333333 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1, 8, histogram_fraction_2) +# {} 0.3333333333333333 -eval instant at 10m histogram_fraction(1, 6, histogram_fraction_2) - {} 0.2916666666666667 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1, 6, histogram_fraction_2) +# {} 0.2916666666666667 -eval instant at 10m histogram_fraction(1.5, 6, histogram_fraction_2) - {} 0.16666666666666666 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1.5, 6, histogram_fraction_2) +# {} 0.16666666666666666 -eval instant at 10m histogram_fraction(-2, -1, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-2, -1, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(-2, -1.5, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-2, -1.5, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(-8, -1, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-8, -1, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(-6, -1, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-6, -1, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(-6, -1.5, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-6, -1.5, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(42, 3.1415, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(42, 3.1415, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(0, 0, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0, 0, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(0.000001, 0.000001, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0.000001, 0.000001, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(42, 42, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(42, 42, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(-3.1, -3.1, histogram_fraction_2) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-3.1, -3.1, histogram_fraction_2) +# {} 0 -eval instant at 10m histogram_fraction(3.1415, NaN, histogram_fraction_2) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(3.1415, NaN, histogram_fraction_2) +# {} NaN -eval instant at 10m histogram_fraction(NaN, 42, histogram_fraction_2) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(NaN, 42, histogram_fraction_2) +# {} NaN -eval instant at 10m histogram_fraction(NaN, NaN, histogram_fraction_2) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(NaN, NaN, histogram_fraction_2) +# {} NaN -eval instant at 10m histogram_fraction(-Inf, +Inf, histogram_fraction_2) - {} 1 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-Inf, +Inf, histogram_fraction_2) +# {} 1 # Apply fraction function to histogram with negative and zero buckets. load 10m histogram_fraction_3 {{schema:0 count:12 sum:100 z_bucket:2 z_bucket_w:0.001 n_buckets:[2 3 0 1 4]}}x1 -eval instant at 10m histogram_fraction(0, +Inf, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0, +Inf, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(-Inf, 0, histogram_fraction_3) - {} 1 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-Inf, 0, histogram_fraction_3) +# {} 1 -eval instant at 10m histogram_fraction(-0.001, 0, histogram_fraction_3) - {} 0.16666666666666666 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-0.001, 0, histogram_fraction_3) +# {} 0.16666666666666666 -eval instant at 10m histogram_fraction(0, 0.001, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0, 0.001, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(-0.0005, 0, histogram_fraction_3) - {} 0.08333333333333333 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-0.0005, 0, histogram_fraction_3) +# {} 0.08333333333333333 -eval instant at 10m histogram_fraction(0.001, inf, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0.001, inf, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(-inf, -0.001, histogram_fraction_3) - {} 0.8333333333333334 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-inf, -0.001, histogram_fraction_3) +# {} 0.8333333333333334 -eval instant at 10m histogram_fraction(1, 2, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1, 2, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(1.5, 2, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1.5, 2, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(1, 8, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1, 8, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(1, 6, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1, 6, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(1.5, 6, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1.5, 6, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(-2, -1, histogram_fraction_3) - {} 0.25 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-2, -1, histogram_fraction_3) +# {} 0.25 -eval instant at 10m histogram_fraction(-2, -1.5, histogram_fraction_3) - {} 0.125 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-2, -1.5, histogram_fraction_3) +# {} 0.125 -eval instant at 10m histogram_fraction(-8, -1, histogram_fraction_3) - {} 0.3333333333333333 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-8, -1, histogram_fraction_3) +# {} 0.3333333333333333 -eval instant at 10m histogram_fraction(-6, -1, histogram_fraction_3) - {} 0.2916666666666667 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-6, -1, histogram_fraction_3) +# {} 0.2916666666666667 -eval instant at 10m histogram_fraction(-6, -1.5, histogram_fraction_3) - {} 0.16666666666666666 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-6, -1.5, histogram_fraction_3) +# {} 0.16666666666666666 -eval instant at 10m histogram_fraction(42, 3.1415, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(42, 3.1415, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(0, 0, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0, 0, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(0.000001, 0.000001, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0.000001, 0.000001, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(42, 42, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(42, 42, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(-3.1, -3.1, histogram_fraction_3) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-3.1, -3.1, histogram_fraction_3) +# {} 0 -eval instant at 10m histogram_fraction(3.1415, NaN, histogram_fraction_3) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(3.1415, NaN, histogram_fraction_3) +# {} NaN -eval instant at 10m histogram_fraction(NaN, 42, histogram_fraction_3) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(NaN, 42, histogram_fraction_3) +# {} NaN -eval instant at 10m histogram_fraction(NaN, NaN, histogram_fraction_3) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(NaN, NaN, histogram_fraction_3) +# {} NaN -eval instant at 10m histogram_fraction(-Inf, +Inf, histogram_fraction_3) - {} 1 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-Inf, +Inf, histogram_fraction_3) +# {} 1 # Apply fraction function to histogram with both positive, negative and zero buckets. load 10m histogram_fraction_4 {{schema:0 count:24 sum:100 z_bucket:4 z_bucket_w:0.001 buckets:[2 3 0 1 4] n_buckets:[2 3 0 1 4]}}x1 -eval instant at 10m histogram_fraction(0, +Inf, histogram_fraction_4) - {} 0.5 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0, +Inf, histogram_fraction_4) +# {} 0.5 -eval instant at 10m histogram_fraction(-Inf, 0, histogram_fraction_4) - {} 0.5 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-Inf, 0, histogram_fraction_4) +# {} 0.5 -eval instant at 10m histogram_fraction(-0.001, 0, histogram_fraction_4) - {} 0.08333333333333333 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-0.001, 0, histogram_fraction_4) +# {} 0.08333333333333333 -eval instant at 10m histogram_fraction(0, 0.001, histogram_fraction_4) - {} 0.08333333333333333 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0, 0.001, histogram_fraction_4) +# {} 0.08333333333333333 -eval instant at 10m histogram_fraction(-0.0005, 0.0005, histogram_fraction_4) - {} 0.08333333333333333 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-0.0005, 0.0005, histogram_fraction_4) +# {} 0.08333333333333333 -eval instant at 10m histogram_fraction(0.001, inf, histogram_fraction_4) - {} 0.4166666666666667 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0.001, inf, histogram_fraction_4) +# {} 0.4166666666666667 -eval instant at 10m histogram_fraction(-inf, -0.001, histogram_fraction_4) - {} 0.4166666666666667 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-inf, -0.001, histogram_fraction_4) +# {} 0.4166666666666667 -eval instant at 10m histogram_fraction(1, 2, histogram_fraction_4) - {} 0.125 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1, 2, histogram_fraction_4) +# {} 0.125 -eval instant at 10m histogram_fraction(1.5, 2, histogram_fraction_4) - {} 0.0625 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1.5, 2, histogram_fraction_4) +# {} 0.0625 -eval instant at 10m histogram_fraction(1, 8, histogram_fraction_4) - {} 0.16666666666666666 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1, 8, histogram_fraction_4) +# {} 0.16666666666666666 -eval instant at 10m histogram_fraction(1, 6, histogram_fraction_4) - {} 0.14583333333333334 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1, 6, histogram_fraction_4) +# {} 0.14583333333333334 -eval instant at 10m histogram_fraction(1.5, 6, histogram_fraction_4) - {} 0.08333333333333333 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(1.5, 6, histogram_fraction_4) +# {} 0.08333333333333333 -eval instant at 10m histogram_fraction(-2, -1, histogram_fraction_4) - {} 0.125 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-2, -1, histogram_fraction_4) +# {} 0.125 -eval instant at 10m histogram_fraction(-2, -1.5, histogram_fraction_4) - {} 0.0625 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-2, -1.5, histogram_fraction_4) +# {} 0.0625 -eval instant at 10m histogram_fraction(-8, -1, histogram_fraction_4) - {} 0.16666666666666666 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-8, -1, histogram_fraction_4) +# {} 0.16666666666666666 -eval instant at 10m histogram_fraction(-6, -1, histogram_fraction_4) - {} 0.14583333333333334 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-6, -1, histogram_fraction_4) +# {} 0.14583333333333334 -eval instant at 10m histogram_fraction(-6, -1.5, histogram_fraction_4) - {} 0.08333333333333333 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-6, -1.5, histogram_fraction_4) +# {} 0.08333333333333333 -eval instant at 10m histogram_fraction(42, 3.1415, histogram_fraction_4) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(42, 3.1415, histogram_fraction_4) +# {} 0 -eval instant at 10m histogram_fraction(0, 0, histogram_fraction_4) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0, 0, histogram_fraction_4) +# {} 0 -eval instant at 10m histogram_fraction(0.000001, 0.000001, histogram_fraction_4) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(0.000001, 0.000001, histogram_fraction_4) +# {} 0 -eval instant at 10m histogram_fraction(42, 42, histogram_fraction_4) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(42, 42, histogram_fraction_4) +# {} 0 -eval instant at 10m histogram_fraction(-3.1, -3.1, histogram_fraction_4) - {} 0 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-3.1, -3.1, histogram_fraction_4) +# {} 0 -eval instant at 10m histogram_fraction(3.1415, NaN, histogram_fraction_4) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(3.1415, NaN, histogram_fraction_4) +# {} NaN -eval instant at 10m histogram_fraction(NaN, 42, histogram_fraction_4) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(NaN, 42, histogram_fraction_4) +# {} NaN -eval instant at 10m histogram_fraction(NaN, NaN, histogram_fraction_4) - {} NaN +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(NaN, NaN, histogram_fraction_4) +# {} NaN -eval instant at 10m histogram_fraction(-Inf, +Inf, histogram_fraction_4) - {} 1 +# Unsupported by streaming engine. +# eval instant at 10m histogram_fraction(-Inf, +Inf, histogram_fraction_4) +# {} 1 -eval instant at 10m histogram_sum(scalar(histogram_fraction(-Inf, +Inf, sum(histogram_fraction_4))) * histogram_fraction_4) - {} 100 +# Unsupported by streaming engine. +# eval instant at 10m histogram_sum(scalar(histogram_fraction(-Inf, +Inf, sum(histogram_fraction_4))) * histogram_fraction_4) +# {} 100 clear @@ -765,15 +889,18 @@ clear load 5m reset_in_bucket {{schema:0 count:4 sum:5 buckets:[1 2 1]}} {{schema:0 count:5 sum:6 buckets:[1 1 3]}} {{schema:0 count:6 sum:7 buckets:[1 2 3]}} -eval instant at 10m increase(reset_in_bucket[15m]) - {} {{count:9 sum:10.5 buckets:[1.5 3 4.5]}} +# Unsupported by streaming engine. +# eval instant at 10m increase(reset_in_bucket[15m]) +# {} {{count:9 sum:10.5 buckets:[1.5 3 4.5]}} # The following two test the "fast path" where only sum and count is decoded. -eval instant at 10m histogram_count(increase(reset_in_bucket[15m])) - {} 9 +# Unsupported by streaming engine. +# eval instant at 10m histogram_count(increase(reset_in_bucket[15m])) +# {} 9 -eval instant at 10m histogram_sum(increase(reset_in_bucket[15m])) - {} 10.5 +# Unsupported by streaming engine. +# eval instant at 10m histogram_sum(increase(reset_in_bucket[15m])) +# {} 10.5 clear @@ -781,11 +908,13 @@ clear load 5m custom_buckets_histogram {{schema:-53 sum:5 count:4 custom_values:[5 10] buckets:[1 2 1]}}x10 -eval instant at 5m histogram_fraction(5, 10, custom_buckets_histogram) - {} 0.5 +# Unsupported by streaming engine. +# eval instant at 5m histogram_fraction(5, 10, custom_buckets_histogram) +# {} 0.5 -eval instant at 5m histogram_quantile(0.5, custom_buckets_histogram) - {} 7.5 +# Unsupported by streaming engine. +# eval instant at 5m histogram_quantile(0.5, custom_buckets_histogram) +# {} 7.5 eval instant at 5m sum(custom_buckets_histogram) {} {{schema:-53 sum:5 count:4 custom_values:[5 10] buckets:[1 2 1]}}