Simple example of api monitoring via Grafana
Based on the webinar by Sergey Bukharov
- API documentation - http://127.0.0.1:8000/docs
- API metrics - http://127.0.0.1:8000/metrics
- Prometheus is available at - http://127.0.0.1:9090
- Grafana - http://127.0.0.1:3000
Create and start container:
$ docker-compose --env-file ./configs/.env up
Stop lifted containers:
$ docker-compose --env-file ./configs/.env stop
Start stopped containers:
$ docker-compose --env-file ./configs/.env start
Stop and delete containers and network:
$ docker-compose --env-file ./configs/.env down