mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
Workspace-wide sync. luxfi/node already shipped on 1.26.4 in v1.30.6 (commit 121aca1fa9); nested module catch-up.
Environment Variable Provider
| Status | |
|---|---|
| Stability | stable |
| Distributions | core, contrib, k8s, otlp |
| 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_]*$