ES /docs

Api::V1::RecordsController#show (avg 226589ms, max 226589ms)

Service
cupixworks-api
Occurrences
2
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
e0d84ea7-abab-4d83-b326-32db6900e65d
First Seen
2026-07-01 02:15 UTC
Last Seen
2026-07-09 01:00 UTC
Actions

Api::V1::RecordsController#show (avg 226589ms, max 226589ms)

What Happened#

2026-07-01 11:15 KST 경 cupixworks-apiApi::V1::RecordsController#show 요청 1건이 226.6초(226,589ms) 동안 지속되었다. 같은 시간대에 records, panos, captures, editings, jobs 관련 쓰기 API에서 Mysql2::Error::TimeoutError: Lock wait timeout exceeded 502 에러가 45건 이상 발생했으며, 이 latency 스파이크는 그 InnoDB 락 경합 이벤트 tail에 걸린 read 요청이다.

Quick Facts#

Field Value
resource_name Api::V1::RecordsController#show
service cupixworks-api
cluster_type latency
avg_duration_ms 226589
max_duration_ms 226589
sample_trace_id 3219083934536030476
env production, us-west-2
tenant cupix

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api (records read) 1 (>500ms slow trace) 사용자가 record 상세 조회 시 최대 226초 대기 후 응답 수신
cupixworks-api (panos/captures/editings write) 45+ (502) 락 대기 초과로 업로드/편집 상태 갱신 실패

Timeline#

  1. 2026-07-01 10:33 KST — svc:cupixworks-api::unknown 관련 클러스터 첫 발생 (incident 2026-07-01-svc-cupixworks-api--unknown-1).
  2. 2026-07-01 10:51 KST — 첫 Mysql2::Error::TimeoutError: Lock wait timeout exceeded 발생 (JobsController#update).
  3. 2026-07-01 10:53–10:55 KST — Pano/Capture 쓰기 API에서 lock wait timeout이 대량으로 발생 (분당 5–7건).
  4. 2026-07-01 11:02 KST — 상기 svc-level 인시던트 자동 해소 처리 (resolved_at).
  5. 2026-07-01 11:11:31 KST — 문제의 RecordsController#show 요청 시작 (추정: last_seen - 226.6s).
  6. 2026-07-01 11:15:18 KST — 요청 226.6s 만에 종료 → 본 클러스터 감지.
  7. 2026-07-01 11:19 KST — 마지막 lock wait timeout (EditingsController#update). 이후 관련 502 로그 관찰되지 않음.

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 9 code refs, 3 log queries
Code path explicitness 3/3 9 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 14 file(s)
Single repo 1/3 3 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