ES /docs

Api::V1::SitetracksController#create_sitetrack_upload_credentials (avg 429113ms, max 429113ms)

Service
cupixworks-api
Occurrences
1
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
12f1df11-f494-4d45-bdf8-0bd886d2c4a2
First Seen
2026-07-17 07:13 UTC
Last Seen
2026-07-17 07:13 UTC
Actions

Api::V1::SitetracksController#create_sitetrack_upload_credentials (avg 429113ms, max 429113ms)

What Happened#

2026-07-17 16:13 KST 경 production cupixworks-api (us-west-2) 에서 POST /api/v1/sitetracks/21583/sitetrack_upload_credentials 요청 1건이 429,113 ms (약 7분 9초) 소요된 후 HTTP 200 으로 완료됨. 동일 시간대에 다른 요청들에서 MySQL LockWaitTimeout (captures/736633/check_voxels_uploading 502) 과 Elasticsearch 10 초 request timeout (Admin::CaptureRepository) 이 반복 관측되어, 인프라 수준의 정체가 요청 지연의 배경으로 확인됨. 요청 자체는 성공했지만 응답 시간이 정상값(수백 ms) 대비 세 자릿수 이상 벌어져 클라이언트 측 UX 및 재시도 정책에 영향을 줄 수 있음.

Quick Facts#

Field Value
resource_name Api::V1::SitetracksController#create_sitetrack_upload_credentials
sample_trace_id 8677574539610561917
avg_duration_ms 429113
max_duration_ms 429113
http_status 200
env production, region us-west-2, tenant cupix

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api (Sitetrack upload flow) 1 slow trace Sitetrack 21583 의 업로드 자격증명 발급이 7분 지연됨. 요청은 최종 성공.
cupixworks-api (Capture / voxel flow) 6 × 502 (LockWaitTimeout) + ES timeouts 같은 창에서 다른 리소스도 영향을 받은 것으로 관측 (근접 인시던트 dc0e4dfdBimsController#check_uploading 25 초).

status-board 는 이 클러스터를 활성 인시던트 2026-07-17-svc-cupixworks-api--unknown-1 (started 2026-07-17T07:06:57Z) 에 포함시켜 그룹으로 관리 중.

Timeline#

  1. 2026-07-17 16:04 KSTUserRecipeGenerator 관련 service_jwt NoMethodError 다수 발생 (별개 이슈, 배경 노이즈).
  2. 2026-07-17 16:10 KSTUuidable::UuidValidator 가 ES 10 초 timeout 을 감지 ("Operation timed out after 10002 milliseconds with 0 bytes received"). ES 응답 지연 신호 시작.
  3. 2026-07-17 16:13:58 KST — 문제의 slow trace 시작 (first_seen 을 KST 로 변환한 시각). Sitetrack 21583 대상 create_sitetrack_upload_credentials 진입.
  4. 2026-07-17 16:14:57 KST — Sitetrack 21583 의 다른 처리 (Sitetrack.notify, Job 1205223 job_stopped_callback) 가 완료되어 다수 write / ES index 콜백이 동시 실행됨.
  5. 2026-07-17 16:15:34 → 16:20:26 KSTPUT /api/v1/captures/736633/check_voxels_uploadingMysql2::Error::TimeoutError: Lock wait timeout exceeded 로 6 회 반복 실패 (502). DB row-lock 경합 확인.
  6. 2026-07-17 16:20:38 → 16:20:42 KSTAdmin::CaptureRepository 에서 ES 10 초 timeout 이 7 회 연속 발생.
  7. 2026-07-17 16:27:39 KST — 문제의 요청이 최종적으로 HTTP 200 응답 (총 429,113 ms 소요).
  8. 2026-07-17 16:33 KST — RCA 착수 (본 문서).

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 20 code refs, 9 log queries
Code path explicitness 3/3 20 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 10 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