You would do something like this. The following ex...
# general
s
You would do something like this. The following expression gives you the request duration
Copy code
rate(signoz_latency_sum{operation="SQL SELECT"}[5m]) / rate(signoz_latency_count{operation="SQL SELECT"}[5m])
and in the alerts page you would configure if the value is > 300ms at least once trigger alert.