Query condition documentation error

Hi,

What does a (4m, now-5m) query do ?

I am now guessing (4m+5m, now) delayed by 5m ? But it does not match the Test Rule output which indicates evaluating (5m, now-4m). Which makes me doubt about the other part of the doc. I think I was wrong with the following.

Can you confirm that the documentation is correct (or not) here:

You can also do 10m, now-2m to define a time range that will be 10 minutes ago to 2 minutes ago.

I think it should be:

You can also do 10m, now-2m to define a time range that will be 1**2** minutes ago to 2 minutes ago **and last 10 minutes.**

That is first parameter is the “duration” and second one is the “last evaluated time”.
This seems to be the observed behavior. (4m,now-5m) seems to be a valid query (alert triggers) but it makes no sense with the current definition.
Thanks !

This def sounds like it could be a bug. If you haven’t already, could you make an issue in the Grafana repo? :+1: :grafana: