feat(js): capture OpenAI image input and output attributes - #3772
Open
satyadevai wants to merge 2 commits into
Open
satyadevai wants to merge 2 commits into
satyadevai wants to merge 2 commits into
Conversation
satyadevai
force-pushed
the
3422-js-openai-image-urls-impl
branch
2 times, most recently
from
September 18, 2026 12:25
d9a3f53 to
3a3a0e1
Compare
satyadevai
force-pushed
the
3422-js-openai-image-urls-impl
branch
from
September 18, 2026 17:39
3a3a0e1 to
80c1485
Compare
satyadevai
marked this pull request as ready for review
September 21, 2026 16:58
satyadevai
force-pushed
the
3422-js-openai-image-urls-impl
branch
from
September 21, 2026 17:08
cc5db44 to
66c6dd7
Compare
This branch has not been deployed
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.
Added OpenAI image instrumentation for both OpenAI and OpenAI Agents packages.
Included
Captures multiple image inputs using: input.images.N.image.url
Captures image outputs using: output.images.N.image.url
Supports URL and base64 image outputs.
Captures image generation, editing, and variation requests.
Captures Responses API image-generation outputs.
Prevents image upload reads when hideInputs or hideInputImages is enabled.
Ensures rejected image requests record errors and end spans.
Added tests, type checks, and lint coverage.
Note: Raw base64 image data is still present in output.value for Images API responses and streaming completion events. The image-specific attributes respect the configured size masking, but output.value may still contain the original b64_json payload. This will be addressed in a separate follow-up ticket.