ES /docs

Api::V1::Admin::TeamsController#create (avg 10471ms, max 10471ms)

Service
cupixworks-api
Occurrences
14
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
fddbec04-2bb3-4bb8-bd98-61c30bcb3d79
First Seen
2026-05-29 06:19 UTC
Last Seen
2026-06-24 00:31 UTC
Actions

Api::V1::Admin::TeamsController#create (avg 10471ms, max 10471ms)

What Happened#

2026-05-29 15:19 KST, ap-southeast-2 리전에서 POST /api/v1/admin/teams 요청이 10,471ms(약 10.5초) 소요되었다. 요청 자체는 HTTP 200으로 성공했으나, 단일 request 내에서 외부 서비스 호출(Notification Lambda, Cognito), DB 작업, 캐시 무효화, 이메일 발송 등이 모두 동기적으로 실행되어 극심한 latency가 발생했다.

Quick Facts#

Field Value
resource_name Api::V1::Admin::TeamsController#create
duration 10,471ms (DB: 671ms, non-DB: 9,800ms)
top_frame app/factories/admin/team_factory.rb:28
env production, ap-southeast-2
request_id 6b7991da-c0cd-4533-ac8b-7b4fce4e270d
user Jonathan Tulloch (id: 1613, jonathan.tulloch@cupix.com)
user_agent Prism/CS/1.1.6

Timeline#

  1. 2026-05-29 15:19:46 KST — 요청 수신 시작
  2. 2026-05-29 15:19:48 KST — Team 188 생성, trial_state none -> active, 5개 default 그룹 생성
  3. 2026-05-29 15:19:48~15:19:52 KST — 4명의 사용자에 대해 notification recipe 생성 (외부 Lambda 순차 호출 x 12회)
  4. 2026-05-29 15:19:52 KST — Cognito 사용자 조회/생성
  5. 2026-05-29 15:19:54 KST — FormDesign/FormField skeleton 복사, Facility 생성, 이메일 발송
  6. 2026-05-29 15:19:54~15:19:56 KST — Default facility 구조 생성 (Level, Sketch, Review 등)
  7. 2026-05-29 15:19:58 KST — Team state initializing -> active, 응답 반환 (HTTP 200)

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 13 code refs, 3 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 1/5 critical
Affected files 1/5 19 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