Skip to content

Reorder when the completion hook is called from vertex AI instrumentation#3830

Merged
aabmass merged 3 commits intoopen-telemetry:mainfrom
DylanRussell:reorder_completion_hook
Oct 13, 2025
Merged

Reorder when the completion hook is called from vertex AI instrumentation#3830
aabmass merged 3 commits intoopen-telemetry:mainfrom
DylanRussell:reorder_completion_hook

Conversation

@DylanRussell
Copy link
Copy Markdown
Contributor

Description

Completion hook needs to be called before spans/logs are written.. Tests use InMemoryLog/SpanExporter and so don't catch this.

Type of change

Please delete options that are not relevant.

  • [ x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Tested manually end to end..

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • [x ] No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

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

@aabmass aabmass enabled auto-merge (squash) October 13, 2025 20:11
@aabmass aabmass merged commit f3d0394 into open-telemetry:main Oct 13, 2025
638 checks passed
sightseeker added a commit to sightseeker/opentelemetry-python-contrib that referenced this pull request Mar 11, 2026
…tion (open-telemetry#3830)

* Reorder when the completion is called

* Add changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants