-
Notifications
You must be signed in to change notification settings - Fork 41
Instrument OpenAI Responses.retrieve and AsyncResponses.retrieve #184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lmolkova
merged 22 commits into
open-telemetry:main
from
JacksonWeber:openai-responses-retrieve-instrumentation
Aug 7, 2026
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
dee9d28
Instrument OpenAI Responses.retrieve and AsyncResponses.retrieve
JacksonWeber adb32fc
Rename changelog fragment to PR number and apply ruff format
JacksonWeber 13645fb
Add error-scenario tests for Responses retrieve instrumentation
JacksonWeber ec35c89
Merge branch 'main' into openai-responses-retrieve-instrumentation
JacksonWeber 319892f
Merge branch 'main' into openai-responses-retrieve-instrumentation
JacksonWeber 09bab0a
Mark retrieve cassettes as AI-generated
JacksonWeber d18bb81
Merge branch 'main' into openai-responses-retrieve-instrumentation
JacksonWeber 2903ef1
Merge branch 'main' into openai-responses-retrieve-instrumentation
JacksonWeber edf3994
Merge branch 'main' into openai-responses-retrieve-instrumentation
JacksonWeber 1e0556c
Report Responses.retrieve as a fetch_response operation
JacksonWeber d816f22
Merge branch 'main' into openai-responses-retrieve-instrumentation
JacksonWeber a47f404
Capture tool definitions on fetch_response spans
JacksonWeber a020edd
Merge upstream main into openai-responses-retrieve-instrumentation
JacksonWeber d26768a
Reuse response raw parsing for retrieval
JacksonWeber f15387a
Handle errors from raw Responses results
JacksonWeber 5a51616
Align Responses finish reason extraction
JacksonWeber d790b69
Set API type for Responses create
JacksonWeber 6b5d4ba
Record streaming fetch requests
JacksonWeber 4c74d37
Remove redundant retrieve guards
JacksonWeber b45cd5a
Fix OpenAI Ruff violations
JacksonWeber f5660c7
Merge upstream main into openai-responses-retrieve-instrumentation
JacksonWeber 37949a9
chore: retrigger CI
JacksonWeber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
instrumentation/opentelemetry-instrumentation-genai-openai/.changelog/184.added
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add instrumentation for the OpenAI Responses ``retrieve`` API (sync and async), reported as a ``fetch_response`` operation with no token usage. |
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.