Repository navigation
feat: P0 온콜 — 1차 담당 → 10분 미응답 시 팀원 (PagerDuty) - #319
Merged
selee1012 merged 1 commit intoOct 15, 2026
Merged
Conversation
alerting/pagerduty.py setup 이 에스컬레이션 정책(1차 → 10분 → 팀원, 2회 반복)·서비스(항상 high, ACK 15분 재호출, 자동 종료 끔)·공식 CloudWatch 연동을 만들고 서울·버지니아 SNS ruleup-prod-pagerduty 를 HTTPS 로 구독시킨 뒤 원장에 ID 만 적는다. p0_p1.py 를 다시 돌리면 P0 경보에 토픽이 붙는다. test-trigger·test-resolve 로 실수신·에스컬레이션을 시험한다. API 키·연동 키·이메일은 저장소에 두지 않는다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
selee1012
added this pull request to stack #320
October 15, 2026 09:32
Test Coverage
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
P0 온콜 호출 순서를 PagerDuty에 설정합니다. 스택 3/3입니다.
호출 순서
1차 담당(이성은)에게 먼저 갑니다. 10분 안에 ACK가 없으면 팀원에게 가고, 그래도 없으면 처음부터 다시 울립니다(2회).
변경
alerting/pagerduty.py setup --primary <이메일> --secondary <이메일>ruleup-prod-pagerduty의 HTTPS 구독env/prod.json에는 사용자·정책·서비스 ID와sns.pagerduty만 적습니다. 이메일·API 키·연동 키는 저장소에 두지 않습니다.p0_p1.py prod를 돌리면 P0 경보의 AlarmActions·OKActions에 토픽이 붙습니다. 경보가 OK로 돌아오면 사건이 닫힙니다.test-trigger/test-resolve: CloudWatch 경보와 같은 모양의 시험 메시지를 보내 실수신과 에스컬레이션을 시험합니다(G01).개통 전 필요한 것
시험
tests_pagerduty.py가 확인하는 것:🤖 Generated with Claude Code