Skip to content
DevPulse

DevPulse

An open-source observability platform

Created on 17th November 2025

•

DevPulse

DevPulse

An open-source observability platform

The problem DevPulse solves

Project Name: DevPulse

Tagline: A Real-Time, End-to-End Observability Platform for Microservices.

1. The Problem

In modern distributed microservices architectures, debugging and monitoring are notoriously difficult. Developers often face:

  • Fragmented Logs: Logs are scattered across different containers and services, making it hard to trace a request's journey.
  • Delayed Insights: Traditional logging solutions often have significant ingestion lag, preventing real-time debugging during critical incidents.
  • Complexity Overload: Setting up enterprise-grade observability stacks (like ELK or Splunk) is resource-intensive and complex for smaller teams or rapid prototyping.
  • Lack of Correlation: It is difficult to correlate infrastructure metrics (CPU, Memory) with application logs to find the root cause of performance bottlenecks.

2. The Solution

DevPulse is a lightweight, open-source developer observability platform designed to solve these challenges by providing a unified view of your system's health. It aggregates logs, metrics, and alerts in real-time, enabling developers to visualize the "pulse" of their applications instantly.

Unlike passive monitoring tools, DevPulse is proactive—streaming logs as they happen, correlating them across services, and alerting developers immediately when anomalies occur.

3. Key Features

  • ⚡ Live Log Streaming: Leveraging Server-Sent Events (SSE), DevPulse pushes logs to the frontend in real-time, allowing developers to watch their code execute live without refreshing pages.
  • 🔗 Distributed Tracing: Automatically correlates logs across multiple microservices using unique trace IDs, reconstructing the full path of a user request.
  • 🚨 Intelligent Alerting: Real-time anomaly detection that triggers instant Toast Notifications on the dashboard and sends email alerts for critical errors.
  • 📊 Unified Dashboard: A single pane of glass that combines live logs with Prometheus & Grafana metrics, giving a complete picture of system performance alongside application behavior.
  • 🛡️ Error Handling: A dedicated "Invalid Logs" quarantine system that captures and isolates malformed log data, ensuring pipeline stability.

4. Technical Architecture

DevPulse demonstrates a robust, production-ready event-driven architecture:

  • Frontend: Built with React, Vite, and TailwindCSS for a high-performance, responsive user interface.
  • Backend: A microservices ecosystem built with Java 17 and Spring Boot 3.
  • Messaging: Apache Kafka serves as the high-throughput backbone, decoupling log producers from consumers to ensure scalability.
  • Storage: MongoDB provides flexible, schema-less storage for high-volume log data and alerts.
  • Monitoring: Integrated Prometheus for metric scraping and Grafana for visualization.

5. Impact

DevPulse drastically reduces Mean Time to Recovery (MTTR) by giving developers immediate visibility into errors. It simplifies the complexity of distributed systems, making observability accessible and actionable, ultimately leading to more reliable software and happier engineering teams.

Challenges we ran into

Building a distributed observability platform like DevPulse came with significant technical hurdles. Here is how I navigated the most critical ones:

1. Designing a Resilient Event-Driven Architecture

The Challenge:
Designing a system that could handle high-throughput log ingestion without bottlenecking the application was difficult. I initially struggled with tight coupling between the services, where a failure in the log collector would slow down the product services.
The Solution:
I adopted an Event-Driven Architecture using Apache Kafka as the backbone. By decoupling the producers (Product/Order services) from the consumers (Log Collector), I ensured that log generation is asynchronous and non-blocking. This allowed the application to remain performant even under heavy load.

2. Real-Time Alerting with WebSockets

The Challenge:
I wanted alerts to be instantaneous, but polling the database was inefficient and introduced lag. Implementing a push-based mechanism that could handle rapid-fire alerts without overwhelming the frontend was complex.
The Solution:
I implemented a dedicated WebSocket channel in the alert-processor service. Instead of the frontend asking for updates, the backend pushes ToastNotification events immediately upon detection. I had to carefully manage connection stability and reconnection logic in React to ensure developers never missed a critical alert.

3. Seamless Grafana & Prometheus Integration

The Challenge:
Integrating industry-standard tools like Grafana into a custom dashboard was tricky. Specifically, configuring Prometheus to dynamically scrape metrics from multiple containerized Spring Boot microservices running inside a Docker network proved difficult due to host/container networking issues.
The Solution:
I utilized Spring Boot Actuator to expose standard metric endpoints and configured a custom prometheus.yml that leverages Docker's internal DNS resolution. For the UI, I embedded Grafana panels directly into the React dashboard using iframes, providing a unified "single pane of glass" experience.

4. Deployment & CI/CD Pipelines

The Challenge:
Manually building JAR files and deploying five different microservices was tedious and error-prone. Managing dependencies and ensuring that the correct Java versions were used across different environments (local vs. cloud) caused "it works on my machine" issues.
The Solution:
I automated the build process using GitHub Actions to compile the code and run tests on every push. I also wrote a robust deploy.sh script that handles the orchestration of building JARs, stopping old processes, and starting new ones in the correct order, significantly reducing deployment time.

5. Docker Orchestration & Networking

The Challenge:
Setting up the infrastructure locally was a major pain point. Kafka, Zookeeper, and MongoDB all need to communicate flawlessly. I faced specific issues with Kafka's ADVERTISED_LISTENERS, where services inside the Docker network could connect, but the host machine could not (or vice versa).
The Solution:
I created a comprehensive docker-compose.yml that defines a shared bridge network for all services. I spent time fine-tuning the Kafka listener configurations to distinguish between internal traffic (between microservices) and external traffic (for debugging), ensuring a stable environment that spins up with a single command.

Tracks Applied (2)

Vultr Cloud Deployment Track

Vultr

Vultr

Best Use of GitHub

GitHub

Discussion

Builders also viewed

See more projects on Devfolio