Deprecate google-genai and vertexai instrumentations, deprecate the genai folder - #4918
Open
lmolkova wants to merge 3 commits into
Open
Deprecate google-genai and vertexai instrumentations, deprecate the genai folder#4918lmolkova wants to merge 3 commits into
lmolkova wants to merge 3 commits into
Conversation
lmolkova
commented
Aug 2, 2026
Member
- update docs for google-genai and vertex
- update instructions, contrib, agents.md to point to new repo for all genai instrumentations
- clean up remaining mentions of genai instrumentations
lmolkova
commented
Aug 2, 2026
|
|
||
| ## Unreleased | ||
|
|
||
| -Add `gen_ai.usage.reasoning.output_tokens` attribute to capture thinking tokens on spans/events when the experimental sem conv flag is set. Add thinking tokens to output tokens. ([#4313](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4313)) |
Member
Author
There was a problem hiding this comment.
these are released from the new repo, removing from here
There was a problem hiding this comment.
Pull request overview
This PR updates repository documentation and contributor guidance to reflect that GenAI instrumentations have moved to the separate opentelemetry-python-genai repository, and removes/updates remaining references to developing or releasing GenAI packages from this repo.
Changes:
- Add deprecation/migration warnings and update links for GenAI instrumentations (notably Google GenAI and Vertex AI).
- Update contributor/agent instructions and CONTRIBUTING guidance to point GenAI work to the new repository.
- Remove GenAI packages from release workflow choices and remove a GenAI editable-install example from docs.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| instrumentation-genai/README.md | Updates top-level warning and points google-genai row at the new repo. |
| instrumentation-genai/opentelemetry-instrumentation-vertexai/CHANGELOG.md | Adds a deprecation warning explaining Vertex AI SDK deprecation context. |
| instrumentation-genai/opentelemetry-instrumentation-google-genai/README.rst | Replaces migration note with a stronger deprecation/migration warning and upgrade guidance. |
| instrumentation-genai/opentelemetry-instrumentation-google-genai/CHANGELOG.md | Adds a deprecation warning and removes the “Unreleased” section. |
| instrumentation-genai/AGENTS.md | Replaces detailed GenAI contribution rules with a pointer to the new repo. |
| docs/index.rst | Removes the editable-install example line for a GenAI package. |
| CONTRIBUTING.md | Updates GenAI guidance to direct contributions to the new repo and adjusts TOC/section structure. |
| AGENTS.md | Marks instrumentation-genai/ as deprecated and links to the local GenAI AGENTS guidance. |
| .github/workflows/package-prepare-release.yml | Removes GenAI packages from the manual “prepare release” workflow options list. |
| .github/instructions/instrumentation.instructions.md | Adds explicit “GenAI maintained elsewhere” guidance and renumbers subsequent sections. |
| .github/instructions/instrumentation-genai.instructions.md | Replaces detailed GenAI-specific review rules with deprecation guidance and redirect instructions. |
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.