Api::V1::TrashesController#index (avg 10908ms, max 10908ms)
Service
cupixworks-api
Occurrences
1
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
66d75eca-0b67-427f-8c40-bc4364558da8
First Seen
2026-07-02 20:03 UTC
Last Seen
2026-07-02 20:03 UTC
Actions
Api::V1::TrashesController#index (avg 10908ms, max 10908ms)
What Happened#
GET /api/v1/trashes 요청이 2026-07-03 05:03 KST 에 약 10.9초 소요되며 latency 임계값을 초과했다. Rails controller 로직 자체는 성공(HTTP 200)했으나, TrashRepository#search 가 사용자 permission cache 를 model 별로 조회하는 과정에서 4개의 permission 캐시 (Team, Workspace, Facility, Record) 가 동시에 miss 되어 각각 permission table full-join 쿼리를 실행했다.
Quick Facts#
| Field | Value |
|---|---|
| resource_name | Api::V1::TrashesController#index |
| service | cupixworks-api |
| avg_duration_ms | 10908 |
| max_duration_ms | 10908 |
| sample_trace_id | 125824883500764732 |
| env | production, us-west-2 |
| tenant | cupix |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| cupixworks-api (Trash / 휴지통) | 1 (10.9s) | 휴지통 목록 로드가 10초 이상 지연되어 UI blocking 및 timeout 위험 |
Timeline#
- 2026-07-03 05:03:38 KST — trace
125824883500764732,GET /api/v1/trashes시작 (user 4568) - 2026-07-03 05:07:33 KST —
Flushing directly_permitted_items on user 4568, model: Team, min_permission: 2(cache miss) - 2026-07-03 05:07:33 KST —
Flushing directly_permitted_items on user 4568, model: Workspace, min_permission: 2(cache miss) - 2026-07-03 05:07:33 KST —
Flushing directly_permitted_items on user 4568, model: Facility, min_permission: 2(cache miss) - 2026-07-03 05:08:03 KST —
Flushing directly_permitted_items on user 4568, model: Record, min_permission: 2(cache miss, +30s wall-clock 이후) - 2026-07-03 05:06:40 KST —
[200] GET /api/v1/trashes응답 완료 (span 기준 10908ms)
(로그 타임스탬프는 개별 캐시 flush 이벤트가 로거로 flush 되는 시각이며 span duration 은 APM 스팬 값 기준이다.)
Scoring#
Confidence 85% · Actionability 28%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 19 code refs, 4 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 | 14 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 |