opentelemetry-instrumentation-openai-agents-v2: handle MCPListToolsSpanData#4629
Closed
Jwrede wants to merge 1 commit into
Closed
opentelemetry-instrumentation-openai-agents-v2: handle MCPListToolsSpanData#4629Jwrede wants to merge 1 commit into
Jwrede wants to merge 1 commit into
Conversation
|
|
Contributor
Author
Contributor
Author
|
I have signed the EasyCLA. Please recheck. |
…anData Add MCPListToolsSpanData handling to the GenAISemanticProcessor so MCP list tools spans are reported with proper operation name, span kind, and attributes instead of showing as "unknown" with no data. Assisted-by: Claude Opus 4.6
d5cccc3 to
2235a71
Compare
Contributor
Author
|
/easycla |
Contributor
|
We are no longer accepting genai related PRs in this repo. Please open up your PR in genai repo from now on. |
5 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
Add
MCPListToolsSpanDatahandling to theGenAISemanticProcessorin the OpenAI Agents v2 instrumentation so that MCP tool listing spans are reported with proper operation name, span kind, and attributes instead of showing as "unknown" with no data.Fixes #4197
Type of change
How Has This Been Tested?
test_tracer.pycovering MCP list tools spans with and without resultsAll 106 tests in the package pass.
Does This PR Require a Core Repo Change?
Checklist:
.changelog/4197.fixed)Assisted-by: Claude Opus 4.6