0Pricing
Advanced Spring Boot 4: Event-Driven Architecture (Kafka) · Lesson

Integrating with Prometheus & Grafana

Set up Prometheus to scrape metrics from Kafka and Spring Boot apps, then visualize them using Grafana dashboards.

Why Monitor with P&G?

In modern systems, understanding what your applications and infrastructure are doing is critical. This is where monitoring comes in!

We'll explore how Prometheus and Grafana form a powerful duo for observing your Spring Boot Kafka applications and the Kafka cluster itself.

Introducing Prometheus

Prometheus is an open-source monitoring system that collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts.

  • It uses a pull model: Prometheus scrapes (pulls) metrics from your services.
  • It stores data as time-series data, making it excellent for tracking changes over time.

All lessons in this course

  1. Kafka Metrics (JMX) and Health Checks
  2. Integrating with Prometheus & Grafana
  3. Distributed Tracing with Sleuth/Zipkin
  4. Monitoring Consumer Lag and Setting Alerts
← Back to Advanced Spring Boot 4: Event-Driven Architecture (Kafka)