KWoC-Backend
KWoC-Backend copied to clipboard
Add Prometheus Monitoring
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
can you assign this to me pls
Sure!