Skip to content

devansh7444/DevopsTaskApp

Repository files navigation

🚀 DevOps Task Manager – Docker + Prometheus + Grafana

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.


📌 Project Overview

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)

🏗️ Architecture

User → FastAPI App → Postgres
        ↓
    Prometheus ← Node Exporter / App Metrics
        ↓
      Grafana Dashboard

📊 Monitoring Dashboard Includes

🔹 Infrastructure Metrics

  • CPU Usage (%)
  • Memory Usage (%)
  • Disk Usage (%)

🔹 Application Metrics

  • Total API Requests
  • API Error Rate (%)
  • Response Time

🔹 Container Metrics

  • Container CPU Usage
  • Container Memory Usage
  • Running Containers

🛠️ Tech Stack

  • FastAPI
  • PostgreSQL
  • Docker & Docker Compose
  • Prometheus
  • Grafana

▶️ How to Run the Project

1️⃣ Clone Repository

git clone https://github.com/YOUR_USERNAME/devops-task-app.git
cd devops-task-app

2️⃣ Start Containers

docker compose up -d --build

3️⃣ Access Services


📈 Grafana Dashboard Import

If dashboards are not auto-provisioned:

  1. Open Grafana
  2. Go to ➜ + ➜ Import
  3. Upload devops-monitoring-dashboard.json
  4. Select Prometheus as Data Source

📦 Folder Structure

.
├── docker-compose.yml
├── app/
├── prometheus/
├── grafana/
│   ├── dashboards/
│   └── provisioning/
└── README.md

🚀 Key DevOps Concepts Demonstrated

  • Containerization
  • Service orchestration
  • Infrastructure monitoring
  • Observability
  • Metrics-based health analysis
  • Dashboard provisioning

🎯 Resume Highlight

Built an end-to-end containerized application with integrated monitoring using Prometheus and Grafana, enabling real-time performance tracking and infrastructure observability.


📌 Future Improvements

  • Add CI/CD using GitHub Actions
  • Deploy on AWS EC2
  • Add Alertmanager for notifications
  • Add Nginx reverse proxy
  • Implement Kubernetes deployment

👨‍💻 Author

Devansh Motghare


⭐ If you found this project useful, consider giving it a star!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors