Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BLOOM-124] 모니터링용 prometheus, loki4j 의존성 추가 및 설정 #127

Merged
merged 10 commits into from
Sep 20, 2024

Conversation

Dompoo
Copy link
Collaborator

@Dompoo Dompoo commented Sep 19, 2024

How

  • 모니터링 모듈을 추가하였습니다.
  • prometheus, loki4j 의존성을 추가하였습니다.
  • prometheus 설정
    • 메트릭을 얻을 수 있는 api를 monitoring.yml을 통해 열었습니다.
  • loki4j 설정
    • 모니터링 서버의 loki에게 로그를 전송할 수 있도록 logback파일을 작성하였습니다.
    • 모니터링 서버의 주소는 Dockerfile, Deploy.yml을 통해 주입받습니다.

Result

  • 이제 모니터링 서버를 구축하면 다음의 정보들을 받아볼 수 있습니다.
    • prometheus의 메트릭 정보들
    • loki의 로그 정보들
  • 추후에 로그정보들을 조금 더 분리시켜서 고도화시킬 필요가 있을 것 같습니다.

Reference

Resolves #124

@Dompoo Dompoo added the 🌱 feat Suggest a new feature or enhancement label Sep 19, 2024
@Dompoo Dompoo self-assigned this Sep 19, 2024
@Dompoo Dompoo requested a review from stophwan as a code owner September 19, 2024 01:44
Copy link
Member

@stophwan stophwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 고생하셨습니다!

@Dompoo Dompoo merged commit e1295d6 into main Sep 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 feat Suggest a new feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] 모니터링용 prometheus, loki4j 의존성 추가 및 설정
2 participants