Files
aio-01d4-stu/Last3Mon/77/answers/16-lab02-challenge2.txt
T

61 lines
2.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
$ uv run tools/flow.py push answers/77-lab02-challenge2-summary.json
✔ pushed '77 Log summary (answer)' (id w9c86d93226f0b0f)
POST http://localhost:5678/webhook/my-log-summary
$ uv run tools/flow.py test cases/lab02-challenge2.json -v
POST http://localhost:5678/webhook/my-log-summary · 3 case(s) × 1
✔ 요약 · 숫자는 통계에 있는 것만 · 3.4s
→ request POST /webhook/my-log-summary
{
"from": "2026-10-19",
"to": "2026-10-30"
}
← response HTTP 200
{
"summary": "가장 많은 미응답 주제는 와이파이로 34건입니다. 가장 흔한 장애는 Search FAQ 노드에서 발생한 \"timeout of 1000ms exceeded\" 메시지로 16건입니다. 가장 심각한 이상 현상은 10월 26일 09시에 발생했으며, 오류 16건과 총 16건의 요청이 있었습니다.",
"numbers_ok": true,
"unknown_numbers": [],
"top_topic": "와이파이",
"worst_hour": "2026-10-26T09"
}
✔ 요약 · 주제와 시간대를 말함 · 2.6s
→ request POST /webhook/my-log-summary
{
"from": "2026-10-19",
"to": "2026-10-30"
}
← response HTTP 200
{
"summary": "가장 많은 미응답 주제는 와이파이로 34건입니다. 가장 흔한 장애는 Search FAQ 노드에서 발생한 \"timeout of 1000ms exceeded\" 메시지로 16건입니다. 가장 심각한 이상 징후는 10월 26일 09시에 발생했으며, 오류 16건과 총 16건의 요청이 있었습니다.",
"numbers_ok": true,
"unknown_numbers": [],
"top_topic": "와이파이",
"worst_hour": "2026-10-26T09"
}
✔ 요약 · 날짜 · 1.7s
→ request POST /webhook/my-log-summary
{
"from": "2026-10-19",
"to": "2026-10-30"
}
← response HTTP 200
{
"summary": "가장 많은 미응답 주제는 와이파이로 34건입니다. 가장 흔한 장애는 Search FAQ 노드에서 발생한 \"timeout of 1000ms exceeded\" 메시지로 16건입니다. 가장 심각한 이상 징후는 10월 26일 09시에 발생했으며, 오류 16건과 총 16건이 보고되었습니다.",
"numbers_ok": true,
"unknown_numbers": [],
"top_topic": "와이파이",
"worst_hour": "2026-10-26T09"
}
Passed 3/3
report: runs/lab02-challenge2-20261031-075051.json
$ uv run tools/flow.py call my-log-summary requests/week2.json
HTTP 200 · 1.8s
{
"summary": "가장 많은 미응답 주제는 와이파이로 17건입니다. 가장 흔한 장애는 Search FAQ 노드에서 발생한 \"timeout of 1000ms exceeded\" 메시지로 16건입니다. 이상 징후가 가장 심한 시간대는 10월 26일 09시로, 총 16건 중 16건이 오류입니다.",
"numbers_ok": true,
"unknown_numbers": [],
"top_topic": "와이파이",
"worst_hour": "2026-10-26T09"
}