Skip to content

Conversation

@xrmx
Copy link
Contributor

@xrmx xrmx commented Oct 2, 2025

Description

All the code that is emitting API LogRecords will get these warnings because the LogRecord conversion code need to pass these deprecated fields as the Event users are still using these fields.
In the meantime we cleanup that, warn only if we are not already using context.

Type of change

Please delete options that are not relevant.

  • 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?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A

Does This PR Require a Contrib 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

All code that is emitting API LogRecords will emit this warnings because
the conversion code need to pass the deprecated fields because of Event
still using these fields.
In the meantime we cleanup that warn only if we are not already using
context.
@xrmx xrmx requested a review from a team as a code owner October 2, 2025 15:41
@xrmx xrmx added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Oct 2, 2025
Copy link
Member

@emdneto emdneto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think rebasing the branch should be enough to make CI pass

@xrmx xrmx merged commit daae23b into open-telemetry:main Oct 2, 2025
470 of 471 checks passed
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

None yet

Development

Successfully merging this pull request may close these issues.

4 participants