Files

Environment Variable Provider

Status
Stability stable
Distributions core, contrib, k8s, otlp
Issues Open issues Closed issues

Usage

The scheme for this provider is env. Usage looks like the following:

env:NAME_OF_ENVIRONMENT_VARIABLE

To use default values when the environment variable has not been set, you can include a suffix to specify it:

env:NAME_OF_ENVIRONMENT_VARIABLE:-default_value

Environment variables must match the following regular expression. That is, they must be at least one character, start with a letter or underscore, and can only include letters, numbers, and underscores.

^[a-zA-Z_][a-zA-Z0-9_]*$