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
{{ message }}
Repository navigation
Additional time range for alerts doesn't work #237
@fr05t1k thanks for reporting and provide the solution
I applied your patch, it works perfectly for use case when dashboard time range interval is bigger than alert part query( query_name, from_time_range, to_time_range)
for example
dashboard show last 3 hour
and have alert FOR min() query(A, 60m, now-30m) IS BELOW 10
for other use cases, we need another approach for refactoring plugin - try to rewrite query instead of filter query results
but, original query may not contains "$timeFilter" macro, so currently I don't know how properly refactor plugin code
Activity
fr05t1k commentedon Jul 13, 2020
Probably this patch could help
Slach commentedon Jul 14, 2020
@fr05t1k thanks for reporting and provide the solution
I applied your patch, it works perfectly for use case when dashboard time range interval is bigger than alert part
query( query_name, from_time_range, to_time_range)for example
dashboard show
last 3 hourand have alert
FOR min() query(A, 60m, now-30m) IS BELOW 10for other use cases, we need another approach for refactoring plugin - try to rewrite query instead of filter query results
but, original query may not contains "$timeFilter" macro, so currently I don't know how properly refactor plugin code
@hagen1778 @bmanth60 @simPod maybe you share your opinion and suggest a solution?
Merge pull request #250 from Altinity/make_release_2.0.3
# 2.0.3 (2020-07-24)
ClickHouse Database datasource plugin update to 2.1.0
Slach commentedon Jun 7, 2022
@fr05t1k now 2.5.0 release shall calculate time ranges for alerts properly
# 2.0.3 (2020-07-24)
ClickHouse Database datasource plugin update to 2.1.0