-
Notifications
You must be signed in to change notification settings - Fork 0
[Feat] Grafana 모니터링 스택 설정 추가 #4
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
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (3)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Note
|
eoehd1ek
left a comment
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.
템포 전송 url 주소 변경해야 합니다.
src/main/resources/application.yml
Outdated
|
|
||
| management: | ||
| tracing: | ||
| sampling: | ||
| probability: 1.0 |
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.
이 설정은 application-monitoring.yml에 똑같이 정의되어 있어요.
application.yml에 있는 부분은 지우는 게 좋을 것 같아요.
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.
아 놓쳤네요 감사합니다!
promQL로 계산 가능한 p9X 계산 설정 삭제
eoehd1ek
left a comment
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.
application-secret.yml에 변경된 tempo 주소를 적용했습니다.
CD 스크립트 동작 전 업데이트 된 application-secret.yml을 적용해야 합니다.
changuii
left a comment
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.
LGTM
추가 변경 사항
이후 해야할 업무
|
|
changuii
left a comment
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.
확인해주세요!
| @Value("${env}") | ||
| private String env; |
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.
생성자로 주입받아서 final 붙이는건 어때요?
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.
좋아요~ 바로 반영했습니다!
| private String env; | ||
|
|
||
| @Around("com.daedan.festabook.global.logging.LoggingPointcuts.applicationLayers()") | ||
| public Object trace(ProceedingJoinPoint joinPoint) throws Throwable { |
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.
그 log에서 사용하는 traceId랑 trace에서 사용하는 traceId가 기존에 동일했는데 분리했을 때도 같은지 확인해봐야 할 것 같아요!
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.
구두로 설명 드렸습니다! 같네요.
taek2222
left a comment
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.
코멘트 내용만 확인해 주세요!
src/main/java/com/daedan/festabook/global/logging/LocalLoggingAspect.java
Show resolved
Hide resolved
| <!-- DEV, PROD: JSON 형식으로 로그 파일 기록 --> | ||
| <springProfile name="prod | dev"> | ||
| <property name="LOG_FILE_PATH" value="/home/ubuntu/2025-festabook/spring-logs"/> | ||
| <property name="LOG_FILE_PATH" value="/var/log"/> |
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.
후유 의견으로, 기존 경로는 환경 의존성이 강해서, 서버 자체 환경에서도 표준적으로 수집이가능한 /var/log로 통일했었던 기억이 있습니다.
|
|
changuii
left a comment
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.
LGTM



#️⃣ 이슈 번호
#3
🛠️ 작업 내용
🙇🏻 중점 리뷰 요청
📸 이미지 첨부 (Optional)