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

에러 추적 개선을 위한 Sentry 환경 구축 #770

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

dladncks1217
Copy link
Member

@dladncks1217 dladncks1217 commented Dec 26, 2023

에러 추적 환경 개선을 위한 Sentry 도입.

프로덕션 로그 수집 및 에러 상황에 대한 슬랙 알림기능 추가.


더 필요한거 있을 것 같다 싶으면 말해주십쇼

  1. UI터져서 ErrorBoundary로 빠지는 오류
  2. API요청 실패로 인한 문제
  3. 서버에서 env 빼가려는 등에 대한 공격요청

아래 사진들은 로컬 기준 예시. 프로덕션이랑 데브서버에서 돌아갑니다. 직접 들어가서 밑에 더 내려보면 로그들 더 자세히 나와있음.

스크린샷 2023-12-26 오후 5 28 58

슬랙에 띄워지는 메시지 일단 경로랑 어떤 에러인지만 띄웠고, 404같은거는 어지간해서는 들어갈일없고 env찾으려고 노력하는 요청들이 대부분이길래 warning으로 일단 띄워봤슴다
저번에 nginx 로그 뜯어볼때 어지러웠음...

스크린샷 2023-12-26 오후 5 28 23
스크린샷 2023-12-26 오후 5 28 12
스크린샷 2023-12-26 오후 5 28 03

🙋🏻 More

Sentry내 이슈는 상당히 너저분한 상태라 ㅎㅎ... 차차 개선 필요하긴 할듯?

close #763

Copy link
Collaborator

@LJW25 LJW25 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다 슬선생

@dladncks1217 dladncks1217 merged commit c6eca9b into develop Dec 27, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌏 Environment FE-Service 행록 서비스 프론트엔드 ✨ Feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

프론트엔드 에러 추적 개선을 위한 Sentry 도입
2 participants