Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[docs/rfc] RFC about environment variables #9854
[docs/rfc] RFC about environment variables #9854
Changes from 12 commits
ac9a078
026321d
5ac7e49
2b0a23c
ed704e5
1a0e9d4
40333d3
3f05467
0d45523
0862cc9
b7145d2
c8307a0
90db1c0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on our discussion in this thread this sentence should be updated to clarify that
${1}
is no supported.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For 'Desired behavior, inline string field' here, the behavior of the File Configuration SDK would be to set
!!str 0123
. I think this is a rare edge case, but as written it would set0123
since theAsString
method would not return the original representationThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you link to where this is defined? I can't see where this is addressed this outside of declaring a suggested minimum version of the YAML spec.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the closest one would be the
combo_string_key
from https://opentelemetry.io/docs/specs/otel/configuration/file-configuration/#environment-variable-substitutionI take this to mean that the original value passed by the user on the environment variable should be preserved as is when you use expansion inline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I vote we stick with whatever the configuration sig is doing