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:
Julien 2026-04-17 16:38:36 +02:00 committed by GitHub
parent 85dbc3cc76
commit 4c50ef989d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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