A complete DevOps monitoring project built using Docker, FastAPI, Postgres, Prometheus, and Grafana.
This project demonstrates containerized application deployment with real-time monitoring and observability.
This project includes:
- 🐳 Dockerized FastAPI application
- 🐘 Postgres database container
- 📊 Prometheus for metrics collection
- 📈 Grafana for visualization
- 📡 API performance monitoring
- 💻 System resource monitoring (CPU, Memory, Disk)
User → FastAPI App → Postgres
↓
Prometheus ← Node Exporter / App Metrics
↓
Grafana Dashboard
- CPU Usage (%)
- Memory Usage (%)
- Disk Usage (%)
- Total API Requests
- API Error Rate (%)
- Response Time
- Container CPU Usage
- Container Memory Usage
- Running Containers
- FastAPI
- PostgreSQL
- Docker & Docker Compose
- Prometheus
- Grafana
git clone https://github.com/YOUR_USERNAME/devops-task-app.git
cd devops-task-appdocker compose up -d --build- FastAPI → http://localhost:8000
- Grafana → http://localhost:3000
- Prometheus → http://localhost:9090
If dashboards are not auto-provisioned:
- Open Grafana
- Go to ➜ + ➜ Import
- Upload
devops-monitoring-dashboard.json - Select Prometheus as Data Source
.
├── docker-compose.yml
├── app/
├── prometheus/
├── grafana/
│ ├── dashboards/
│ └── provisioning/
└── README.md
- Containerization
- Service orchestration
- Infrastructure monitoring
- Observability
- Metrics-based health analysis
- Dashboard provisioning
Built an end-to-end containerized application with integrated monitoring using Prometheus and Grafana, enabling real-time performance tracking and infrastructure observability.
- Add CI/CD using GitHub Actions
- Deploy on AWS EC2
- Add Alertmanager for notifications
- Add Nginx reverse proxy
- Implement Kubernetes deployment
Devansh Motghare
⭐ If you found this project useful, consider giving it a star!