Open pranay01 opened 2 years ago
Alert for p99 latency of a specific endpoint of an application
histogram_quantile(0.99, sum(rate(signoz_latency_bucket{service_name="customer", operation="YOUR_API_NAME"}[5m])) by (le)) > 200
Above alert would be fired if p99 of customer
service and endpoint YOUR_API_NAME
is > 200 ms
For example
Alert for p99 latency for applications
you can use this to set alerts on percentile of latencies.
histogram_quantile(0.99, sum(rate(signoz_latency_bucket{service_name="customer", span_kind="SPAN_KIND_SERVER"}[5m])) by (le)) > 10
Above alert would be fired if p99 of
customer
service is >10 ms