-
Notifications
You must be signed in to change notification settings - Fork 6
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] - 프로덕션 모니터링 구축 #620
Conversation
Test Results 30 files 30 suites 8s ⏱️ Results for commit 5c257ff. ♻️ This comment has been updated with latest results. |
public static void main(String[] args) { | ||
SpringApplication.run(TourootApplication.class, args); | ||
new SpringApplicationBuilder() | ||
.environment(new StandardEncryptableEnvironment()) | ||
.sources(TourootApplication.class).run(args); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logback-spring.xml에서 jasypt 로 암호화 한 loki.loki-url 을 복호화 하지 못하는 문제가 있었습니다.
로깅은 스프링 부팅 초기에 매우 일찍 구성되기 때문에,
일반적인 설정으로는 jasypt로 복호화 된 값을 읽어오지 못한다고 합니다.
따라서 jasypt docs 에서 설명한 대로 스프링 초기화 동작을 위와 같이 재정의 하였습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다~ 대시보드까지 확인해보았어요!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨슴다 낙낙!
로키 Dev profile url 암호화 부분 관련해서 낙낙의 확인이 필요할 것 같아 일단 RC 드립니다!
문제 없다고 하시면 바로 approve로 바꾸겠습니다 👍
@@ -194,3 +194,5 @@ cloud: | |||
image-base-uri: https://touroot.kr/ | |||
origin-storage-path: touroot/ | |||
|
|||
loki: | |||
loki-url: ENC(FHJkwYBoGIuSifQd/92GjnWRS1nvcil2CPFCcWbTicu4rMe/gyFRYzQeqAMCyPkr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저희 DEV profile의 loki-url
은 평문 상태인데 이 부분도 암호화가 필요할까요~?
만약 필요하다면 확인 한 번 부탁드림다 🙇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http://loki:3100/loki/api/v1/push
는 IP 주소가 노출되지 않아서 괜찮을 것 같아욥!
하지만 숨겨서 나쁠거 없으니 숨겨보도록 하겠습니다!!
Co-authored-by: eunjungL <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
빠른 리뷰 확인 굿 👍
✅ 작업 내용
🙈 참고 사항