Hey @User webhook in under test. Should come in a few days.
✅ 1
Ankit Nayan
03/25/2022, 4:56 AM
DB alert expr will look something like
Copy code
sum(rate(signoz_db_latency_count[1m])) by (db_system) > 100
you can remove
by (db_system)
if you want overall for the DB.
Copy code
sum(rate(signoz_db_latency_count[1m])) by (service_name) > 100
use above expr, if you want to alert when DB calls exceeds 100 for any service in a min.
You can also plot the query in dashboard and check what it means
Copy code
sum(rate(signoz_db_latency_count[1m])) by (db_system)
Hi @Ankit Nayan - whenever I have long running traces - i need to raise an alert. In attached screenshot - one of the span took more than 50 sec - i need to define alerts for them.
a
Ankit Nayan
03/28/2022, 10:39 AM
@User it is not possible to set alert for a very generic query. But if you have an idea whether this will be covered under DB calls or external calls, we can set alerts for them
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.