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

[pkg/telemetryquerylanguage] Move contexts to package #12589

Merged
merged 11 commits into from
Jul 27, 2022

Conversation

TylerHelmuth
Copy link
Member

@TylerHelmuth TylerHelmuth commented Jul 18, 2022

Description:
This PR copies the contexts from the transform processor into packages in the telemetryquerylanguage module.

Link to tracking Issue:
#11751

Testing:
Ran unit tests

Documentation:
Added new READMEs

@TylerHelmuth TylerHelmuth marked this pull request as ready for review July 19, 2022 15:46
@TylerHelmuth TylerHelmuth requested review from a team and dashpole July 19, 2022 15:46
@TylerHelmuth
Copy link
Member Author

/cc @kentquirk

Copy link
Member

@kentquirk kentquirk left a comment

Choose a reason for hiding this comment

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

A few nits, but this seems quite close. Sorry for the delay.

pkg/telemetryquerylanguage/contexts/logs/logs_test.go Outdated Show resolved Hide resolved
pkg/telemetryquerylanguage/contexts/logs/logs_test.go Outdated Show resolved Hide resolved
pkg/telemetryquerylanguage/contexts/metrics/README.md Outdated Show resolved Hide resolved
Copy link
Member

@kentquirk kentquirk left a comment

Choose a reason for hiding this comment

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

Thank you!

@TylerHelmuth
Copy link
Member Author

@open-telemetry/collector-contrib-approvers please review

@TylerHelmuth
Copy link
Member Author

@dashpole are you free to review? There are a lot of changes, but they are copy and paste from the transform processor. See @kentquirk's comments for anything that was modified.

@TylerHelmuth
Copy link
Member Author

With the merging of #12597 the contexts being added in this PR will need updated with the StandardGetSetter, but to avoid logic changes in this PR I will submit a different PR to do that update once this is merged.

@TylerHelmuth TylerHelmuth added the ready to merge Code review completed; ready to merge by maintainers label Jul 27, 2022
@codeboten codeboten merged commit 3776da2 into open-telemetry:main Jul 27, 2022
@TylerHelmuth TylerHelmuth deleted the issue-11751-move-contexts branch July 27, 2022 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants