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(2, :remote_configuration).freeze
- PROGRAMMATIC =
Configuration provided in Ruby code, in this same process or via Environment variable
Value.new(1, :programmatic).freeze
- DEFAULT =
Configuration that comes from default values
Value.new(0, :default).freeze
- LIST =
All precedences, sorted from highest to lowest
[REMOTE_CONFIGURATION, PROGRAMMATIC, DEFAULT].sort.reverse.freeze