KWoC-Backend icon indicating copy to clipboard operation
KWoC-Backend copied to clipboard

Add Prometheus Monitoring

Open yashrsharma44 opened this issue 3 years ago • 2 comments

AC

  • [ ] Add a metrics endpoint to expose metrics data of backend - https://github.com/prometheus/client_python
  • [ ] Same for go application - https://github.com/prometheus/client_golang
  • [ ] Decide which metrics we want to expose as stats
  • [ ] Use this for more reference - https://blog.softwaremill.com/practical-monitoring-with-prometheus-ee09a1dd5527?gi=5694a99d39c4
  • no. of 200 requests
  • no. of 500 requests
  • Ram/Cpu usage - checkout https://prometheus.io/docs/guides/node-exporter/ for exposing linux metrics
  • Add alert managers in case server is down
  • count the total no. of requests/ rate of requests for each endpoint/ db calls
  • Count the average, median time of performing batch operations, like updating stats
  • Count how many people are viewing the landing page
  • think which metrics would help you for managing operations much easily

yashrsharma44 avatar Nov 28 '21 17:11 yashrsharma44

can you assign this to me pls

pratham-srivastava-07 avatar Dec 15 '23 16:12 pratham-srivastava-07

Sure!

harshkhandeparkar avatar Dec 15 '23 17:12 harshkhandeparkar