Variables
Configuration variable sources
Passing variables to components (agent, client & server)
Components can retrieve configuration parameters from several sources. The following order defines the precedence (from highest to lowest):
- Command-line argument (
--var=1) - Configuration file passed through command line (
--config) - Environment variable (e.g.
VAR=1) - Default configuration file (see general/configuration file)
- Compile-time defined value (
-ldflags, or compiling withtealc compile --env: general/compilation) - Hardcoded default value