모니터링 대시보드 설정
일단 Data sources에서 Prometheus와 Loki를 추가한다.
Loki conn
- 14430: Spring Boot Statistics,
- 7362: MySQL Overview,
- 1860: Node Exporter Full,
- 13639: Loki 로그 뷰어,
- Query 예시: {app="backend", stream="stdout"} |= "ERROR" | logfmt | line_format "{{.msg}} [{{.method}} {{.status}}]",
- 2025년 5월 19일 오후 6:162025년 5월 19일 오후 6:162025년 5월 19일 오후 6:16**
- /actuator/prometheus
'kkokkio - 프로젝트 > 트러블슈팅' 카테고리의 다른 글
Spring Batch 도입기 (0) | 2025.06.16 |
---|---|
로그인시 쿠키가 붙지 않는 오류 해결 (1) | 2025.06.16 |
Query에서 정렬을 사용하기 (0) | 2025.06.16 |
JwtAuthenticationFilter에서 요청할 때마다 Member DB 조회하는 문제 (0) | 2025.06.16 |
[Spring 영속성] don't flush the Session after an exception occurs 오류 - 트랜잭션 안에서 JPA 엔티티 재사용 시 문제 (0) | 2025.06.16 |