Api::V1::RecordsController#index (avg 50745ms, max 50745ms)
Service
cupixworks-api
Occurrences
183
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
cfe24462-0164-4097-acea-c69855c91566
First Seen
2026-06-26 19:22 UTC
Last Seen
2026-08-05 02:14 UTC
Actions
Api::V1::RecordsController#index (avg 50745ms, max 50745ms)
What Happened#
2026-06-27 04:22 KST 시각, production-us-west-2 환경의 cupixworks-api에서 GET /api/v1/records 한 건이 50745 ms 만에 200 OK로 응답했다. 같은 시각 같은 Puma host(ip-10-1-80-134.us-west-2)에서 Api::V1::PanosController의 여러 액션이 ActiveRecord::LockWaitTimeout 으로 약 50 s 이상 블로킹되며 502 응답을 반환하고 있었다. Records 요청 자체의 DB 측정 시간은 1805.93 ms로, 50 s 중 절대 다수는 ActiveRecord 외부의 대기 시간(MySQL connection 또는 Searchkick 호출 단계)에서 소비되었다.
Quick Facts#
| Field | Value |
|---|---|
| resource_name | Api::V1::RecordsController#index |
| top_frame | app/repositories/record_repository.rb:477 (Record.search(...)) |
| sample_trace_id | 4348598615794920273 |
| host | ip-10-1-80-134.us-west-2.compute.internal |
| http.status_code | 200 |
| duration | 50733.04 ms |
| db | 1805.93 ms |
| view | 0.09 ms |
| serialization.duration | 136 ms |
| env | production / us-west-2 |
| deploy | production-us-west-2-20260626t0223z0-bfdc5ebd-cupixworks |
| params | facility_key=e8uxfx, per_page=100, page=1 |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| cana (team_id 1165) | 1 | Api::V1::RecordsController#index 한 건이 50.7 s 응답 |
| wgyates (team_id 905) | 14 | 같은 시간대에 Api::V1::PanosController lock wait timeout 502 다수 |
Timeline#
- 2026-06-27 04:06:25 KST — facility
8jc688의 Records 인덱스 한 건이 32249 ms 만에 200 응답 (선행 신호). - 2026-06-27 04:21:06 KST —
Api::V1::PanosController액션에서ActiveRecord::LockWaitTimeout502 응답이 us-west-2에서 시작. - 2026-06-27 04:22:47 KST — Cluster
first_seen.Api::V1::RecordsController#index요청이 50745 ms 후 200 응답. 같은 host의 Pano 요청들이 lock wait 으로 timeout 중. - 2026-06-27 04:24:00 KST — Pano lock wait timeout 마지막 발생 후 진정. 이후 동일 facility 의 Records 요청 5건은 700 - 800 ms 로 정상 응답.
Scoring#
Confidence 85% · Actionability 28%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 11 code refs, 7 log queries |
| Code path explicitness | 3/3 | 11 file:line refs |
| Log evidence | 3/3 | section, query, pattern |
| 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 | 1/5 | critical |
| Affected files | 1/5 | 25 file(s) |
| Single repo | 1/3 | 4 service(s) |
| Immediate actions | 0/3 | absent |
| Testability | 0/3 | no test info |
| External dependency | 1/3 | external deps found |
| Data migration | 3/3 | no migration |