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

[Feature] - 모니터링/로깅 시스템 통합 #633

Merged
merged 3 commits into from
Jan 4, 2025

Conversation

nak-honest
Copy link
Member

@nak-honest nak-honest commented Jan 2, 2025

✅ 작업 내용

  • 프로덕션에 대한 모니터링 및 로깅 수집을 dev 서버로 통합
  • 그라파나, 프로메테우스, 로키를 통합해서 하나만 사용하도록 변경
  • 로키에서 로그 수집 시 호스트네임을 통해 prod와 dev 를 구분하도로록 설정
  • 443 포트 하나로 dev와 그라파나를 포워딩 하도록 ngnix 구축
  • dev 프로파일에서 ssl 제거

🙈 참고 사항

그라파나, 프로메테우스, 로키를 2개로 쪼개서 관리할 필요가 없다고 느껴져 하나로 통합하였습니다.

dev 프로파일에서 ssl 을 제거하였습니다.
ngnix에서 ssl termination 을 하도록 설정하고, 서브 도메인(api-dev, grafana) 에 따라 프록시 패스를 하도록 설정하였습니다.

@nak-honest nak-honest added this to the sprint 8 milestone Jan 2, 2025
@nak-honest nak-honest self-assigned this Jan 2, 2025
@nak-honest nak-honest changed the base branch from main to develop/be January 2, 2025 13:17
@nak-honest nak-honest closed this Jan 2, 2025
@nak-honest nak-honest reopened this Jan 2, 2025
Copy link

github-actions bot commented Jan 2, 2025

Test Results

 30 files   30 suites   1m 1s ⏱️
296 tests 295 ✅ 1 💤 0 ❌
308 runs  307 ✅ 1 💤 0 ❌

Results for commit 4d9e534.

♻️ This comment has been updated with latest results.

Copy link

@Libienz Libienz left a comment

Choose a reason for hiding this comment

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

수고하셨습니다~ dev 로그가 언능 분리되었으면 좋겠네유

Copy link

@eunjungL eunjungL left a comment

Choose a reason for hiding this comment

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

수고하셨습니다 낙낙!
CD pipeline이 변경돼야 할 것 같아 일단 RC 드립니다 🙇
반영 후 요청 주시면 바로 approve 할게요~

Comment on lines -127 to -132
server:
ssl:
key-store-type: PKCS12
key-store-password: ENC(faQYah2QoIaNVRZD9J6/junPRWkc5gaiAs+mEbxDk+I=)
key-store: ENC(7VQCNdI7mXATwc4AiymZoyf3mz9SiskXpLnenpMSFBI=)

Copy link

Choose a reason for hiding this comment

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

CD pipeline에서 키스토어를 생성해서 넣어주는 로직이 있는데요, 이 부분도 같이 제거되면 좋을 것 같네요!
겸사겸사 GitHub Secrets에서 관리하던 변수도 없애도 되겠네요 👍

Copy link
Member Author

Choose a reason for hiding this comment

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

꼼꼼한 리뷰 감사합니다!
반영했으니 확인해 주세요 :)

Copy link

@eunjungL eunjungL left a comment

Choose a reason for hiding this comment

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

확인! 수고하셨슴다~ 낙낙~~

@nak-honest nak-honest merged commit 32c16d0 into develop/be Jan 4, 2025
3 checks passed
@nak-honest nak-honest deleted the feature/be/#632 branch January 4, 2025 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants