Skip to content

[NO-ISSUE] OpenAI 호출 관측 메트릭 추가 - #285

Merged
hyoj-dev merged 2 commits into
mainfrom
develop
Jul 20, 2026
Merged

[NO-ISSUE] OpenAI 호출 관측 메트릭 추가 #285
hyoj-dev merged 2 commits into
mainfrom
develop

Conversation

@hyoj-dev

Copy link
Copy Markdown
Collaborator

No description provided.

@hyoj-dev
hyoj-dev merged commit 87a924d into main Jul 20, 2026
6 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 15d2967696

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


logger.debug("OpenAI 전체 응답: $rawResponse")

return objectMapper.readValue<OpenAiResponse>(rawResponse)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Mark malformed OpenAI outputs as errors

When OpenAI returns a 200 response whose envelope deserializes but output_text is missing or the summary JSON is malformed, this returns before those checks run, so the finally records outcome=success and the new error counter is not incremented; parseSummary then throws outside this catch path. That makes the new OpenAI metrics report failed user-facing summary generations as successful, so the output-text/schema parsing should be included in the measured error path or otherwise update the outcome before propagating the failure.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant