Repository navigation
fix: 온콜 시험이 Slack 까지 실제 P0 와 같은 경로로 - #322
Merged
Merged
Conversation
test-trigger 가 PagerDuty 토픽에만 메시지를 보내서 Slack(#ruleup-alert·긴급 채널 멘션)이 빠졌다. 시험 경보 ruleup-prod-P0-ONCALL-TEST 를 실제 P0 와 같은 AlarmActions 로 두고 set-alarm-state 로 상태만 바꾼다. 아무도 내지 않는 지표를 missing=ignore 로 봐서 다음 평가에서 OK 로 돌아가지 않으므로 10분 에스컬레이션도 그대로 볼 수 있다. tests_pagerduty 를 CI 에 넣는다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Test Coverage
|
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.
test-trigger가 PagerDuty SNS 토픽에만 메시지를 직접 보내고 있었습니다. 그래서 시험할 때 Slack(#ruleup-alert, 긴급 채널 멘션)이 오지 않았습니다. 실제 P0 경보의 Slack 경로는 정상입니다(#ruleup-alert 최근 7일 64건 전달, 실패 0).변경
ruleup-prod-P0-ONCALL-TEST를 만듭니다.ruleup-prod-alerts,ruleup-prod-p0-alerts,ruleup-prod-pagerdutyset-alarm-state로 ALARM 또는 OK로 바꿉니다.RuleUp/Observe OnCallTest)를 missing=ignore로 봅니다. 그래서 다음 평가에서 OK로 돌아가지 않고, 10분 에스컬레이션까지 볼 수 있습니다.test-resolve를 실행하면 Slack 복구 알림이 오고 PagerDuty 사건이 닫힙니다.tests_pagerduty를 CI에 넣었습니다.스택: #321 위에 올렸습니다.
🤖 Generated with Claude Code