Sha256: 65dd6e3ac55acf12837f6725aacf262387d6c6d132cd206318fee7b28011dabd

Contents?: true

Size: 1.51 KB

Versions: 32

Compression:

Stored size: 1.51 KB

Contents

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

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

32 entries across 32 versions & 1 rubygems

Version Path
newrelic_rpm-9.16.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.15.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.14.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.13.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.12.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.11.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.10.2 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.10.1 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.10.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.9.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.8.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.7.1 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.7.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.6.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.5.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.4.2 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.4.1 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.4.0 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.3.1 lib/new_relic/agent/configuration.rb
newrelic_rpm-9.3.0 lib/new_relic/agent/configuration.rb