You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The builder quotes timespan or datetimes when comparing them in a filter. This syntax is only valid with the operators that compare exact values (e.g. == or !=) but it does not work with ranges:
To compare ranges, we need to explicitly convert them to the type, for example:
| where Duration > timespan('00:00:01')
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Screenshots
Anything else we need to know?:
Environment:
Grafana version:
Plugin version: 4.1.5
OS Grafana is installed on:
User OS & Browser:
Others:
The text was updated successfully, but these errors were encountered:
andresmgot
changed the title
Query builder: Unable to filter based on timespan
Query builder: Unable to filter based on timespan or datetime
Aug 25, 2022
andresmgot
changed the title
Query builder: Unable to filter based on timespan or datetime
Query builder: Unable to filter based on timespan or datetime ranges
Aug 25, 2022
What happened:
The builder quotes
timespan
ordatetime
s when comparing them in a filter. This syntax is only valid with the operators that compare exact values (e.g.==
or!=
) but it does not work with ranges:To compare ranges, we need to explicitly convert them to the type, for example:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Screenshots
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: