지난 포스팅과 연결 됩니다.
https://intothemaze.tistory.com/14
Sentry Logging Level 설정
application.yml에서 Sentry의 Logging Level을 WARN으로 설정해줄 수 있다.
sentry:
dsn: {dsn}
logging:
enabled: true
minimum-event-level: warn
Slack 연동
- Settings > Integrations > Slack > Add Workspace
- Slack 워크스페이스 URL 입력 후 메일로 전송되는 Slack Code를 입력하면 연동된다.
- Alerts > Create Alert > Set Conditions
- Slack Workspace 이름과 채널 이름을 순서대로 기입해주면 된다. (예. bemate, #개발-backend)
- IF는 알림 조건을 설정할 수 있는데, The event's level is greater than or equal to warning을 설정하여 이벤트 레벨이 warning 이상이면 Slack으로 알림을 보내도록 하였다.
+
참고로 Sentry 연동을 위해서는 유료 버전의 플랜을 요구하며, 무료 체험 시 30일 뒤 invalid 된다.
'Etc.' 카테고리의 다른 글
[GIT] Trunk-based development (0) | 2023.11.20 |
---|---|
[Sentry] Exception Handler를 거치기 전 Sentry로 에러 전달 및 Exception 필터링 (Spring Boot) (0) | 2023.08.09 |
[Sentry] Spring Boot에 Sentry 적용하기 (0) | 2023.08.01 |