ES /docs

Api::V1::AnnotationsController#index (avg 10050ms, max 10050ms)

Service
cupixworks-api
Occurrences
5
Status
Reported
Confidence
85%
Actionability
44%
Cluster ID
1ba5f92d-60a4-41e9-be92-547ff89bb846
First Seen
2026-06-26 14:12 UTC
Last Seen
2026-08-03 18:31 UTC
Actions

Api::V1::AnnotationsController#index (avg 10050ms, max 10050ms)

What Happened#

2026-06-26 23:12:43 KST에 cupixworks-apiApi::V1::AnnotationsController#index 요청이 Elasticsearch 호출에서 10초 timeout 에 걸려 502 Bad Gateway (code BG10002) 로 응답했다. 동일 review (v4efud) 에 대한 1ms 뒤 재시도 요청은 122ms 에 정상 완료된 것으로 보아, 쿼리 자체가 무거운 것이 아니라 Elasticsearch 호출이 일시적으로 지연된 단발성 사건이다.

Quick Facts#

Field Value
controller#action Api::V1::AnnotationsController#index
http.status_code 502
error.class Cupix::Errors::BadGateway
error.code BG10002
underlying error Operation timed out after 10002 milliseconds with 0 bytes received (Patron / Elasticsearch transport)
top_frame app/repositories/base_repository.rb:94-97
duration 10048.24 ms
db time 10.03 ms (≪ 전체 duration)
host ip-10-1-80-134.us-west-2.compute.internal
deploy production-us-west-2-20260626t0223z0-bfdc5ebd-cupixworks
env production / us-west-2
affected team rogers-obrien (team_id 631)
review_key v4efud

Affected Teams#

Team / Domain Error Count Impact
rogers-obrien 1 annotations 목록 조회 1건 실패 (10s 대기 후 502). 즉시 재시도는 122ms 만에 성공.

Timeline#

  1. 2026-06-26 23:12:33 KST — 클라이언트가 GET /api/v1/reviews/v4efud/annotations 호출 시작.
  2. 2026-06-26 23:12:43 KST — Elasticsearch transport 가 10,002 ms 만에 timeout (Operation timed out after 10002 milliseconds with 0 bytes received).
  3. 2026-06-26 23:12:43 KSTbase_repository.rb#searchStandardError 로 catch 하여 Cupix::Errors::BadGateway (code BG10002) 를 raise. 응답 코드 502, 총 소요 10048.24 ms.
  4. 2026-06-26 23:12:43 KST — 동일 review/세션의 재시도 요청 (request_id=4c6f617c…) 이 122ms 에 200 으로 성공.

Scoring#

Confidence 85% · Actionability 44%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 13 code refs, 7 log queries
Code path explicitness 3/3 13 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 5/5 trivial
Affected files 1/5 18 file(s)
Single repo 1/3 2 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