DOCS/workflow/04_scheduler/scheduled_healthcheck_alert.md
happybell80 da2f343f1c docs: 워크플로우 전수 조사 — MD 보조 문서 12건 생성, JSON notes 2건 갱신
SSOT 원칙(JSON 먼저, MD 함께): 모든 워크플로우 JSON에 대응하는 MD 보조 문서 작성.
260319 rb8001 변경 영향 반영:
- companyx_grounding_pipeline: skip_default_prompt로 영향 없음 (notes 추가)
- diary_reflection_pipeline: prompt DB v3 + neutral 생략 적용됨 (notes 추가)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 22:47:46 +09:00

26 lines
837 B
Markdown

# scheduled_healthcheck_alert 워크플로우
## 목적
10분마다 rb8001의 health 엔드포인트를 확인하고, 실패 시 Slack 알림을 보낸다.
## 흐름
```
Schedule Trigger (*/10 * * * *) → Check rb8001 Health → Health Failed? → (true) Send Alert
→ (false) 종료
```
## 주요 노드
| 노드 | 설명 |
|---|---|
| Schedule Trigger | cron `*/10 * * * *` (매 10분) |
| Check rb8001 Health | `GET :8001/health` |
| Health Failed? | statusCode !== 200 분기 |
| Send Alert | Slack C_ALERTS 채널에 장애 알림 |
## 엔드포인트
- 아웃바운드: `GET http://192.168.219.52:8001/health`
- 아웃바운드: Slack `chat.postMessage` (채널: C_ALERTS)
## 관련 문서
- [service_health_check](../05_admin/service_health_check.md)