Skip to main content

Posts

Setting Alerts , Notification Policies , Contact Points in Grafana

Recent posts

SpringBoot-Grafana Performance Dashboard

Architecture Flow Observability works best when logs, metrics, and dashboards are connected into a single feedback loop. In this setup, every Spring Boot microservice exposes metrics through Micrometer and Actuator, while logs are continuously shipped through Promtail into Loki. ┌──────────────────────┐ │ Spring Boot Services │ └──────────┬───────────┘ │ ┌────────────────┴────────────────┐ │ │ ▼ ▼ Micrometer Metrics Application Logs │ │ ▼ ▼ Prometheus Promtail │ │ ▼ ▼ Grafana ◄─────────────────────── Loki Metrics help identify performance degradation, logs explain failures in detail,...

Observability & Monitoring through Loki,Promtail (Alloy),Prometheus,Micrometer in Grafana

🔧 What this demo covers End-to-end observability setup using Prometheus + Loki + Grafana Integration of Micrometer with Spring Boot for real-time metrics Log collection using Promtail / Alloy from application containers 📊 Metrics Monitoring (Prometheus) Scraping metrics from /actuator/prometheus endpoint JVM metrics: memory, threads, GC activity HTTP metrics: request count, latency, error rates Custom metrics via Micrometer 📜 Centralized Logging (Loki + Promtail) Aggregates logs from multiple microservices Label-based log filtering (fast & efficient) No heavy indexing → lightweight compared to ELK 📈 Visualization (Grafana Dashboards) Real-time dashboards for metrics & logs Correlate logs with metrics for faster debugging Pre-built + custom dashboards ⚙️ Architecture Flow Spring Boot app → exposes metrics via Micrometer Prometheus → scrapes & stores metrics Promtail/Alloy → collects logs → pushes to Loki...

Api Rate Limiting - Resilience4J

Deloitte Interview Problem Reverse run-length encoding & decoding of a given string

Reverse words and sentences using java streams api