For alerts, this is currently 30 seconds, I believe. @Amol Umbark can share more details on this.
j
James Henrich
02/06/2023, 4:31 AM
Any way to set this through query builder? Or do you have to make using a custom clickhouse query
James Henrich
02/06/2023, 4:31 AM
thanks btw
s
Srikanth Chekuri
02/06/2023, 5:00 AM
Not currently, but this will be available soon
🙌 1
a
Amol Umbark
02/06/2023, 11:07 AM
@James Henrich Though i am not clear on what exactly you are looking for, i can explain the time related conditions in alerts
we run the alert query every 30secs. the query results across two subsequent runs are compared to decide if alert is to be triggered or resolved
in the alert conditions section you will notice in last <5 | 15 | 60 > minutes option. this timeframe is applied when picking data from clickhouse for evaluation. so if you set 5 mins, the count of metrics in last 5 mins will be picked. but the results will be put into 30 secs bucket (step size).
now there is another option in alert conditions called in total. if you choose this then all the steps will get added up returning you total count in last 5 mins
if you want something specific you can also write a clickhouse query directly.
j
James Henrich
02/06/2023, 7:35 PM
ahh total can be used to do what I want here without writing a query. Thanks!
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.