Skip to content

Conversation

@rite7sh
Copy link
Contributor

@rite7sh rite7sh commented Jan 5, 2026

Description

This PR documents the current behavior of the Google GenAI instrumentation
when automatic function calling is enabled.

At present, the instrumentation creates a span only for the top-level
generate_content SDK call. Internal model or tool calls triggered
automatically by the Google GenAI SDK occur within SDK internals and are
not traced as separate spans.

This clarification helps set correct expectations for users interpreting
traces and avoids confusion when multiple internal calls are executed.

Refs #4015

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Documentation change only (no runtime behavior changes)

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@rite7sh
Copy link
Contributor Author

rite7sh commented Jan 6, 2026

This is a documentation-only change and does not require a changelog entry.
Could a maintainer please add the Skip Changelog label?

@emdneto emdneto added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jan 6, 2026
@xrmx xrmx enabled auto-merge (squash) January 14, 2026 16:12
@xrmx xrmx merged commit 56c2511 into open-telemetry:main Jan 14, 2026
663 checks passed
@github-project-automation github-project-automation bot moved this from Approved PRs to Done in @xrmx's Python PR digest Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

10 participants