Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore][pkg/ottl] Split package ctxutil #38246

Merged
merged 2 commits into from
Mar 1, 2025

Conversation

djaglowski
Copy link
Member

This PR adds a ctxcommon package alongside ctxutil. I found while working on #38239 that circular dependencies became a problem. With this change, ctxutil is dedicated to generic accessors for different data types, while ctxcommon contains more specific functionality that is shared by multiple contexts. e.g. resource and scope share SchemaURL, logs and traces share trace/span ID parsing.

@djaglowski djaglowski marked this pull request as ready for review February 27, 2025 15:30
@djaglowski djaglowski requested a review from a team as a code owner February 27, 2025 15:31
@djaglowski djaglowski merged commit d0268ce into open-telemetry:main Mar 1, 2025
159 checks passed
@djaglowski djaglowski deleted the ottl-split-ctxutil branch March 1, 2025 13:57
@github-actions github-actions bot added this to the next release milestone Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants