ES /docs

Api::V1::FeedsController#index (avg 18150ms, max 18150ms)

Service
cupixworks-api
Occurrences
15
Status
Reported
Confidence
85%
Actionability
16%
Cluster ID
2b3c088f-5596-4bcf-81dc-74e4828b2148
First Seen
2026-07-01 07:58 UTC
Last Seen
2026-08-04 13:11 UTC
Actions

Api::V1::FeedsController#index (avg 18150ms, max 18150ms)

What Happened#

2026-07-01 16:58 KST에 cupixworks-api (us-west-2)의 GET /api/v1/feeds 한 건이 18.15초 걸려 완료됐다. HTTP 200으로 성공했지만, 응답 시간의 거의 전부(db: 17754.85ms)를 데이터베이스 쿼리가 차지했다. admin 팀 사용자가 facility_key=2f6b5s (해당 facility의 event 3,664건)를 조회한 요청 한 건이 지연 클러스터로 잡혔다.

Quick Facts#

Field Value
resource_name Api::V1::FeedsController#index
endpoint GET /api/v1/feeds
top_frame app/repositories/feed_repository.rb:169-177 (_event_query)
trace_id 959803301119832904
request_id 29e09de6-e8c5-40e9-9bfb-a50ea649b475
duration 18148.09 ms (db 17754.85 ms, serialization 555 ms, view 0.09 ms)
status_code 200
deploy production-us-west-2-20260701t0627z0-595dc2ae-cupixworks
host ip-10-1-80-134.us-west-2.compute.internal
env production / us-west-2

Affected Teams#

Team / Domain Error Count Impact
admin (Cupix 내부, 조회 사용자) 1 admin 팀 사용자가 facility_key=2f6b5s (team domain findorff, id 159) feed 조회 시 18초 대기
findorff (조회 대상 facility 소유 팀) 데이터는 정상 반환됨 (200). 사용자 체감 지연만 발생

Timeline#

  1. 2026-07-01 16:58:29 KST — 요청 진입 (@timestamp - duration 역산; first_seen 2026-07-01T07:58:27.541Z)
  2. 2026-07-01 16:58:47 KST — 응답 완료, duration=18148.09ms, db=17754.85ms 기록 (Datadog log @timestamp 2026-07-01T07:58:47.600Z)
  3. 2026-07-01 16:58:27 KST — error-sweeper collector가 latency cluster로 감지 (first_seen)

Scoring#

Confidence 85% · Actionability 16%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 16 code refs, 7 log queries
Code path explicitness 3/3 16 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 35 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 0/3 migration needed