ES /docs

Api::V1::WorkareaGroupsController#create (avg 13004ms, max 13004ms)

Service
cupixworks-api
Occurrences
1
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
d83e9674-01b9-4282-b293-8435873c65b5
First Seen
2026-07-22 21:42 UTC
Last Seen
2026-07-22 21:42 UTC
Actions

Api::V1::WorkareaGroupsController#create (avg 13004ms, max 13004ms)

What Happened#

2026-07-23 06:42 KST 에 cupixworks-api (us-west-2) 에서 POST /api/v1/workarea_groups 한 건이 12,996ms 걸려 정상 응답(200)했다. 동일 엔드포인트의 최근 7일 평균은 150ms 수준이므로 약 85배 느린 이상치이며, 대상 facility(y6he2m — "343 Madison Project", team Turner Construction) 는 55개의 level 을 보유해 WorkareaGroup after_create 콜백이 55회의 Workarea.create! 를 동기 실행하면서 각각 Elasticsearch 인덱싱까지 수행한 것이 지연의 주된 원인이다.

Quick Facts#

Field Value
resource_name Api::V1::WorkareaGroupsController#create
top_frame app/models/workarea_group.rb:17 (after_create :create_not_set_workarea)
runtime Rails / Ruby on cupixworks-api
deploy production-us-west-2-20260722t0700z0-848f7c00-cupixworks
env production, us-west-2, tenant=cupix

Affected Teams#

Team / Domain Error Count Impact
Turner Construction (tcco, team_id 748) 1 단일 사용자(Matt Muir) 요청이 13초 동안 브라우저에서 대기

Timeline#

  1. 2026-07-23 06:41:06 KST — 동일 사용자가 facility y6he2m 를 조회 (GET /api/v1/facilities/y6he2m, 정상)
  2. 2026-07-23 06:42:13 KSTPOST /api/v1/workarea_groups (name="Work Area Group 0", facility_key="y6he2m") 요청 시작 (first_seen)
  3. 2026-07-23 06:42:27 KST — 요청 완료 (200, duration=12996.72ms, db=4569.36ms)
  4. 2026-07-23 06:42:38 KST — 후속 GET /api/v1/facilities/y6he2m 정상 응답 (관련 조회는 회복)

Scoring#

Confidence 85% · Actionability 28%

Confidence#

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