Api::V1::EditingsController#index (avg 22466ms, max 22466ms)
Service
cupixworks-api
Occurrences
3
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
2b04d149-b087-4acf-9aaf-6cb4703af427
First Seen
2026-07-18 03:01 UTC
Last Seen
2026-07-29 23:46 UTC
Actions
Api::V1::EditingsController#index (avg 22466ms, max 22466ms)
What Happened#
2026-07-18 12:01 KST 경 production us-west-2 환경의 cupixworks-api 서비스에서 GET /api/v1/editings (Api::V1::EditingsController#index) 요청 1건이 22.4초 동안 실행되어 latency 클러스터로 감지되었다. Datadog trace 로그를 확인한 결과 총 소요 시간 22,420ms 중 serialization 단계가 21,252ms를 차지했으며, DB(753ms) 및 view(0.11ms) 시간은 정상 범위였다. 즉, Elasticsearch 검색이나 SQL 쿼리 자체가 느린 것이 아니라 응답 20건을 EditingSerializer로 직렬화하는 과정에서 병목이 발생했다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | (없음 — latency 클러스터, 200 응답) |
| resource_name | Api::V1::EditingsController#index |
| top_frame | app/serializers/editing_serializer.rb |
| duration_ms | 22420.11 (view: 0.11, db: 753.55, serialization: 21252) |
| deploy | production-us-west-2-20260716t2021z0-f2b18e95-cupixworks |
| env | production, us-west-2 |
| tenant | cupix (team.id=133, domain admin) |
| params | filter=editing_type:normal, per_page=20, order_by=estimated_finish_at, sort=asc, page=1 |
| pagination | total_entries=462, per_page=20 |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
team.id=133 (admin) — Cupix 내부 editing 운영팀 |
1 | 편집 리스트 페이지 로딩이 22초 지연됨 |
Datadog trace 로그에서 확인된 slow request 는 1건이지만, 동일한 endpoint 는 최근 7일간 @duration:>5s 조건으로 지속적으로 반복 조회되고 있다(주로 admin 도메인). 따라서 편집 큐를 조회하는 내부 운영자 그룹이 상시 영향권.
Timeline#
- 2026-07-18 12:01:14 KST —
GET /api/v1/editings요청 도착 (per_page=20, total_entries=462) - 2026-07-18 12:01:14 ~ 12:01:39 KST — 요청 처리, DB 쿼리 753ms 후 EditingSerializer 직렬화 21.3초 소요
- 2026-07-18 12:01:39 KST — 200 응답 반환 (총 22,420ms)
- 2026-07-18 12:01:14 KST — error-sweeper 가 avg_duration 22466ms latency 클러스터로 감지
Scoring#
Confidence 85% · Actionability 28%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 19 code refs, 5 log queries |
| Code path explicitness | 3/3 | 19 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 | 21 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 | 3/3 | no migration |