Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devops Project: video-converter

Converting mp4 videos to mp3 in a microservices architecture.

Architecture

Architecture

🎥 Kubernetes Observability Platform

Production-grade observability implementation for a microservices-based video conversion platform running on Kubernetes.

🚀 Project Goals

This project is focused on learning and implementing modern observability practices for cloud-native applications:

  • Metrics with Prometheus
  • Dashboards with Grafana
  • Distributed Tracing with OpenTelemetry
  • Trace Visualization with Jaeger
  • Kubernetes Monitoring
  • Service Discovery using ServiceMonitors

🔧 Technology Stack

Platform

  • Kubernetes
  • Amazon EKS
  • Docker
  • Helm

Application

  • Python
  • RabbitMQ
  • MongoDB
  • PostgreSQL

Observability

  • Prometheus
  • Grafana
  • OpenTelemetry
  • OpenTelemetry Collector
  • Jaeger
  • kube-state-metrics
  • node-exporter

📊 Current Progress

Gateway Service

✅ Prometheus Metrics

✅ OpenTelemetry Instrumentation

✅ Distributed Tracing

✅ ServiceMonitor Integration

✅ Grafana Dashboard

Converter Service

✅ Prometheus Metrics

✅ ServiceMonitor Integration

✅ Grafana Dashboard

⬜ OpenTelemetry Instrumentation

⬜ Distributed Tracing

Planned

⬜ Auth Service Instrumentation

⬜ Notification Service Instrumentation

⬜ Loki Logging

⬜ Alertmanager

⬜ Slack Alerts

⬜ SLO Dashboards


📈 Gateway Dashboard

Gateway Dashboard

Metrics

  • Request Rate
  • Error Rate
  • Response Time
  • P95 Latency
  • Request Throughput

📈 Converter Dashboard

Converter Dashboard

Metrics

  • Conversion Requests
  • Conversion Duration
  • Success Rate
  • Failure Rate
  • Processing Time

🔍 Distributed Tracing

Trace Flow

Gateway Service

OpenTelemetry SDK

OTel Collector

Jaeger

Jaeger Trace


🛠️ Troubleshooting Scenarios

Prometheus Target Down

  • Verify ServiceMonitor
  • Verify Service Labels
  • Verify Endpoints
  • Check Prometheus Targets

Missing Metrics

  • Verify /metrics endpoint
  • Check scrape status
  • Validate ServiceMonitor selectors

Missing Traces

  • Verify OTel Collector
  • Verify Exporters
  • Check Jaeger

🎯 Learning Outcomes

Through this project I am gaining hands-on experience with:

  • Kubernetes Observability
  • Prometheus Monitoring
  • Grafana Dashboarding
  • OpenTelemetry
  • Distributed Tracing
  • Service Discovery
  • Kubernetes Troubleshooting
  • SRE Practices

🚧 Roadmap

  • Gateway Metrics
  • Gateway Tracing
  • Converter Metrics
  • Converter Tracing
  • Auth Service Metrics
  • Notification Service Metrics
  • Loki Integration
  • Alloy Configuration
  • Alertmanager
  • Slack Notifications
  • Tempo Migration
  • SLO & Error Budget Tracking

About

Video to audio converter microservices application in Python

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages