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

[ottl/pkg] Remove the ottlarg struct tag for the arguments and rely on field ordering #25705

Merged
merged 2 commits into from
Sep 13, 2023

Conversation

rnishtala-sumo
Copy link
Contributor

@rnishtala-sumo rnishtala-sumo commented Aug 14, 2023

Remove the ottlarg struct tag and rely on field ordering
Link to tracking Issue: #24874

@rnishtala-sumo rnishtala-sumo changed the title [chore] Remove the ottlarg struct tag and rely on field ordering [chore] Remove the ottlarg struct tag for the arguments and rely on field ordering Aug 14, 2023
@rnishtala-sumo rnishtala-sumo force-pushed the remove-struct-tags branch 5 times, most recently from 916cad6 to 3ebc818 Compare August 21, 2023 21:43
@rnishtala-sumo rnishtala-sumo marked this pull request as ready for review August 22, 2023 12:40
@rnishtala-sumo rnishtala-sumo requested a review from a team as a code owner August 22, 2023 12:40
@rnishtala-sumo rnishtala-sumo changed the title [chore] Remove the ottlarg struct tag for the arguments and rely on field ordering [feat] Remove the ottlarg struct tag for the arguments and rely on field ordering Aug 22, 2023
@rnishtala-sumo rnishtala-sumo changed the title [feat] Remove the ottlarg struct tag for the arguments and rely on field ordering [ottl/pkg] Remove the ottlarg struct tag for the arguments and rely on field ordering Aug 22, 2023
Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

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

@rnishtala-sumo thanks for handling this. I am going to hold off merging until @evan-bradley has gotten a chance to review next week.

Copy link
Contributor

@evan-bradley evan-bradley left a comment

Choose a reason for hiding this comment

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

I like red PRs like this, thanks for taking this on. Could you add an API changelog for this change and update all filterottl and transform processor functions to remove the ottlarg struct tag as well? Since it isn't a user-facing change for the other components I think it would be easier just to remove the tag in one go.

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Sep 13, 2023
Copy link
Contributor

@evan-bradley evan-bradley left a comment

Choose a reason for hiding this comment

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

This looks good to me. Tyler and I discussed this offline and we can handle my asks in a follow-up PR.

@TylerHelmuth TylerHelmuth merged commit faf9f20 into open-telemetry:main Sep 13, 2023
85 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 13, 2023
TylerHelmuth added a commit that referenced this pull request Sep 13, 2023
**Description:** 
Removes all instances of `ottlarg`. Followup to
#25705

**Link to tracking Issue:** <Issue number if applicable>

#24874
jorgeancal pushed a commit to jorgeancal/opentelemetry-collector-contrib that referenced this pull request Sep 18, 2023
…n field ordering (open-telemetry#25705)

Remove the ottlarg struct tag and rely on field ordering
**Link to tracking Issue:**
open-telemetry#24874
jorgeancal pushed a commit to jorgeancal/opentelemetry-collector-contrib that referenced this pull request Sep 18, 2023
**Description:** 
Removes all instances of `ottlarg`. Followup to
open-telemetry#25705

**Link to tracking Issue:** <Issue number if applicable>

open-telemetry#24874
@rnishtala-sumo
Copy link
Contributor Author

@TylerHelmuth @evan-bradley thanks for merging this. Apologies I couldn't get to this earlier as I took some time off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants