mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-05 12:26:14 +02:00
Update promql/promqltest/testdata/extended_vectors.test
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com> Signed-off-by: Julien <291750+roidelapluie@users.noreply.github.com>
This commit is contained in:
parent
85dbc3cc76
commit
4c50ef989d
17
promql/promqltest/testdata/extended_vectors.test
vendored
17
promql/promqltest/testdata/extended_vectors.test
vendored
@ -435,10 +435,25 @@ eval instant at 60s rate(metric[5s] smoothed)
|
||||
|
||||
eval instant at 60s increase(metric[5s] smoothed)
|
||||
|
||||
# Smoothed vector selector with @ modifier with binary op.
|
||||
# Smoothed vector selector with @ and offset modifier and binop
|
||||
clear
|
||||
load 10s
|
||||
metric 0+1x20
|
||||
|
||||
eval range from 0s to 60s step 15s metric @ 100
|
||||
metric 10 10 10 10 10
|
||||
|
||||
eval range from 0s to 60s step 15s metric @ 100 smoothed
|
||||
metric 10 10 10 10 10
|
||||
|
||||
eval range from 0s to 60s step 15s metric @ 100 smoothed + 0
|
||||
{} 10 10 10 10 10
|
||||
|
||||
eval range from 0s to 60s step 15s metric offset -100
|
||||
metric 10 11 13 14 16
|
||||
|
||||
eval range from 0s to 60s step 15s metric offset -100 smoothed
|
||||
metric 10 11.5 13 14.5 16
|
||||
|
||||
eval range from 0s to 60s step 15s metric offset -100 smoothed + 0
|
||||
{} 10 11.5 13 14.5 16
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user