Module: Datadog::Core::Configuration::Option::Precedence
- Defined in:
- lib/datadog/core/configuration/option.rb
Overview
Option setting precedence.
Defined Under Namespace
Classes: Value
Constant Summary collapse
- REMOTE_CONFIGURATION =
Remote configuration provided through the Datadog app.
Value.new(5, :remote_configuration, 'remote_config').freeze
- PROGRAMMATIC =
Configuration provided in Ruby code, in this same process
Value.new(4, :programmatic, 'code').freeze
- FLEET_STABLE =
Configuration provided by fleet managed stable config
Value.new(3, :fleet_stable, 'fleet_stable_config').freeze
- ENVIRONMENT =
Configuration provided via environment variable
Value.new(2, :environment, 'env_var').freeze
- LOCAL_STABLE =
Configuration provided by local stable config file
Value.new(1, :local_stable, 'local_stable_config').freeze
- DEFAULT =
Configuration that comes from default values
Value.new(0, :default, 'default').freeze
- LIST =
All precedences, sorted from highest to lowest
[REMOTE_CONFIGURATION, PROGRAMMATIC, FLEET_STABLE, ENVIRONMENT, LOCAL_STABLE, DEFAULT].sort.reverse.freeze