From e089d341fd3eab4b1f4a285a9078a93b5e436d0d Mon Sep 17 00:00:00 2001 From: happybell80 Date: Thu, 28 Aug 2025 16:47:06 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=EB=A0=88=EB=B2=A8=20=ED=91=9C=EC=8B=9C?= =?UTF-8?q?=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0=20=EC=99=84=EB=A3=8C?= =?UTF-8?q?=20=EB=AC=B8=EC=84=9C=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../250817_robeing_monitor_integration.md | 16 ++++++---------- .../250825_robeing_stats_display_issue.md | 18 +++++++----------- 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/troubleshooting/250817_robeing_monitor_integration.md b/troubleshooting/250817_robeing_monitor_integration.md index 2836cc0..14bc96d 100644 --- a/troubleshooting/250817_robeing_monitor_integration.md +++ b/troubleshooting/250817_robeing_monitor_integration.md @@ -66,17 +66,13 @@ 3. **Scopes 파싱 문제**: - PostgreSQL에 문자열로 저장된 scopes를 JSON 배열로 변환 -## 2025-08-28 활용 결과 +## 2025-08-28 레벨 표시 문제 해결 완료 ✅ -### 로빙 레벨 문제 부분 해결 -- **완료**: state_service `/api` 마운트 ✅ -- **완료**: Gateway → robeing-monitor 통합 ✅ -- **완료**: DB 스탯 컬럼 추가 ✅ -- **확인**: 직접 호출 시 레벨 20 반환 ✅ - -### 해결 방법 확인 -- **문제**: Frontend가 `/api/user/robeing` 호출 → 404 -- **해결**: `/api/robeing/info`로 변경 (Gateway에 구현됨) +### 핵심 해결 +- robeing-monitor의 state_service를 `/api` 경로에 마운트 +- Gateway 모든 stats 요청 → robeing-monitor로 통합 +- DB에 누락된 스탯 컬럼 추가 (memory, compute 등) +- Frontend가 rb8001 레벨 20 정상 표시 ## 남은 작업 사항 diff --git a/troubleshooting/250825_robeing_stats_display_issue.md b/troubleshooting/250825_robeing_stats_display_issue.md index 5da7863..9838d54 100644 --- a/troubleshooting/250825_robeing_stats_display_issue.md +++ b/troubleshooting/250825_robeing_stats_display_issue.md @@ -1,8 +1,8 @@ # 로빙 상태(Stats) 표시 안됨 문제 트러블슈팅 -## 작성일: 2025-08-25 +## 작성일: 2025-08-25 (수정: 2025-08-28) ## 작성자: 서버 관리자 -## 상태: 부분 해결 (2025-08-28) - robeing_id undefined 문제 남음 +## 상태: ✅ 해결 완료 --- @@ -167,15 +167,11 @@ useEffect(() => { ### ✅ 해결 완료 (2025-08-28) -#### robeing-monitor 활용으로 해결 -- **완료**: state_service를 `/api` 경로로 마운트 -- **완료**: Gateway 모든 로빙 → robeing-monitor 통합 -- **완료**: DB 스탯 컬럼 추가 -- **확인**: 레벨 20 정상 반환 (직접 호출 시) - -#### ✅ 해결 방법: Frontend 엔드포인트 수정 -- 문제: `/api/user/robeing` → 404 -- 해결: `/api/robeing/info`로 변경 (Gateway에 있음) +#### 최종 해결 +1. robeing-monitor 활용: state_service를 `/api` 경로 마운트 +2. Gateway 통합: 모든 stats → robeing-monitor (포트 9024) +3. DB 스키마: 누락 컬럼 추가 (memory, compute 등) +4. Frontend: rb8001 레벨 20 정상 표시 ✅ ---