ES /docs

Api::V1::ElementTracesController#index (avg 16164ms, max 18888ms)

Service
cupixworks-api
Occurrences
13
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
85822c16-7061-404d-b8a7-6b818b7cb208
First Seen
2026-07-01 02:37 UTC
Last Seen
2026-07-30 12:08 UTC
Actions

Api::V1::ElementTracesController#index (avg 16164ms, max 18888ms)

What Happened#

2026-07-01 11:37–11:49 KST 사이에 cupixworks-api의 Api::V1::ElementTracesController#index 엔드포인트에서 두 건의 극단적인 응답 지연이 발생했다 (avg 16.1s, max 18.9s). 통상적으로 이 엔드포인트의 p-max는 최근 24시간 기준 1~3초 수준이며 12.7초가 관측되던 tail이 이번에 18.9초까지 벌어졌다. 같은 시간대에 동일 컨트롤러의 #bulk (PUT) 요청이 분당 30건 이상 지속적으로 유입되고 있었다.

Quick Facts#

Field Value
resource_name Api::V1::ElementTracesController#index
cluster_type latency
avg_duration_ms 16164
max_duration_ms 18888
top_frame app/repositories/base_repository.rb:70 (BaseRepository#search)
env production, us-west-2
tenant cupix

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api (element traces) 2 (slow spans) 특정 사용자/facility에서 element trace 목록 로딩이 15초 이상 지연 — 브라우저 spinner 장기간, 사용자 이탈 가능

Timeline#

  1. 2026-07-01 11:37 KST — 첫 번째 slow #index 요청 (trace_id 1335364666684600316)
  2. 2026-07-01 11:37~11:49 KST — 같은 컨트롤러의 #bulk PUT 요청이 분당 30건 이상 지속 (Datadog Api::V1::ElementTracesController#bulk 검색 로그)
  3. 2026-07-01 11:49 KST — 두 번째 slow #index 요청 (trace_id 700053819678212253), max 18888ms 기록
  4. 2026-07-01 11:49 KST 이후 — 지연 스파이크 자연 해소, 이후 신규 slow 이벤트 없음

Scoring#

Confidence 85% · Actionability 28%

Confidence#

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