alert :the query was executed at an incorrect time
See original GitHub issue WHERE $timeFilter AND $to -$from<3601
This is my query.When I use Alert, I test that the values from and to are correct.But the rawQuery value is problematic.
logs[0].data :
from:1605667726607
to:1605667846607
WHERE timestamp >= toDateTime(1605667340) AND 1605667640 -1605667340<3601
You can see that the values from and to are not used. I think the value of from and to is correct.But rawQuery USES window time
My alert : condition: query(A, 2m, now)
ps: At first I used it directly, but a few days later I noticed that there were some slow queries in the SQL, and the time seemed to be used instead of the alert execution time.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10
Top Results From Across the Web
Troubleshoot query time-out errors - SQL Server
This article describes how to troubleshoot the time-out errors when you run slow-running queries.
Read more >unified alerting: "Failed to evaluate queries and expressions ...
So far I solved this problem like this: Suppose there is a request, which returns queries longer than 3 minutes: SELECT query_start as...
Read more >Reviewing query alerts - Amazon Redshift
To use the STL_ALERT_EVENT_LOG system table to identify and correct potential performance issues with your query, follow these steps: Run the following to ......
Read more >Create NRQL alert conditions - New Relic Documentation
In NRQL queries, the TIMESERIES clause is used to return data as a time series broken out by a specified period of time....
Read more >MySQL Incorrect datetime value: '0000-00-00 00:00:00'
I wasn't able to do this: UPDATE users SET created = NULL WHERE created = '0000-00-00 00:00:00'. (on MySQL 5.7.13). I kept getting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@shizhenchina
maybe alert features in grafana is not enough flexible for your use case maybe https://github.com/balerter/balerter will enough for your requirements for flexibility?
@shizhenchina Hello, I have the same problem.What’s the reason? And what do you mean by some limitations?