Slackbot
03/24/2022, 12:37 PMPranay
Ankit Nayan
Ankit Nayan
sum(rate(signoz_db_latency_count[1m])) by (db_system) > 100
you can remove by (db_system)
if you want overall for the DB.
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
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/Ankit Nayan
• Traces time span is more than 20 sec
Kumaran Ilangovan
03/25/2022, 12:02 PMAnkit Nayan