You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Environment variable precedence is a subjective matter. Some users would like the passed options to take precedence to them and other would like the opposite.
It would be ideal if this was configurable
Describe the solution you'd like
Add a WithEnvInstrumentationOption that will parse the relevant environment variables and set config values.
The precedence of this option will be based on the order it is passed. If first, the following options will have precedence. And if last, it will have precedence.
The text was updated successfully, but these errors were encountered:
I'm not sure I follow. We already have a precedence of "last-option-wins" on any conflict. This would just be a continuation of that and it would remove the additional environment linking to each option.
We already have a precedence of "last-option-wins" on any conflict. This would just be a continuation of that and it would remove the additional environment linking to each option.
This answers my first question. Therefore, I think this issue is OK and I created a separate one #416.
Is your feature request related to a problem? Please describe.
Environment variable precedence is a subjective matter. Some users would like the passed options to take precedence to them and other would like the opposite.
It would be ideal if this was configurable
Describe the solution you'd like
Add a
WithEnv
InstrumentationOption
that will parse the relevant environment variables and set config values.The precedence of this option will be based on the order it is passed. If first, the following options will have precedence. And if last, it will have precedence.
The text was updated successfully, but these errors were encountered: