Skip to content

Support for ${env:ENV} syntax #3961

@mx-psi

Description

@mx-psi

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:

  1. Support the ${env:ENV} syntax as equivalent to ${ENV} OR
  2. 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.

Metadata

Metadata

Assignees

Labels

area:configurationRelated to configuring the SDKtriage:deciding:community-feedbackOpen to community discussion. If the community can provide sufficient reasoning, it may be accepted

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions