Sha256: 832b2b021d7b219440d1e76d5101c3ca1b60de48aa75ab8ee36ee2e4c9027669

Contents?: true

Size: 1.5 KB

Versions: 18

Compression:

Stored size: 1.5 KB

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.

require 'new_relic/agent/configuration/manager'
require 'new_relic/agent/configuration/dotted_hash'
require 'new_relic/agent/configuration/manual_source'

# The agent's configuration is accessed through a configuration object exposed
# by ::NewRelic::Agent.config.  It provides a hash like interface to the
# agent's settings.
#
# For example:
# ::NewRelic::Agent.config[:'transaction_tracer.enabled']
# determines whether transaction tracing is enabled.  String and symbol keys
# are treated indifferently and nested keys are collapsed and concatenated with
# a dot (i.e. {:a => {:b => 'c'} becomes { 'a.b' => 'c'}).
#
# The agent reads configuration from a variety of sources. These sources are
# modeled as a set of layers.  The top layer has the highest priority.  If the
# top layer does not contain the requested setting the config object will search
# through the subsequent layers returning the first value it finds.
#
# Configuration layers include EnvironmentSource (which reads settings from
# ENV), ServerSource (which reads Server Side Config from New Relic's servers),
# YamlSource (which reads from newrelic.yml),  ManualSource (which reads
# arguments passed to NewRelic::Agent.manual_start or potentially other
# methods), and Defaults (which contains default settings).
#
module NewRelic
  module Agent
    module Configuration
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
newrelic_rpm-8.9.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-8.8.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-8.7.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-8.6.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-8.5.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-8.4.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-8.3.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-8.2.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-8.1.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-8.0.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-7.2.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-7.1.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-7.0.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-6.15.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-6.14.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-6.13.1 lib/new_relic/agent/configuration.rb
newrelic_rpm-6.13.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-6.12.0.367 lib/new_relic/agent/configuration.rb