Api::V1::CapturesController#create (avg 10301ms, max 10301ms)
Service
cupixworks-api
Occurrences
216
Status
Reported
Confidence
80%
Actionability
52%
Cluster ID
eade96c5-9ef0-434e-abce-01bdd8753b82
First Seen
2026-06-24 09:53 UTC
Last Seen
2026-08-05 01:24 UTC
Actions
Api::V1::CapturesController#create (avg 10301ms, max 10301ms)
What Happened#
2026-06-24 18:53 KST에 cupixworks-api (eu-central-1) 의 POST /api/v1/captures 요청 1건이 약 10.3초 소요되었다. 트레이스 로그를 따라가 보면, Capture 생성 자체는 빨랐으나 후속 ActiveSupport::Notifications 구독자가 요청 스레드에서 동기적으로 notification-service 로 4개의 HTTP 호출(recipe 3개 + subscription 1개)을 차례로 보내며 응답을 보류했다. notification-service 자체는 정상이었다 (Lambda Duration 70~80ms).
Quick Facts#
| Field | Value |
|---|---|
| resource_name | Api::V1::CapturesController#create |
| top_frame | app/controllers/api/v1/captures_controller.rb:40-44 |
| sample_trace_id | 1886599198934093405 |
| env | production, eu-central-1 |
| tenant | cupix |
| avg_duration_ms | 10301 |
| max_duration_ms | 10301 |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| cupixworks-api (POST /api/v1/captures) | 1 | 단일 사용자(baldivin.hilary@shapoorji.com, team 113, facility sirg5z)의 capture 생성이 약 10초 지연. 응답은 [200]으로 정상. |
Timeline#
- 2026-06-24 18:53:48 KST — 트레이스 시작 (
Api::V1::CapturesController#create) - 2026-06-24 18:53:50 KST —
RecordFactory가 Record(7227) 생성, Spacetime 4건 생성 + facility review 캐시 무효화 - 2026-06-24 18:53:52 KST — Capture(40036) 생성 완료,
cupix-trace-id발급,Cupix::EventService.publish_event호출, User/Capture 권한 캐시 flush - 2026-06-24 18:53:55 KST — notification-service 가
record_preview_readyrecipe 저장 (1번째 외부 HTTP) - 2026-06-24 18:53:57 KST —
record_processing_completed,facility_new_projectrecipe 저장 (2~3번째 외부 HTTP) - 2026-06-24 18:54:00 KST — Facility
sirg5zsubscription 생성 (4번째 외부 HTTP) - 2026-06-24 18:54:02 KST —
[200] POST /api/v1/captures응답 완료 (총 약 10.3초)
Scoring#
Confidence 80% · Actionability 52%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 9 code refs, 7 log queries |
| Code path explicitness | 3/3 | 9 file:line refs |
| Log evidence | 2/3 | section, query |
| RCA structure | 3/3 | 3/3 sections |
| Revision history | 0/3 | 0 revision(s) |
| Agent execution | 3/3 | success |
Actionability#
| Dimension | Score | Detail |
|---|---|---|
| Fix complexity | 5/5 | trivial |
| Affected files | 1/5 | 18 file(s) |
| Single repo | 1/3 | 6 service(s) |
| Immediate actions | 0/3 | absent |
| Testability | 0/3 | no test info |
| External dependency | 3/3 | no external deps |
| Data migration | 3/3 | no migration |