chore: OpenAI 호출 관측 메트릭 추가 - #284
Merged
Merged
Conversation
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.
변경 내용
변경 이유
AI 회고 플로우 부하 테스트에서 동시 사용자 10명 요청은 모두 성공했지만, 회고 완료 API p99가 목표 5초를 초과했습니다. OpenAI 호출 시간과 서버 내부 처리 시간을 구분해 병목을 분석하기 위한 관측 지표를 추가합니다.
영향
didit_openai_request_duration_seconds,didit_openai_request_errors_total메트릭이 추가됩니다.검증
./gradlew spotlessCheck compileKotlin./gradlew test