title: Want to execute the query which can create alerts on Prometheus regarding the Error rates and Average response time for all application?
body: <p>Want to execute the query which can create alerts on Prometheus regarding the Error rates and Average response time for each application?</p>
  <p>Query for Average response time.</p>
  <p>sum(rate(http_request_duration_seconds_sum[5m])) / sum(rate(http_request_duration_seconds_count[5m]))</p>