This message was deleted.
# support
s
This message was deleted.
👍 1
p
@User Will add more docs soon. Stay tuned 🙂
1
a
Hey @User webhook in under test. Should come in a few days.
1
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)
You can play around the syntax using promql https://prometheus.io/docs/prometheus/latest/querying/basics/
Can you please explain what you mean by
• Traces time span is more than 20 sec
k
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
@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