How to monitor your micro-service with Prometheus?
How to monitor your micro-service with Prometheus? How to design metrics, what is USE and RED? Metrics for a REST service with Prometheus, AlertManager, and Grafana.
Slides and live-coding demo from PyCode 2018 in Warsaw:
- in pdf (source: slides/)
- LinkedIN Slideshare
- src/ - an example REST application monitored with Prometheus, Alertmanager, and Grafana. See src/README.rst. All easy to run with docker-compose
The live-demo consists of a Flask application and configured prometheus with grafana and alertmanager. To make it event easier, a request generator will let you stress the monitored endpoints with random errors and latency injections. Check the READMEs.