Skip to content

refactor(sdk-trace-node): Use tree-shakeable string constants for semconv#4748

Merged
pichlermarc merged 3 commits intoopen-telemetry:mainfrom
JohannesHuster:sdk-trace-node-semconv
Jun 3, 2024
Merged

refactor(sdk-trace-node): Use tree-shakeable string constants for semconv#4748
pichlermarc merged 3 commits intoopen-telemetry:mainfrom
JohannesHuster:sdk-trace-node-semconv

Conversation

@JohannesHuster
Copy link
Copy Markdown
Contributor

Which problem is this PR solving?

Updates #4567

Short description of the changes

Replace deprecated imports from @opentelemetry/semantic-conventions with new (tree-shakeable) string constants for package @opentelemetry/sdk-trace-node. What I did:

  • Search for “@opentelemetry/semantic-conventions” in package path.
    • Add new imports and check that new and old strings match exactly.
    • Use new imports and remove old ones.

Type of change

  • Bug fix (non-breaking change which fixes an issue) (refactor)

How Has This Been Tested?

  • npm test

Checklist:

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

@JohannesHuster JohannesHuster marked this pull request as ready for review June 1, 2024 16:40
@JohannesHuster JohannesHuster requested a review from a team June 1, 2024 16:40
Copy link
Copy Markdown
Member

@pichlermarc pichlermarc left a comment

Choose a reason for hiding this comment

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

thx 🙂

@pichlermarc pichlermarc added this pull request to the merge queue Jun 3, 2024
Merged via the queue into open-telemetry:main with commit 7e72f1c Jun 3, 2024
@JohannesHuster JohannesHuster deleted the sdk-trace-node-semconv branch June 3, 2024 17:29
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.

2 participants