Skip to content

feat: prometheus + grafana 모니터링 툴 연동#28

Merged
Bumnote merged 4 commits intomainfrom
feat/grafana-monitoring
Dec 23, 2025
Merged

feat: prometheus + grafana 모니터링 툴 연동#28
Bumnote merged 4 commits intomainfrom
feat/grafana-monitoring

Conversation

@Bumnote
Copy link
Member

@Bumnote Bumnote commented Dec 23, 2025

#️⃣ 연관된 이슈

issue #27

📝 작업 내용

Application

  • metric을 수집하기 위해서 Actuator와 Prometheus 의존성을 추가합니다.
  • 어떤 타입의 데이터들을 수집할 것인지 application.yml 파일에 설정 내용을 반영합니다.
  • 어떤 주기로 어떤 데이터들을 실시간으로 수집할 것인지 prometheus.yml 파일에 설정 내용을 반영합니다.

Docker Compose

  • Prometheus와 Grafana에 접근하기 위한 컨테이너를 띄우고, 같은 네트워크로 묶는 설정을 추가했습니다.
  • 서브 도메인을 활용하여 해당 페이지로 접근할 수 있도록 합니다.

Nginx

  • nginx 설정에 서브 도메인 정보와 prometheus, grafana 연결 내용을 추가합니다.
  • ssl 보안 헤더를 통해서 해당 모니터링 툴에 접근함에 있어 보안을 강화했습니다.
  • prometheus, grafana에 https 접근을 위해서 인증서 로직에 해당 서브 도메인을 추가했습니다.

💬 리뷰 요구사항

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요


- metric을 수집하기 위해서 Actuator와 Prometheus 의존성을 추가합니다.
- 어떤 타입의 데이터들을 수집할 것인지 application.yml 파일에 설정 내용을 반영합니다.
- 어떤 주기로 어떤 데이터들을 실시간으로 수집할 것인지 prometheus.yml 파일에 설정 내용을 반영합니다.

issue #27
- Prometheus와 Grafana에 접근하기 위한 컨테이너를 띄우고, 같은 네트워크로 묶는 설정을 추가했습니다.
- 서브 도메인을 활용하여 해당 페이지로 접근할 수 있도록 합니다.

issue #27
- nginx 설정에 서브 도메인 정보와 prometheus, grafana 연결 내용을 추가합니다.
- ssl 보안 헤더를 통해서 해당 모니터링 툴에 접근함에 있어 보안을 강화했습니다.

issue #27
- prometheus, grafana에 https 접근을 위해서 인증서 로직에 해당 서브 도메인을 추가했습니다.

issue #27
@Bumnote Bumnote requested a review from SoTaeHo December 23, 2025 09:14
@Bumnote Bumnote self-assigned this Dec 23, 2025
@Bumnote Bumnote merged commit 1666123 into main Dec 23, 2025
1 check passed
@Bumnote Bumnote linked an issue Dec 23, 2025 that may be closed by this pull request
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Dev] Grafana 모니터링 연동

1 participant