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/stanza] Pass telemetry settings by value #32672

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Apr 24, 2024

Description:

Telemetry settings in general are passed by value in the project. This commit aligns the stanza Builder interface with this convention. This will also ensures that Logger can be overwritten without changing the original object.
Follow up of #32662.
cc-ing @djaglowski who pointed that out.

Link to tracking Issue:

Testing: Same as #32662

Documentation:

@github-actions github-actions bot requested a review from djaglowski April 24, 2024 16:29
@ChrsMark ChrsMark force-pushed the pass_telemetry_by_value branch from 73bf890 to 16afd46 Compare April 24, 2024 16:32
Telemetry settings in general are passed by value in the project.
This commit aligns the stanza Builder interface with this convention.
This will also ensures that Logger can be overwritten without
changing the original object.

Signed-off-by: ChrsMark <[email protected]>
@ChrsMark ChrsMark force-pushed the pass_telemetry_by_value branch from 16afd46 to 821a435 Compare April 24, 2024 16:33
@ChrsMark ChrsMark changed the title [chore] [pkg/stanza] Pass telemetry sets by value [chore] [pkg/stanza] Pass telemetry settings by value Apr 24, 2024
@ChrsMark ChrsMark marked this pull request as ready for review April 24, 2024 17:06
@ChrsMark ChrsMark requested a review from atoulme as a code owner April 24, 2024 17:06
@ChrsMark ChrsMark requested a review from a team April 24, 2024 17:06
Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

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

Thanks @ChrsMark

@djaglowski djaglowski merged commit dc68260 into open-telemetry:main Apr 25, 2024
171 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 25, 2024
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.

3 participants