ES /docs

Api::V1::MetricsController#index (avg 3849ms, max 3849ms)

Service
cupixworks-api
Occurrences
1
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
575d8fc2-91b9-4bd0-90ae-9c8ddf3c66f3
First Seen
2026-06-04 03:56 UTC
Last Seen
2026-06-04 03:56 UTC
Actions

Api::V1::MetricsController#index (avg 3849ms, max 3849ms)

What Happened#

2026-06-04 12:56 KST에 cupixworks-api의 Api::V1::MetricsController#index 엔드포인트에서 3849ms의 응답 지연이 발생했다. 결과가 0건임에도 불구하고 DB에서 2153ms가 소비되었으며, 이는 permission_joins의 11개 LEFT JOIN 권한 쿼리가 DB 부하 상황에서 느려진 것이 원인이다.

Quick Facts#

Field Value
resource_name Api::V1::MetricsController#index
top_frame app/repositories/metric_repository.rb:33-207
runtime Ruby on Rails (cupixworks-api)
deploy production-us-west-2-20260604t0241z0-bfe9a388-cupixworks
env production, us-west-2

Timeline#

  1. 2026-06-04 12:56 KST — MetricsController#index 요청 시작 (facility_key=nvo8k1, team=clark-vdc)
  2. 2026-06-04 12:56 KST — 응답 완료 (200 OK, 3357ms 소요, DB 2153ms)
  3. 2026-06-04 13:29 KST — 동일 호스트에서 PanosController#bulk 15765ms 지연 확인 (호스트 부하 지속)
  4. 2026-06-04 12:59 KST — 다른 호스트에서 동일 엔드포인트 14ms 정상 응답 확인

Scoring#

Confidence 85% · Actionability 28%

Confidence#

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