79일차 운영 데이터 기반 Ops Assistant: 실습 15개 · 강의(개요 30장 · 단계 문서 · 4단계 정리 · 05 바이브), 정답본 LAB-A · answers · VIBE-A · tops 포함
This commit is contained in:
1 parent
9ce9aceba6
commit
6f0ecd59a9
156 files changed
+31640
No files matched your search
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"webhook": "my-ops-brief",
|
||||
"before": [
|
||||
{
|
||||
"url": "http://localhost:8800/ops-reset",
|
||||
"body": {}
|
||||
}
|
||||
],
|
||||
"cases": [
|
||||
{
|
||||
"name": "아침 그대로",
|
||||
"body": {},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"red": [
|
||||
"runs",
|
||||
"dlq",
|
||||
"release"
|
||||
],
|
||||
"actions.0.area": "runs",
|
||||
"actions.1.area": "dlq"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "parked 둘을 처리하면 → DLQ는 노랑, 먼저 볼 것에 알림",
|
||||
"before": [
|
||||
{
|
||||
"url": "http://localhost:8800/dlq/update",
|
||||
"body": {
|
||||
"dlq_id": 1,
|
||||
"remove": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"url": "http://localhost:8800/dlq/update",
|
||||
"body": {
|
||||
"dlq_id": 2,
|
||||
"remove": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"body": {},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"red": [
|
||||
"runs",
|
||||
"release"
|
||||
],
|
||||
"actions.1.area": "release",
|
||||
"actions.2.area": "alerts"
|
||||
},
|
||||
"contains": {
|
||||
"markdown": "| DLQ | 🟡 | 1건 (parked 0) |"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "카나리를 끄면 → 릴리스는 초록",
|
||||
"before": [
|
||||
{
|
||||
"url": "http://localhost:8800/releases/helpdesk",
|
||||
"body": {
|
||||
"canary": null
|
||||
}
|
||||
}
|
||||
],
|
||||
"body": {},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"red": [
|
||||
"runs"
|
||||
],
|
||||
"actions.1.area": "alerts",
|
||||
"actions.2.area": "dlq"
|
||||
},
|
||||
"contains": {
|
||||
"markdown": "| 릴리스 | 🟢 | 1.1.0 |"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "예산을 올리면 → 비용도 초록",
|
||||
"before": [
|
||||
{
|
||||
"url": "http://localhost:8800/budget",
|
||||
"body": {
|
||||
"daily_usd": 0.2
|
||||
}
|
||||
}
|
||||
],
|
||||
"body": {},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"red": [
|
||||
"runs"
|
||||
],
|
||||
"yellow": [
|
||||
"alerts",
|
||||
"dlq",
|
||||
"quality"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "남은 빨강은 실행 하나 (사람이 고칠 일)",
|
||||
"body": {},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"overall": "red",
|
||||
"actions.0.area": "runs"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user