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):

  1. Command-line argument (--var=1)
  2. Configuration file passed through command line (--config)
  3. Environment variable (e.g. VAR=1)
  4. Default configuration file (see general/configuration file)
  5. Compile-time defined value (-ldflags, or compiling with tealc compile --env: general/compilation)
  6. Hardcoded default value