-
Notifications
You must be signed in to change notification settings - Fork 974
Support for ${env:ENV} syntax #3961
Description
The Collector supports ${env:ENV} style syntax in addition to ${ENV} and $ENV. It would be desirable that the Collector and the SDK configuration files support the same syntax.
The Collector SIG has previously discussed dropping the $ENV syntax, and there seems to be consensus for it. While this needs to be explicitly discussed, I think we are willing to support ${ENV} as a shorthand for ${env:ENV}.
To align the two configuration formats, I would like to ask the Configuration WG to do one of the following:
- Support the
${env:ENV}syntax as equivalent to${ENV}OR - Explicitly fail when the
${env:ENV}syntax is present in a configuration file
Since the environment variable names accepted by the current specification are ASCII alphanumerics + _, there is no ambiguity with the ${env:ENV} syntax. However, we need to make a decision now on this (while experimental), since resolution would work differently.