프로젝트에서 애플리케이션 메트릭을 Prometheus로 수집하기 위해 Spring Boot에 Prometheus를 연동했습니다. 이 글에서는 제가 마주했던 문제와 그 원인, 그리고 어떻게 해결했는지를 기록합니다. 시작: Spring Boot Actuator만으로는 충분할까?보통 Prometheus와 Spring Boot를 연동할 때는 다음 의존성을 추가합니다:implementation 'org.springframework.boot:spring-boot-starter-actuator'그리고 application.yml에 아래와 같이 설정하면 /actuator/metrics 등의 엔드포인트가 활성화됩니다:management: endpoints: web: exposure: inc..