Want to execute the query which can create alerts on Prometheus regarding the Error rates and Average response time for all application?

Viewed 18

Want to execute the query which can create alerts on Prometheus regarding the Error rates and Average response time for each application?

Query for Average response time.

sum(rate(http_request_duration_seconds_sum[5m])) / sum(rate(http_request_duration_seconds_count[5m]))

0 Answers
Related