[Chore] 대시보드 평균 응답시간, 외부 API 성공률, Redis 히트율 패널의 값과 색을 고친다 - #339
Merged
Merged
Conversation
- 평균 응답시간은 분모를 clamp_min(…, 1e-9) 에서 > 0 으로 바꾼다. 앱이 재시작되면 같은 라벨의 요청 수는 그대로인데 시간 합만 늘어나는 경우가 있어서, 요청 수 증가량 0 을 1e-9 로 바꿔 나누면 1,250만 ms 같은 값이 나왔다. 이제 그 URI 는 값을 비운다 - 외부 API 성공률은 호출이 없을 때 "최근 1시간 호출 없음" 이 임계값 기준색(빨강) 위에 떴다. null 매핑으로 회색을 준다 - Redis 히트율은 인증 요청마다 로그아웃 토큰과 탈퇴 사용자 블랙리스트를 조회하고 두 키 모두 대부분 없는 것이 정상이라 5% 안팎이 평소 값이다. 경고색을 없애고 패널 설명에 이유를 적는다 Closes #338
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✔️ 연관 이슈
📝 작업 내용
#336 에서 고친 대시보드 중 세 패널이 여전히 틀린 값이나 색을 보여줘서, prod 반영 전에 고쳤습니다.
DELETE /api/practiceNotes가 약 1,250만 ms 로 나옴clamp_min(…, 1e-9)에서> 0으로 바꿔 요청이 없으면 값을 비움1e-9로 바꿔 나누면서 값이 커졌습니다. prod 는 배포할 때마다 이런 상황이 생길 수 있습니다.RedisTokenService.java:76, 102), 두 키 모두 대부분 없는 것이 정상이라 miss 가 많습니다.clamp_min(…, 1e-9)패널은 그대로 뒀습니다. 5xx 비율, 행동 에러율, Redis 히트율은 분자가 분모의 일부라 분모가 0 이면 분자도 0 이어서 같은 문제가 생기지 않습니다.👤 사용자 영향
🔌 API 호환성
🗄️ DB migration
🔐 인증/권한
✅ 검증 결과
json.tool로 문법을 확인했습니다.🚀 배포 리스크
↩️ 롤백/대응 방법