Repository navigation
feat(semconv): add span-kind-independent image attributes - #3654
Merged
mikeldking merged 5 commits intoSep 11, 2026
Merged
mikeldking merged 5 commits into
mikeldking merged 5 commits into
Conversation
satyadevai
force-pushed
the
3422-span-kind-independent-image-attributes
branch
6 times, most recently
from
September 2, 2026 07:00
a59f58c to
bb4b393
Compare
satyadevai
marked this pull request as ready for review
September 2, 2026 12:09
mikeldking
requested changes
Sep 3, 2026
satyadevai
force-pushed
the
3422-span-kind-independent-image-attributes
branch
from
September 8, 2026 06:53
8c1ac43 to
9522706
Compare
Contributor
Author
|
Hi @mikeldking , I’ve opened a separate PR for the openinference-instrumentation changes to separate the semantic conventions dependency from the OpenInference instrumentation package: Once the semantic conventions changes are merged, I’ll rerun the CI jobs, and this PR should be ready to merge. |
satyadevai
force-pushed
the
3422-span-kind-independent-image-attributes
branch
from
September 9, 2026 17:32
9522706 to
a9f676e
Compare
caroger
approved these changes
Sep 10, 2026
mikeldking
reviewed
Sep 11, 2026
| image or its base64 encoding. That is an absolute URI (`https://`, `http://`, `s3://`, `gs://`, or | ||
| a provider-specific scheme), a base64 data URI (`data:<mime>;base64,<payload>`), or a bare base64 | ||
| payload. | ||
| - There is no separate MIME attribute: the media type is read from the value itself — the `data:` |
| URI prefix, or the file extension of a reference URI. Producers SHOULD therefore emit a data URI | ||
| in preference to a bare base64 payload, and SHOULD keep a recognizable extension on a reference | ||
| URI, so that a consumer can identify the bytes. | ||
| - These attributes are additive, not a replacement for message content. An `LLM` span that already |
Contributor
There was a problem hiding this comment.
I don't understand this statement
Contributor
There was a problem hiding this comment.
Reworded in cefb931. The point is just: an LLM span already has its images inside the messages, so it should not duplicate them under input.images / output.images.
| (see [External Storage for Large Media](#external-storage-for-large-media)). Hiding takes | ||
| precedence: a hidden image is never uploaded. | ||
|
|
||
| The size limit and externalization recognize base64 by the `data:` prefix, so a bare base64 payload |
Contributor
There was a problem hiding this comment.
This goes without saying?
mikeldking
enabled auto-merge (rebase)
September 11, 2026 16:56
mikeldking
approved these changes
Sep 11, 2026
auto-merge was automatically disabled
September 11, 2026 17:16
Rebase failed
Address review: drop the MIME-type bullet and the bare-base64 note, and reword the remaining semantics in plain language.
Reword the Go, Java, and TypeScript doc comments and two spec lines in plain language; fix the JS namespace helper docstring, which described the wrong thing.
mikeldking
force-pushed
the
3422-span-kind-independent-image-attributes
branch
from
September 11, 2026 17:25
5fba549 to
562605f
Compare
3 tasks done
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.
Resolves the part of #3422