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

Add the WithEnv option #417

Merged
merged 6 commits into from
Oct 26, 2023
Merged

Add the WithEnv option #417

merged 6 commits into from
Oct 26, 2023

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Oct 25, 2023

Resolve #415

Add the WithEnv InstrumentationOption to configure Instrumentation to parse the environment. The Instrumentation will no longer by default parse the environment. This option needs to be used to enable environment parsing, and the order it is passed influences the environment precedence. All options passed before this one will be overridden if there are conflicts, and those passed after will override the environment.

cc @RonFed

@MrAlias MrAlias marked this pull request as ready for review October 25, 2023 16:09
@MrAlias MrAlias requested a review from a team as a code owner October 25, 2023 16:09
@RonFed
Copy link
Contributor

RonFed commented Oct 25, 2023

lgtm

@MrAlias MrAlias merged commit b1ee64b into open-telemetry:main Oct 26, 2023
13 checks passed
@MrAlias MrAlias deleted the with-env branch October 26, 2023 15:03
@MrAlias MrAlias added this to the v0.8.0-alpha milestone Nov 14, 2023
@MrAlias MrAlias mentioned this pull request Nov 14, 2023
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.

Add a WithEnv option
4 participants