Skip to content

Conversation

DylanRussell
Copy link
Contributor

@DylanRussell DylanRussell commented Jul 9, 2025

Description

Move vertexai instrumentation from the deprecated events API to the logs API.

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?

I've updated the existing unit tests to all pass.

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

@DylanRussell
Copy link
Contributor Author

Tests passing now

@DylanRussell
Copy link
Contributor Author

ACtually before this goes in I think we need to update the SDK Logger to attach the resource to the LogRecord like the SDK EventLogger does: https://github.com/open-telemetry/opentelemetry-python/blob/main/opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/__init__.py#L654-L764

@tammy-baylis-swi
Copy link
Contributor

tammy-baylis-swi commented Jul 11, 2025

Just saw your comment on #3624 so linking

Nvm, you've done it here thank you!

@xrmx xrmx merged commit 74ff31b into open-telemetry:main Oct 6, 2025
1135 of 1138 checks passed
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.

7 participants