opentelementry-instrumentation-google-genai: add gen_ai.tool.definitions to experimental semconv#4142
Merged
aabmass merged 23 commits intoopen-telemetry:mainfrom Feb 4, 2026
Merged
Conversation
|
|
RKest
reviewed
Jan 27, 2026
...trumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py
Outdated
Show resolved
Hide resolved
RKest
reviewed
Jan 27, 2026
...trumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py
Outdated
Show resolved
Hide resolved
RKest
approved these changes
Jan 27, 2026
...trumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py
Show resolved
Hide resolved
...trumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py
Outdated
Show resolved
Hide resolved
...trumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py
Outdated
Show resolved
Hide resolved
...trumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py
Outdated
Show resolved
Hide resolved
...trumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py
Show resolved
Hide resolved
...trumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py
Outdated
Show resolved
Hide resolved
DylanRussell
reviewed
Feb 2, 2026
...genai/opentelemetry-instrumentation-google-genai/tests/generate_content/nonstreaming_base.py
Outdated
Show resolved
Hide resolved
DylanRussell
approved these changes
Feb 2, 2026
aabmass
approved these changes
Feb 4, 2026
Member
aabmass
left a comment
There was a problem hiding this comment.
Thanks for the PR! FYI this attribute will be more "typed" soon: open-telemetry/semantic-conventions#3378
Not blocking.
instrumentation-genai/opentelemetry-instrumentation-google-genai/pyproject.toml
Outdated
Show resolved
Hide resolved
...trumentation-google-genai/src/opentelemetry/instrumentation/google_genai/generate_content.py
Outdated
Show resolved
Hide resolved
wikaaaaa
added a commit
to wikaaaaa/opentelemetry-python-contrib
that referenced
this pull request
Feb 5, 2026
wikaaaaa
added a commit
to wikaaaaa/opentelemetry-python-contrib
that referenced
this pull request
Feb 5, 2026
wikaaaaa
added a commit
to wikaaaaa/opentelemetry-python-contrib
that referenced
this pull request
Feb 5, 2026
aabmass
pushed a commit
that referenced
this pull request
Feb 5, 2026
8 tasks
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.
Description
Change adds gen_ai.tool.definitions from otel v1.39 to
gen_ai.client.inference.operation.detailswhen experimental semconv is enabled. It's done similarly to how gen_ai.system_instructions are added.Type of change
New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Does This PR Require a Core Repo Change?
No.