[feat] HubEleven 전체 서비스 모니터링 연동 #106
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📍 PR 타입 (하나 이상 선택)
❗️ 관련 이슈 링크
Close #103
📌 개요
🔁 변경 사항
Metrics (Prometheus)
전 서비스에 Actuator 및 Prometheus Registry 의존성 추가
/actuator/prometheus 엔드포인트 노출 설정 추가(프로파일/설정 파일 적용)
Logs (Loki)
전 서비스에 Loki Logback Appender 적용
logback-spring.xml 추가/수정하여 Loki로 로그 push 구성
서비스명/호스트 등 라벨 기반으로 로그 식별 가능하도록 설정
delivery/user 401 이슈 해결
원인: Spring Security 설정으로 Actuator 접근이 막혀 Prometheus가 메트릭을 수집하지 못함
해결: delivery, user에서 /actuator/**를 인증 예외(permitAll) 처리하여 Prometheus 수집 가능하도록 변경
📸 스크린샷
제목
스크린샷👀 기타 더 이야기해볼 점
✅ 체크 리스트