Api::V1::PowerBiReportsController#access_token (avg 10293ms, max 10293ms)
Service
cupixworks-api
Occurrences
2
Status
Reported
Confidence
85%
Actionability
44%
Cluster ID
2ae0ded9-1fd2-459b-ba32-d5804862b629
First Seen
2026-07-01 02:05 UTC
Last Seen
2026-07-25 08:39 UTC
Actions
Api::V1::PowerBiReportsController#access_token (avg 10293ms, max 10293ms)
What Happened#
2026-07-01 11:05 KST, cupixworks-api production(us-west-2, tenant cupix)에서 POST /api/v1/power_bi_reports/1/access_token 요청 1건이 10,293ms 동안 실행된 뒤 [403] Cupix::Errors::PermissionDenied (PERM34000)로 종료되었다. Pundit 권한 검사에서 즉시 거부되어야 할 요청이 10초를 소요한 것으로, 컨트롤러의 access_token 액션 본문이 아닌 그 앞단(before_action 체인 및 set_power_bi_report의 DB 조회)에서 시간이 소진되었다는 신호다. 발생 직전 동일 서비스에서 Mysql2::Error::TimeoutError: Lock wait timeout exceeded 두 건이 관측되었고, 광범위한 svc:cupixworks-api::unknown 인시던트가 3분 전(11:02:16 KST) resolved 상태로 마감된 시점이라 MySQL 락 경합에 따른 잔여 latency 스파이크로 판단된다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | Cupix::Errors::PermissionDenied (PERM34000) — HTTP 403 |
| exception.message | Only administrator can get power bi embedded token |
| resource_name | Api::V1::PowerBiReportsController#access_token |
| avg_duration_ms | 10293 |
| max_duration_ms | 10293 |
| trace_id | 1901029771432711949 |
| env | production, us-west-2 |
| tenant | cupix |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| cupixworks-api / Power BI embed | 1 | 관리자 권한이 없는 사용자 1명이 Power BI 임베드 토큰 요청 시 10초 대기 후 403 수신. 사용자 체감상 hang 후 실패 |
Timeline#
- 2026-07-01 10:43 KST —
svc:cupixworks-api::unknown서비스 저하 인시던트 시작 (incident id2026-07-01-svc-cupixworks-api--unknown-1) - 2026-07-01 11:02:16 KST — 위 인시던트 resolved 마킹
- 2026-07-01 11:04:27 KST —
PanosController#check_uploading[502]ActiveRecord::LockWaitTimeout발생 - 2026-07-01 11:04:31 KST —
PanosController#stitched[502]ActiveRecord::LockWaitTimeout발생 - 2026-07-01 11:05:19 KST — 슬로우 트레이스 시작 (
POST /power_bi_reports/1/access_token, trace1901029771432711949) - 2026-07-01 11:05:31 KST — 동일 요청 [403]
PERM34000로그 출력 (약 12초 후, 10.3s 요청 실행 + 로깅 지연)
Scoring#
Confidence 85% · Actionability 44%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 13 code refs, 5 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 | 5/5 | trivial |
| Affected files | 1/5 | 18 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 |