ES /docs

Api::V1::AnnotationsController#show (avg 309016ms, max 309016ms)

Service
cupixworks-api
Occurrences
1
Status
Reported
Confidence
80%
Actionability
28%
Cluster ID
c20b64fa-c8d2-4720-989a-e55c71dc8c52
First Seen
2026-07-21 10:16 UTC
Last Seen
2026-07-21 10:16 UTC
Actions

Api::V1::AnnotationsController#show (avg 309016ms, max 309016ms)

What Happened#

2026-07-21 19:16 KST 무렵 cupixworks-apieu-central-1 리전에서 GET /api/v1/reviews/:review_key/annotations/:id 요청이 약 309초(≈5분 9초) 동안 지속된 하나의 APM span이 관측되었다. 동일 시간대에 완료 로그([200] ... AnnotationsController#show)가 남아 있지 않아, 업스트림(ALB/Puma) timeout 이 걸린 뒤 span 만 close 된 이례적 요청이다.

Quick Facts#

Field Value
cluster_type latency
resource_name Api::V1::AnnotationsController#show
top_frame app/repositories/base_repository.rb:306 (BaseRepository.show)
avg_duration_ms 309016
max_duration_ms 309016
occurrence_count 1
sample_trace_id 1147796689992067536
env production, region eu-central-1
tenant cupix

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api (eu-central-1) 1 단일 사용자 요청이 5분간 hang 후 timeout — 사용자 관점에서는 annotation 상세 페이지 무응답

Timeline#

  1. 2026-07-21 19:11 KST 무렵 — Span 시작 (10:16:58 UTC − 309s ≈ 10:11:49 UTC = 19:11:49 KST). Datadog log 에도 대응되는 request-start 로그가 없다 — Rails/Rack request logger 는 finish 시점에 방출되므로 예상되는 결과다.
  2. 2026-07-21 19:11 ~ 19:18 KST — 같은 eu-central-1 리전에서 AnnotationsController#index 요청이 짧은 시간에 다수 발생 (Datadog 로그로 최소 20+ 건 확인). 부하 spike 국면.
  3. 2026-07-21 19:16:58 KST — 문제의 #show span 종료 (duration 309,016 ms). 완료 로그([200] GET /api/v1/reviews/emlkv5/annotations/... (Api::V1::AnnotationsController#show)) 는 이 timestamp 에 존재하지 않는다.
  4. 2026-07-21 19:17:15 KST — 정상 #show 응답 재개 (/reviews/emlkv5/annotations/12297, 200 OK).

Scoring#

Confidence 80% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 12 code refs, 8 log queries
Code path explicitness 3/3 12 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 1/5 critical
Affected files 1/5 15 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