1. API Gateway dev 브랜치를 최신화 해주세요

  2. local-docker-infra 레포지토리를 git clone 받아주세요 (다른 서비스들과 같은 폴더 내에 있어야 합니다)

  3. 앱 실행에 필요한 docker compose 파일 Run

    1. docker-compose.elk.yml
      1. 안득님 제가 일단 store 서비스에 작성해놓은 거 옮겨서 경로도 다 맞춰놓긴 했는데 혹시 모르니 API 테스트 한번 해주세요
      • 컨테이너 실행은 확인했습니다!
    2. docker-compose.monitoring.yml
    3. docker-compose.yml
  4. 여기까지 진행하신 후 API Gateway와 담당중인 서비스 앱 실행 후

  5. Postman에서 http://localhost:8080/actuator/prometheus 호출하여 200 응답 확인 (API Gateway)

  6. Postman에서 http://localhost:8080/prometheus/{domain} 호출하여 200 응답 확인 (Domain Service)

    예) /prometheus/coupon

  7. http://localhost:9090 Prometheus 접속 후 체크

  8. http://localhost:3000 Grafana 접속 후 대시보드 확인

    위 드롭메뉴에서 선택하시면 서비스별로 그래프 확인하실 수 있습니다.

    image.png