Monitoring Architecture

1. Overview

서비스의 트래픽 처리 상태, Redis Stream 상태, 애플리케이션 로그 및 에러를 모니터링하기 위해 다음 스택을 사용했습니다.

Monitoring Stack

Architecture

Spring Boot
   │
   │ Micrometer
   ▼
Prometheus ──► Grafana (Metrics)

Application Logs
   │
   ▼
Promtail ──► Loki ──► Grafana (Logs)

2. Metrics Monitoring

Spring Boot + Micrometer를 통해 메트릭을 수집하고

Prometheus가 /actuator/prometheus endpoint를 스크랩합니다.

Custom Metrics