newrelic_rpm 7.2.0 → 8.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.rubocop.yml +1936 -0
- data/CHANGELOG.md +182 -9
- data/CONTRIBUTING.md +14 -2
- data/Guardfile +8 -8
- data/README.md +5 -1
- data/Rakefile +5 -7
- data/bin/mongrel_rpm +8 -9
- data/bin/newrelic +1 -1
- data/bin/nrdebug +14 -14
- data/init.rb +0 -2
- data/lefthook.yml +9 -0
- data/lib/new_relic/agent/adaptive_sampler.rb +9 -5
- data/lib/new_relic/agent/agent.rb +44 -46
- data/lib/new_relic/agent/agent_logger.rb +8 -9
- data/lib/new_relic/agent/attribute_filter.rb +31 -31
- data/lib/new_relic/agent/attributes.rb +2 -2
- data/lib/new_relic/agent/autostart.rb +6 -7
- data/lib/new_relic/agent/commands/agent_command.rb +2 -2
- data/lib/new_relic/agent/commands/agent_command_router.rb +6 -5
- data/lib/new_relic/agent/commands/thread_profiler_session.rb +7 -6
- data/lib/new_relic/agent/configuration/default_source.rb +352 -336
- data/lib/new_relic/agent/configuration/dotted_hash.rb +3 -3
- data/lib/new_relic/agent/configuration/environment_source.rb +3 -4
- data/lib/new_relic/agent/configuration/event_harvest_config.rb +30 -16
- data/lib/new_relic/agent/configuration/high_security_source.rb +7 -7
- data/lib/new_relic/agent/configuration/manager.rb +57 -58
- data/lib/new_relic/agent/configuration/mask_defaults.rb +1 -1
- data/lib/new_relic/agent/configuration/security_policy_source.rb +73 -73
- data/lib/new_relic/agent/configuration/server_source.rb +12 -11
- data/lib/new_relic/agent/configuration/yaml_source.rb +26 -5
- data/lib/new_relic/agent/connect/request_builder.rb +13 -16
- data/lib/new_relic/agent/connect/response_handler.rb +0 -3
- data/lib/new_relic/agent/custom_event_aggregator.rb +9 -9
- data/lib/new_relic/agent/database/explain_plan_helpers.rb +3 -4
- data/lib/new_relic/agent/database/obfuscation_helpers.rb +12 -12
- data/lib/new_relic/agent/database/postgres_explain_obfuscator.rb +2 -2
- data/lib/new_relic/agent/database.rb +25 -26
- data/lib/new_relic/agent/datastores/metric_helper.rb +10 -10
- data/lib/new_relic/agent/datastores/mongo/event_formatter.rb +2 -3
- data/lib/new_relic/agent/datastores/mongo/metric_translator.rb +3 -5
- data/lib/new_relic/agent/datastores/mongo/obfuscator.rb +1 -2
- data/lib/new_relic/agent/datastores/mongo.rb +5 -10
- data/lib/new_relic/agent/datastores/redis.rb +2 -4
- data/lib/new_relic/agent/datastores.rb +7 -9
- data/lib/new_relic/agent/distributed_tracing/cross_app_payload.rb +9 -9
- data/lib/new_relic/agent/distributed_tracing/cross_app_tracing.rb +21 -16
- data/lib/new_relic/agent/distributed_tracing/distributed_trace_attributes.rb +10 -12
- data/lib/new_relic/agent/distributed_tracing/distributed_trace_payload.rb +42 -43
- data/lib/new_relic/agent/distributed_tracing/distributed_trace_transport_type.rb +3 -3
- data/lib/new_relic/agent/distributed_tracing/trace_context.rb +41 -43
- data/lib/new_relic/agent/distributed_tracing/trace_context_payload.rb +25 -25
- data/lib/new_relic/agent/distributed_tracing.rb +17 -18
- data/lib/new_relic/agent/encoding_normalizer.rb +1 -1
- data/lib/new_relic/agent/error_collector.rb +17 -17
- data/lib/new_relic/agent/error_event_aggregator.rb +1 -1
- data/lib/new_relic/agent/error_filter.rb +16 -10
- data/lib/new_relic/agent/error_trace_aggregator.rb +1 -1
- data/lib/new_relic/agent/event_aggregator.rb +1 -1
- data/lib/new_relic/agent/event_buffer.rb +6 -7
- data/lib/new_relic/agent/event_listener.rb +0 -1
- data/lib/new_relic/agent/event_loop.rb +14 -14
- data/lib/new_relic/agent/external.rb +1 -34
- data/lib/new_relic/agent/guid_generator.rb +1 -3
- data/lib/new_relic/agent/harvester.rb +3 -4
- data/lib/new_relic/agent/heap.rb +1 -3
- data/lib/new_relic/agent/hostname.rb +3 -3
- data/lib/new_relic/agent/http_clients/abstract.rb +7 -9
- data/lib/new_relic/agent/http_clients/curb_wrappers.rb +1 -5
- data/lib/new_relic/agent/http_clients/excon_wrappers.rb +4 -4
- data/lib/new_relic/agent/http_clients/http_rb_wrappers.rb +3 -3
- data/lib/new_relic/agent/http_clients/httpclient_wrappers.rb +1 -2
- data/lib/new_relic/agent/http_clients/net_http_wrappers.rb +8 -3
- data/lib/new_relic/agent/http_clients/typhoeus_wrappers.rb +2 -3
- data/lib/new_relic/agent/http_clients/uri_util.rb +0 -1
- data/lib/new_relic/agent/instrumentation/action_cable_subscriber.rb +2 -3
- data/lib/new_relic/agent/instrumentation/action_controller_subscriber.rb +10 -11
- data/lib/new_relic/agent/instrumentation/action_view_subscriber.rb +5 -7
- data/lib/new_relic/agent/instrumentation/active_job.rb +4 -3
- data/lib/new_relic/agent/instrumentation/active_merchant.rb +3 -3
- data/lib/new_relic/agent/instrumentation/active_record.rb +20 -18
- data/lib/new_relic/agent/instrumentation/active_record_helper.rb +36 -42
- data/lib/new_relic/agent/instrumentation/active_record_notifications.rb +28 -25
- data/lib/new_relic/agent/instrumentation/active_record_prepend.rb +3 -3
- data/lib/new_relic/agent/instrumentation/active_record_subscriber.rb +5 -6
- data/lib/new_relic/agent/instrumentation/acts_as_solr.rb +8 -9
- data/lib/new_relic/agent/instrumentation/bunny/chain.rb +1 -1
- data/lib/new_relic/agent/instrumentation/bunny/instrumentation.rb +8 -9
- data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +42 -42
- data/lib/new_relic/agent/instrumentation/curb/chain.rb +19 -20
- data/lib/new_relic/agent/instrumentation/curb/instrumentation.rb +34 -38
- data/lib/new_relic/agent/instrumentation/curb/prepend.rb +9 -10
- data/lib/new_relic/agent/instrumentation/data_mapper.rb +10 -10
- data/lib/new_relic/agent/instrumentation/delayed_job/chain.rb +5 -7
- data/lib/new_relic/agent/instrumentation/delayed_job/instrumentation.rb +5 -9
- data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +4 -4
- data/lib/new_relic/agent/instrumentation/excon/middleware.rb +2 -2
- data/lib/new_relic/agent/instrumentation/excon.rb +3 -23
- data/lib/new_relic/agent/instrumentation/grape/chain.rb +1 -2
- data/lib/new_relic/agent/instrumentation/grape/instrumentation.rb +6 -7
- data/lib/new_relic/agent/instrumentation/grape.rb +2 -3
- data/lib/new_relic/agent/instrumentation/httpclient/chain.rb +2 -3
- data/lib/new_relic/agent/instrumentation/httpclient/instrumentation.rb +0 -1
- data/lib/new_relic/agent/instrumentation/httpclient/prepend.rb +0 -2
- data/lib/new_relic/agent/instrumentation/httprb/chain.rb +2 -2
- data/lib/new_relic/agent/instrumentation/httprb/instrumentation.rb +6 -6
- data/lib/new_relic/agent/instrumentation/httprb/prepend.rb +1 -1
- data/lib/new_relic/agent/instrumentation/ignore_actions.rb +2 -3
- data/lib/new_relic/agent/instrumentation/logger/chain.rb +21 -0
- data/lib/new_relic/agent/instrumentation/logger/instrumentation.rb +58 -0
- data/lib/new_relic/agent/instrumentation/logger/prepend.rb +13 -0
- data/lib/new_relic/agent/instrumentation/logger.rb +25 -0
- data/lib/new_relic/agent/instrumentation/memcache/dalli.rb +7 -2
- data/lib/new_relic/agent/instrumentation/memcache/helper.rb +5 -1
- data/lib/new_relic/agent/instrumentation/memcache/prepend.rb +9 -2
- data/lib/new_relic/agent/instrumentation/middleware_proxy.rb +9 -10
- data/lib/new_relic/agent/instrumentation/middleware_tracing.rb +4 -5
- data/lib/new_relic/agent/instrumentation/mongo.rb +3 -141
- data/lib/new_relic/agent/instrumentation/mongodb_command_subscriber.rb +4 -4
- data/lib/new_relic/agent/instrumentation/net_http/chain.rb +3 -4
- data/lib/new_relic/agent/instrumentation/net_http/instrumentation.rb +5 -5
- data/lib/new_relic/agent/instrumentation/net_http/prepend.rb +4 -4
- data/lib/new_relic/agent/instrumentation/net_http.rb +1 -1
- data/lib/new_relic/agent/instrumentation/notifications_subscriber.rb +2 -3
- data/lib/new_relic/agent/instrumentation/padrino/chain.rb +23 -19
- data/lib/new_relic/agent/instrumentation/padrino/instrumentation.rb +3 -2
- data/lib/new_relic/agent/instrumentation/padrino/prepend.rb +2 -2
- data/lib/new_relic/agent/instrumentation/padrino.rb +2 -5
- data/lib/new_relic/agent/instrumentation/queue_time.rb +8 -8
- data/lib/new_relic/agent/instrumentation/rack/chain.rb +5 -5
- data/lib/new_relic/agent/instrumentation/rack/helpers.rb +0 -1
- data/lib/new_relic/agent/instrumentation/rack/instrumentation.rb +4 -5
- data/lib/new_relic/agent/instrumentation/rack/prepend.rb +0 -1
- data/lib/new_relic/agent/instrumentation/rack.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rails3/action_controller.rb +11 -47
- data/lib/new_relic/agent/instrumentation/rails_notifications/action_cable.rb +2 -2
- data/lib/new_relic/agent/instrumentation/rails_notifications/action_controller.rb +0 -1
- data/lib/new_relic/agent/instrumentation/rake/chain.rb +0 -5
- data/lib/new_relic/agent/instrumentation/rake/instrumentation.rb +6 -6
- data/lib/new_relic/agent/instrumentation/rake.rb +1 -1
- data/lib/new_relic/agent/instrumentation/redis/chain.rb +6 -6
- data/lib/new_relic/agent/instrumentation/redis/instrumentation.rb +2 -2
- data/lib/new_relic/agent/instrumentation/redis/prepend.rb +1 -1
- data/lib/new_relic/agent/instrumentation/redis.rb +1 -1
- data/lib/new_relic/agent/instrumentation/resque/chain.rb +2 -3
- data/lib/new_relic/agent/instrumentation/resque/helper.rb +1 -1
- data/lib/new_relic/agent/instrumentation/resque/instrumentation.rb +4 -4
- data/lib/new_relic/agent/instrumentation/resque/prepend.rb +1 -2
- data/lib/new_relic/agent/instrumentation/resque.rb +7 -7
- data/lib/new_relic/agent/instrumentation/sequel.rb +7 -9
- data/lib/new_relic/agent/instrumentation/sequel_helper.rb +1 -1
- data/lib/new_relic/agent/instrumentation/sidekiq.rb +7 -1
- data/lib/new_relic/agent/instrumentation/sinatra/ignorer.rb +0 -1
- data/lib/new_relic/agent/instrumentation/sinatra/instrumentation.rb +4 -3
- data/lib/new_relic/agent/instrumentation/sunspot.rb +1 -1
- data/lib/new_relic/agent/instrumentation/tilt/chain.rb +24 -0
- data/lib/new_relic/agent/instrumentation/tilt/instrumentation.rb +40 -0
- data/lib/new_relic/agent/instrumentation/tilt/prepend.rb +13 -0
- data/lib/new_relic/agent/instrumentation/tilt.rb +25 -0
- data/lib/new_relic/agent/instrumentation/typhoeus/chain.rb +4 -4
- data/lib/new_relic/agent/instrumentation/typhoeus/instrumentation.rb +3 -5
- data/lib/new_relic/agent/instrumentation/typhoeus/prepend.rb +1 -1
- data/lib/new_relic/agent/internal_agent_error.rb +1 -1
- data/lib/new_relic/agent/javascript_instrumentor.rb +30 -30
- data/lib/new_relic/agent/logging.rb +11 -8
- data/lib/new_relic/agent/memory_logger.rb +1 -1
- data/lib/new_relic/agent/messaging.rb +46 -61
- data/lib/new_relic/agent/method_tracer.rb +139 -143
- data/lib/new_relic/agent/method_tracer_helpers.rb +2 -2
- data/lib/new_relic/agent/monitors/cross_app_monitor.rb +21 -13
- data/lib/new_relic/agent/monitors/distributed_tracing_monitor.rb +2 -2
- data/lib/new_relic/agent/monitors/inbound_request_monitor.rb +0 -1
- data/lib/new_relic/agent/monitors/synthetics_monitor.rb +4 -7
- data/lib/new_relic/agent/monitors.rb +1 -2
- data/lib/new_relic/agent/new_relic_service/encoders.rb +4 -4
- data/lib/new_relic/agent/new_relic_service/json_marshaller.rb +1 -1
- data/lib/new_relic/agent/new_relic_service/marshaller.rb +1 -1
- data/lib/new_relic/agent/new_relic_service/security_policy_settings.rb +4 -3
- data/lib/new_relic/agent/new_relic_service.rb +34 -41
- data/lib/new_relic/agent/noticible_error.rb +0 -2
- data/lib/new_relic/agent/null_logger.rb +6 -2
- data/lib/new_relic/agent/obfuscator.rb +6 -8
- data/lib/new_relic/agent/parameter_filtering.rb +3 -5
- data/lib/new_relic/agent/payload_metric_mapping.rb +8 -9
- data/lib/new_relic/agent/pipe_channel_manager.rb +15 -12
- data/lib/new_relic/agent/pipe_service.rb +2 -2
- data/lib/new_relic/agent/priority_sampled_buffer.rb +4 -7
- data/lib/new_relic/agent/rules_engine/replacement_rule.rb +9 -9
- data/lib/new_relic/agent/rules_engine/segment_terms_rule.rb +12 -12
- data/lib/new_relic/agent/rules_engine.rb +2 -2
- data/lib/new_relic/agent/sampler.rb +2 -3
- data/lib/new_relic/agent/sampler_collection.rb +2 -3
- data/lib/new_relic/agent/samplers/cpu_sampler.rb +1 -1
- data/lib/new_relic/agent/samplers/delayed_job_sampler.rb +10 -7
- data/lib/new_relic/agent/samplers/memory_sampler.rb +4 -3
- data/lib/new_relic/agent/samplers/vm_sampler.rb +18 -18
- data/lib/new_relic/agent/span_event_aggregator.rb +10 -10
- data/lib/new_relic/agent/span_event_primitive.rb +39 -39
- data/lib/new_relic/agent/sql_sampler.rb +9 -9
- data/lib/new_relic/agent/stats.rb +16 -16
- data/lib/new_relic/agent/stats_engine/gc_profiler.rb +7 -9
- data/lib/new_relic/agent/stats_engine/stats_hash.rb +8 -9
- data/lib/new_relic/agent/stats_engine.rb +7 -7
- data/lib/new_relic/agent/synthetics_event_aggregator.rb +0 -1
- data/lib/new_relic/agent/system_info.rb +22 -20
- data/lib/new_relic/agent/threading/agent_thread.rb +4 -5
- data/lib/new_relic/agent/threading/backtrace_node.rb +6 -9
- data/lib/new_relic/agent/threading/backtrace_service.rb +12 -13
- data/lib/new_relic/agent/threading/thread_profile.rb +16 -19
- data/lib/new_relic/agent/tracer.rb +43 -71
- data/lib/new_relic/agent/transaction/abstract_segment.rb +9 -9
- data/lib/new_relic/agent/transaction/datastore_segment.rb +7 -6
- data/lib/new_relic/agent/transaction/distributed_tracer.rb +8 -9
- data/lib/new_relic/agent/transaction/distributed_tracing.rb +21 -22
- data/lib/new_relic/agent/transaction/external_request_segment.rb +6 -5
- data/lib/new_relic/agent/transaction/message_broker_segment.rb +24 -30
- data/lib/new_relic/agent/transaction/request_attributes.rb +7 -7
- data/lib/new_relic/agent/transaction/segment.rb +6 -3
- data/lib/new_relic/agent/transaction/slowest_sample_buffer.rb +0 -2
- data/lib/new_relic/agent/transaction/trace.rb +8 -8
- data/lib/new_relic/agent/transaction/trace_context.rb +13 -15
- data/lib/new_relic/agent/transaction/trace_node.rb +16 -16
- data/lib/new_relic/agent/transaction/tracing.rb +1 -3
- data/lib/new_relic/agent/transaction/transaction_sample_buffer.rb +1 -2
- data/lib/new_relic/agent/transaction.rb +85 -108
- data/lib/new_relic/agent/transaction_error_primitive.rb +16 -16
- data/lib/new_relic/agent/transaction_event_aggregator.rb +5 -6
- data/lib/new_relic/agent/transaction_event_primitive.rb +29 -29
- data/lib/new_relic/agent/transaction_metrics.rb +3 -3
- data/lib/new_relic/agent/transaction_sampler.rb +0 -1
- data/lib/new_relic/agent/transaction_time_aggregator.rb +11 -11
- data/lib/new_relic/agent/utilization/azure.rb +1 -1
- data/lib/new_relic/agent/utilization_data.rb +3 -4
- data/lib/new_relic/agent/vm/monotonic_gc_profiler.rb +1 -1
- data/lib/new_relic/agent/vm/snapshot.rb +4 -4
- data/lib/new_relic/agent/worker_loop.rb +8 -10
- data/lib/new_relic/agent.rb +27 -27
- data/lib/new_relic/cli/command.rb +15 -17
- data/lib/new_relic/cli/commands/deployments.rb +21 -23
- data/lib/new_relic/cli/commands/install.rb +6 -10
- data/lib/new_relic/coerce.rb +5 -8
- data/lib/new_relic/collection_helper.rb +48 -47
- data/lib/new_relic/constants.rb +0 -4
- data/lib/new_relic/control/class_methods.rb +2 -2
- data/lib/new_relic/control/frameworks/external.rb +1 -1
- data/lib/new_relic/control/frameworks/rails.rb +5 -6
- data/lib/new_relic/control/frameworks/rails3.rb +2 -3
- data/lib/new_relic/control/frameworks/ruby.rb +2 -2
- data/lib/new_relic/control/instance_methods.rb +4 -5
- data/lib/new_relic/control/instrumentation.rb +4 -5
- data/lib/new_relic/control/server_methods.rb +2 -3
- data/lib/new_relic/control.rb +0 -1
- data/lib/new_relic/dependency_detection.rb +6 -8
- data/lib/new_relic/environment_report.rb +16 -18
- data/lib/new_relic/helper.rb +5 -5
- data/lib/new_relic/language_support.rb +1 -1
- data/lib/new_relic/latest_changes.rb +2 -2
- data/lib/new_relic/local_environment.rb +7 -7
- data/lib/new_relic/metric_data.rb +6 -7
- data/lib/new_relic/metric_spec.rb +3 -3
- data/lib/new_relic/noticed_error.rb +16 -17
- data/lib/new_relic/rack/agent_middleware.rb +2 -2
- data/lib/new_relic/rack/browser_monitoring.rb +9 -9
- data/lib/new_relic/recipes/capistrano3.rb +11 -13
- data/lib/new_relic/recipes/capistrano_legacy.rb +11 -14
- data/lib/new_relic/supportability_helper.rb +1 -2
- data/lib/new_relic/version.rb +4 -5
- data/lib/newrelic_rpm.rb +10 -34
- data/lib/sequel/extensions/newrelic_instrumentation.rb +4 -7
- data/lib/sequel/plugins/newrelic_instrumentation.rb +3 -9
- data/lib/tasks/all.rb +2 -2
- data/lib/tasks/config.rake +21 -21
- data/lib/tasks/multiverse.rb +4 -6
- data/lib/tasks/tests.rake +3 -7
- data/newrelic.yml +580 -3
- data/newrelic_rpm.gemspec +13 -12
- data/recipes/newrelic.rb +1 -1
- data/test/agent_helper.rb +80 -55
- metadata +42 -13
- data/lib/new_relic/agent/datastores/mongo/statement_formatter.rb +0 -53
- data/lib/new_relic/agent/instrumentation/excon/connection.rb +0 -49
- data/lib/new_relic/agent/instrumentation/merb/controller.rb +0 -44
- data/lib/new_relic/agent/instrumentation/merb/errors.rb +0 -33
- data/lib/new_relic/agent/instrumentation/rails/action_controller.rb +0 -125
- data/lib/new_relic/agent/instrumentation/rails/action_web_service.rb +0 -46
- data/lib/new_relic/agent/supported_versions.rb +0 -275
- data/lib/new_relic/control/frameworks/merb.rb +0 -29
@@ -7,7 +7,6 @@ require 'forwardable'
|
|
7
7
|
module NewRelic
|
8
8
|
module Agent
|
9
9
|
module Configuration
|
10
|
-
|
11
10
|
# Helper since default Procs are evaluated in the context of this module
|
12
11
|
def self.value_of(key)
|
13
12
|
Proc.new do
|
@@ -27,7 +26,7 @@ module NewRelic
|
|
27
26
|
# - if user set prepend to `false` then we use method_alias chaining
|
28
27
|
# - auto, when returned means, try to use prepend unless conflicting gems discovered
|
29
28
|
#
|
30
|
-
def self.instrumentation_value_of(disable_key, prepend_key=nil)
|
29
|
+
def self.instrumentation_value_of(disable_key, prepend_key = nil)
|
31
30
|
Proc.new do
|
32
31
|
if NewRelic::Agent.config[disable_key]
|
33
32
|
"disabled"
|
@@ -39,6 +38,8 @@ module NewRelic
|
|
39
38
|
end
|
40
39
|
end
|
41
40
|
|
41
|
+
# Marks the config option as deprecated in the documentation once generated.
|
42
|
+
# Does not appear in logs.
|
42
43
|
def self.deprecated_description new_setting, description
|
43
44
|
link_ref = new_setting.to_s.gsub(".", "-")
|
44
45
|
%{Please see: [#{new_setting}](docs/agents/ruby-agent/configuration/ruby-agent-configuration##{link_ref}). \n\n#{description}}
|
@@ -76,9 +77,9 @@ module NewRelic
|
|
76
77
|
def self.config_search_paths
|
77
78
|
Proc.new {
|
78
79
|
paths = [
|
79
|
-
File.join("config","newrelic.yml"),
|
80
|
+
File.join("config", "newrelic.yml"),
|
80
81
|
File.join("newrelic.yml"),
|
81
|
-
File.join("config","newrelic.yml.erb"),
|
82
|
+
File.join("config", "newrelic.yml.erb"),
|
82
83
|
File.join("newrelic.yml.erb")
|
83
84
|
]
|
84
85
|
|
@@ -120,7 +121,6 @@ module NewRelic
|
|
120
121
|
Proc.new {
|
121
122
|
case
|
122
123
|
when defined?(::NewRelic::TEST) then :test
|
123
|
-
when defined?(::Merb) && defined?(::Merb::Plugins) then :merb
|
124
124
|
when defined?(::Rails::VERSION)
|
125
125
|
case Rails::VERSION::MAJOR
|
126
126
|
when 0..2
|
@@ -143,8 +143,8 @@ module NewRelic
|
|
143
143
|
def self.agent_enabled
|
144
144
|
Proc.new {
|
145
145
|
NewRelic::Agent.config[:enabled] &&
|
146
|
-
|
147
|
-
|
146
|
+
(NewRelic::Agent.config[:test_mode] || NewRelic::Agent.config[:monitor_mode]) &&
|
147
|
+
NewRelic::Agent::Autostart.agent_should_start?
|
148
148
|
}
|
149
149
|
end
|
150
150
|
|
@@ -153,7 +153,7 @@ module NewRelic
|
|
153
153
|
def self.audit_log_path
|
154
154
|
Proc.new {
|
155
155
|
log_file_path = NewRelic::Agent.config[:log_file_path]
|
156
|
-
wants_stdout
|
156
|
+
wants_stdout = (log_file_path.upcase == 'STDOUT')
|
157
157
|
audit_log_dir = wants_stdout ? DEFAULT_LOG_DIR : log_file_path
|
158
158
|
|
159
159
|
File.join(audit_log_dir, 'newrelic_audit.log')
|
@@ -176,7 +176,7 @@ module NewRelic
|
|
176
176
|
# set. Once JS errors are GA, browser_monitoring.loader can stop
|
177
177
|
# being dynamic.
|
178
178
|
def self.browser_monitoring_loader
|
179
|
-
Proc.new { NewRelic::Agent.config[:js_errors_beta] ? "full" : "rum"}
|
179
|
+
Proc.new { NewRelic::Agent.config[:js_errors_beta] ? "full" : "rum" }
|
180
180
|
end
|
181
181
|
|
182
182
|
def self.transaction_tracer_transaction_threshold
|
@@ -353,7 +353,7 @@ module NewRelic
|
|
353
353
|
:entity_guid => {
|
354
354
|
:default => nil,
|
355
355
|
:allow_nil => true,
|
356
|
-
:public =>
|
356
|
+
:public => false,
|
357
357
|
:type => String,
|
358
358
|
:allowed_from_server => true,
|
359
359
|
:description => 'The [Entity GUID](/attribute-dictionary/span/entityguid) for the entity running this agent.'
|
@@ -534,7 +534,7 @@ module NewRelic
|
|
534
534
|
:type => Float,
|
535
535
|
:allowed_from_server => true,
|
536
536
|
:deprecated => true,
|
537
|
-
:description => '
|
537
|
+
:description => 'For agent versions 3.5.0 or higher, [set your Apdex T via the New Relic UI](/docs/apm/new-relic-apm/apdex/changing-your-apdex-settings).'
|
538
538
|
},
|
539
539
|
:'strip_exception_messages.enabled' => {
|
540
540
|
:default => value_of(:high_security),
|
@@ -779,8 +779,7 @@ module NewRelic
|
|
779
779
|
:deprecated => true,
|
780
780
|
:type => Boolean,
|
781
781
|
:allowed_from_server => false,
|
782
|
-
:description => deprecated_description(:'instrumentation.delayed_job', 'If `true`, disables [Delayed::Job instrumentation](/docs/agents/ruby-agent/background-jobs/delayedjob).'
|
783
|
-
)
|
782
|
+
:description => deprecated_description(:'instrumentation.delayed_job', 'If `true`, disables [Delayed::Job instrumentation](/docs/agents/ruby-agent/background-jobs/delayedjob).')
|
784
783
|
},
|
785
784
|
:disable_sinatra => {
|
786
785
|
:default => false,
|
@@ -788,7 +787,7 @@ module NewRelic
|
|
788
787
|
:type => Boolean,
|
789
788
|
:deprecated => true,
|
790
789
|
:allowed_from_server => false,
|
791
|
-
:description => deprecated_description(:'instrumentation.sinatra', 'If `true` , disables [Sinatra instrumentation](/docs/agents/ruby-agent/frameworks/sinatra-support).'
|
790
|
+
:description => deprecated_description(:'instrumentation.sinatra', 'If `true` , disables [Sinatra instrumentation](/docs/agents/ruby-agent/frameworks/sinatra-support).')
|
792
791
|
},
|
793
792
|
:disable_sinatra_auto_middleware => {
|
794
793
|
:default => false,
|
@@ -839,8 +838,7 @@ module NewRelic
|
|
839
838
|
:allowed_from_server => false,
|
840
839
|
:deprecated => true,
|
841
840
|
:description => deprecated_description(:'instrumentation.net_http',
|
842
|
-
'If `true`, uses `Module#prepend` rather than alias_method for Net::HTTP instrumentation.'
|
843
|
-
)
|
841
|
+
'If `true`, uses `Module#prepend` rather than alias_method for Net::HTTP instrumentation.')
|
844
842
|
},
|
845
843
|
:'instrumentation.net_http' => {
|
846
844
|
:default => instrumentation_value_of(:disable_net_http, :prepend_net_instrumentation),
|
@@ -939,40 +937,40 @@ module NewRelic
|
|
939
937
|
:description => "Controls auto-instrumentation of Sinatra at start up. May be one of [auto|prepend|chain|disabled]."
|
940
938
|
},
|
941
939
|
:'instrumentation.rack' => {
|
942
|
-
:default
|
943
|
-
:public
|
944
|
-
:type
|
940
|
+
:default => instrumentation_value_of(:disable_rack),
|
941
|
+
:public => true,
|
942
|
+
:type => String,
|
945
943
|
:dynamic_name => true,
|
946
944
|
:allowed_from_server => false,
|
947
|
-
:description
|
945
|
+
:description => "Controls auto-instrumentation of Rack. When enabled, the agent hooks into the " \
|
948
946
|
"`to_app` method in Rack::Builder to find gems to instrument during " \
|
949
947
|
"application startup. May be one of [auto|prepend|chain|disabled]."
|
950
948
|
},
|
951
949
|
:'instrumentation.rack_urlmap' => {
|
952
|
-
:default
|
953
|
-
:public
|
954
|
-
:type
|
950
|
+
:default => instrumentation_value_of(:disable_rack_urlmap),
|
951
|
+
:public => true,
|
952
|
+
:type => String,
|
955
953
|
:dynamic_name => true,
|
956
954
|
:allowed_from_server => false,
|
957
|
-
:description
|
955
|
+
:description => 'Controls auto-instrumentation of Rack::URLMap at start up. May be one of [auto|prepend|chain|disabled].'
|
958
956
|
},
|
959
957
|
:'instrumentation.puma_rack' => {
|
960
|
-
:default
|
961
|
-
:public
|
962
|
-
:type
|
958
|
+
:default => instrumentation_value_of(:disable_puma_rack), # TODO: change to value_of(:'instrumentation.rack') when we remove :disable_puma_rack in 8.0)
|
959
|
+
:public => true,
|
960
|
+
:type => String,
|
963
961
|
:dynamic_name => true,
|
964
962
|
:allowed_from_server => false,
|
965
|
-
:description
|
963
|
+
:description => "Controls auto-instrumentation of Puma::Rack. When enabled, the agent hooks into the " \
|
966
964
|
"`to_app` method in Puma::Rack::Builder to find gems to instrument during " \
|
967
965
|
"application startup. May be one of [auto|prepend|chain|disabled]."
|
968
966
|
},
|
969
967
|
:'instrumentation.puma_rack_urlmap' => {
|
970
|
-
:default
|
971
|
-
:public
|
972
|
-
:type
|
968
|
+
:default => instrumentation_value_of(:disable_puma_rack_urlmap), # TODO: change to value_of(:'instrumentation.rack_urlmap') when we remove :disable_puma_rack_urlmap in 8.0)
|
969
|
+
:public => true,
|
970
|
+
:type => String,
|
973
971
|
:dynamic_name => true,
|
974
972
|
:allowed_from_server => false,
|
975
|
-
:description
|
973
|
+
:description => 'Controls auto-instrumentation of Puma::Rack::URLMap at start up. May be one of [auto|prepend|chain|disabled].'
|
976
974
|
},
|
977
975
|
:'instrumentation.memcached' => {
|
978
976
|
:default => instrumentation_value_of(:disable_memcached),
|
@@ -980,7 +978,7 @@ module NewRelic
|
|
980
978
|
:type => String,
|
981
979
|
:dynamic_name => true,
|
982
980
|
:allowed_from_server => false,
|
983
|
-
:description
|
981
|
+
:description => 'Controls auto-instrumentation of memcached gem for Memcache at start up. May be one of [auto|prepend|chain|disabled].'
|
984
982
|
},
|
985
983
|
:'instrumentation.memcache_client' => {
|
986
984
|
:default => instrumentation_value_of(:disable_memcache_client),
|
@@ -988,7 +986,7 @@ module NewRelic
|
|
988
986
|
:type => String,
|
989
987
|
:dynamic_name => true,
|
990
988
|
:allowed_from_server => false,
|
991
|
-
:description
|
989
|
+
:description => 'Controls auto-instrumentation of memcache-client gem for Memcache at start up. May be one of [auto|prepend|chain|disabled].'
|
992
990
|
},
|
993
991
|
:'instrumentation.memcache' => {
|
994
992
|
:default => instrumentation_value_of(:disable_dalli),
|
@@ -996,7 +994,23 @@ module NewRelic
|
|
996
994
|
:type => String,
|
997
995
|
:dynamic_name => true,
|
998
996
|
:allowed_from_server => false,
|
999
|
-
:description
|
997
|
+
:description => 'Controls auto-instrumentation of dalli gem for Memcache at start up. May be one of [auto|prepend|chain|disabled].'
|
998
|
+
},
|
999
|
+
:'instrumentation.logger' => {
|
1000
|
+
:default => "auto",
|
1001
|
+
:public => true,
|
1002
|
+
:type => String,
|
1003
|
+
:dynamic_name => true,
|
1004
|
+
:allowed_from_server => false,
|
1005
|
+
:description => 'Controls auto-instrumentation of Ruby standard library Logger at start up. May be one of [auto|prepend|chain|disabled].'
|
1006
|
+
},
|
1007
|
+
:'instrumentation.tilt' => {
|
1008
|
+
:default => "auto",
|
1009
|
+
:public => true,
|
1010
|
+
:type => String,
|
1011
|
+
:dynamic_name => true,
|
1012
|
+
:allowed_from_server => false,
|
1013
|
+
:description => 'Controls auto-instrumentation of Tilt at start up. May be one of [auto|prepend|chain|disabled].'
|
1000
1014
|
},
|
1001
1015
|
:disable_data_mapper => {
|
1002
1016
|
:default => false,
|
@@ -1151,7 +1165,7 @@ module NewRelic
|
|
1151
1165
|
:type => Boolean,
|
1152
1166
|
:deprecated => true,
|
1153
1167
|
:allowed_from_server => false,
|
1154
|
-
:description => '
|
1168
|
+
:description => 'Use [`transaction_tracer.attributes.enabled`](#transaction_tracer-attributes-enabled) instead.'
|
1155
1169
|
},
|
1156
1170
|
:'transaction_tracer.explain_threshold' => {
|
1157
1171
|
:default => 0.5,
|
@@ -1194,39 +1208,39 @@ module NewRelic
|
|
1194
1208
|
:type => Boolean,
|
1195
1209
|
:allowed_from_server => false,
|
1196
1210
|
:deprecated => true,
|
1197
|
-
:description => '
|
1211
|
+
:description => 'Use [`disable_sequel_instrumentation`](#disable_sequel_instrumentation) instead.'
|
1198
1212
|
},
|
1199
1213
|
:disable_mongo => {
|
1200
|
-
:default
|
1201
|
-
:public
|
1202
|
-
:type
|
1214
|
+
:default => false,
|
1215
|
+
:public => true,
|
1216
|
+
:type => Boolean,
|
1203
1217
|
:allowed_from_server => false,
|
1204
1218
|
:dynamic_name => true,
|
1205
|
-
:deprecated
|
1206
|
-
:description
|
1219
|
+
:deprecated => true,
|
1220
|
+
:description => deprecated_description(:'instrumentation.mongo', 'If `true`, the agent won\'t install [instrumentation for the Mongo gem](/docs/agents/ruby-agent/frameworks/mongo-instrumentation).')
|
1207
1221
|
},
|
1208
1222
|
:disable_redis => {
|
1209
|
-
:default
|
1210
|
-
:public
|
1211
|
-
:type
|
1212
|
-
:deprecated
|
1223
|
+
:default => false,
|
1224
|
+
:public => true,
|
1225
|
+
:type => Boolean,
|
1226
|
+
:deprecated => true,
|
1213
1227
|
:allowed_from_server => false,
|
1214
|
-
:description
|
1228
|
+
:description => deprecated_description(:'instrumentation.redis', 'If `true`, the agent won\'t install [instrumentation for Redis](/docs/agents/ruby-agent/frameworks/redis-instrumentation).')
|
1215
1229
|
},
|
1216
1230
|
:disable_redis_instrumentation => {
|
1217
|
-
:default
|
1218
|
-
:public
|
1219
|
-
:type
|
1220
|
-
:deprecated
|
1231
|
+
:default => false,
|
1232
|
+
:public => false,
|
1233
|
+
:type => Boolean,
|
1234
|
+
:deprecated => true,
|
1221
1235
|
:allowed_from_server => false,
|
1222
|
-
:description
|
1236
|
+
:description => deprecated_description(:'instrumentation.redis', 'Disables installation of Redis instrumentation. Standard key to use is disable_redis.')
|
1223
1237
|
},
|
1224
1238
|
:'message_tracer.segment_parameters.enabled' => {
|
1225
|
-
:default
|
1226
|
-
:public
|
1227
|
-
:type
|
1239
|
+
:default => true,
|
1240
|
+
:public => true,
|
1241
|
+
:type => Boolean,
|
1228
1242
|
:allowed_from_server => true,
|
1229
|
-
:description
|
1243
|
+
:description => 'If `true`, the agent will collect metadata about messages and attach them as segment parameters.'
|
1230
1244
|
},
|
1231
1245
|
:'slow_sql.enabled' => {
|
1232
1246
|
:default => value_of(:'transaction_tracer.enabled'),
|
@@ -1290,15 +1304,16 @@ module NewRelic
|
|
1290
1304
|
:type => Boolean,
|
1291
1305
|
:deprecated => true,
|
1292
1306
|
:allowed_from_server => false,
|
1293
|
-
:description => '
|
1307
|
+
:description => 'Use [`error_collector.attributes.enabled`](#error_collector-attributes-enabled) instead.'
|
1294
1308
|
},
|
1295
1309
|
:'error_collector.ignore_errors' => {
|
1296
1310
|
:default => 'ActionController::RoutingError,Sinatra::NotFound',
|
1297
1311
|
:public => true,
|
1298
1312
|
:type => String,
|
1313
|
+
:deprecated => true,
|
1299
1314
|
:allowed_from_server => true,
|
1300
1315
|
:dynamic_name => true,
|
1301
|
-
:description => '
|
1316
|
+
:description => 'Use `error_collector.ignore_classes` instead. Specify a comma-delimited list of error classes that the agent should ignore.'
|
1302
1317
|
},
|
1303
1318
|
:'error_collector.ignore_classes' => {
|
1304
1319
|
:default => [],
|
@@ -1425,7 +1440,7 @@ module NewRelic
|
|
1425
1440
|
:type => Boolean,
|
1426
1441
|
:deprecated => true,
|
1427
1442
|
:allowed_from_server => false,
|
1428
|
-
:description => '
|
1443
|
+
:description => 'Use [`browser_monitoring.attributes.enabled`](#browser_monitoring-attributes-enabled) instead.'
|
1429
1444
|
},
|
1430
1445
|
:'browser_monitoring.loader' => {
|
1431
1446
|
:default => DefaultSource.browser_monitoring_loader,
|
@@ -1479,11 +1494,15 @@ module NewRelic
|
|
1479
1494
|
:description => 'List of trusted New Relic account IDs for the purposes of cross-application tracing. Inbound requests from applications including cross-application headers that do not come from an account in this list will be ignored.'
|
1480
1495
|
},
|
1481
1496
|
:"cross_application_tracer.enabled" => {
|
1482
|
-
:default =>
|
1497
|
+
:default => false,
|
1483
1498
|
:public => true,
|
1484
1499
|
:type => Boolean,
|
1485
1500
|
:allowed_from_server => true,
|
1486
|
-
:
|
1501
|
+
:deprecated => true,
|
1502
|
+
:description => deprecated_description(
|
1503
|
+
:'distributed_tracing-enabled',
|
1504
|
+
'If `true`, enables [cross-application tracing](/docs/agents/ruby-agent/features/cross-application-tracing-ruby/)'
|
1505
|
+
)
|
1487
1506
|
},
|
1488
1507
|
:cross_application_tracing => {
|
1489
1508
|
:default => nil,
|
@@ -1492,7 +1511,7 @@ module NewRelic
|
|
1492
1511
|
:type => Boolean,
|
1493
1512
|
:allowed_from_server => false,
|
1494
1513
|
:deprecated => true,
|
1495
|
-
:description => 'Deprecated in favor of
|
1514
|
+
:description => 'Deprecated in favor of distributed_tracing.enabled'
|
1496
1515
|
},
|
1497
1516
|
:encoding_key => {
|
1498
1517
|
:default => '',
|
@@ -1549,7 +1568,7 @@ module NewRelic
|
|
1549
1568
|
:type => Boolean,
|
1550
1569
|
:deprecated => true,
|
1551
1570
|
:allowed_from_server => false,
|
1552
|
-
:description => '
|
1571
|
+
:description => 'Use [`transaction_events.attributes.enabled`](#transaction_events-attributes-enabled) instead.'
|
1553
1572
|
},
|
1554
1573
|
:restart_thread_in_children => {
|
1555
1574
|
:default => true,
|
@@ -1573,71 +1592,71 @@ module NewRelic
|
|
1573
1592
|
:description => 'Backports the faster ActiveRecord connection lookup introduced in Rails 6, which improves agent performance when instrumenting ActiveRecord. Note that this setting may not be compatible with other gems that patch ActiveRecord.'
|
1574
1593
|
},
|
1575
1594
|
:disable_vm_sampler => {
|
1576
|
-
:default
|
1577
|
-
:public
|
1578
|
-
:type
|
1595
|
+
:default => false,
|
1596
|
+
:public => true,
|
1597
|
+
:type => Boolean,
|
1579
1598
|
:dynamic_name => true,
|
1580
1599
|
:allowed_from_server => false,
|
1581
|
-
:description
|
1600
|
+
:description => 'If `true`, the agent won\'t [sample performance measurements from the Ruby VM](/docs/agents/ruby-agent/features/ruby-vm-measurements).'
|
1582
1601
|
},
|
1583
1602
|
:disable_memory_sampler => {
|
1584
|
-
:default
|
1585
|
-
:public
|
1586
|
-
:type
|
1603
|
+
:default => false,
|
1604
|
+
:public => true,
|
1605
|
+
:type => Boolean,
|
1587
1606
|
:dynamic_name => true,
|
1588
1607
|
:allowed_from_server => false,
|
1589
|
-
:description
|
1608
|
+
:description => 'If `true`, the agent won\'t sample the memory usage of the host process.'
|
1590
1609
|
},
|
1591
1610
|
:disable_cpu_sampler => {
|
1592
|
-
:default
|
1593
|
-
:public
|
1594
|
-
:type
|
1611
|
+
:default => false,
|
1612
|
+
:public => true,
|
1613
|
+
:type => Boolean,
|
1595
1614
|
:dynamic_name => true,
|
1596
1615
|
:allowed_from_server => false,
|
1597
|
-
:description
|
1616
|
+
:description => 'If `true`, the agent won\'t sample the CPU usage of the host process.'
|
1598
1617
|
},
|
1599
1618
|
:disable_delayed_job_sampler => {
|
1600
|
-
:default
|
1601
|
-
:public
|
1602
|
-
:type
|
1619
|
+
:default => false,
|
1620
|
+
:public => true,
|
1621
|
+
:type => Boolean,
|
1603
1622
|
:dynamic_name => true,
|
1604
1623
|
:allowed_from_server => false,
|
1605
|
-
:description
|
1624
|
+
:description => 'If `true`, the agent won\'t measure the depth of Delayed Job queues.'
|
1606
1625
|
},
|
1607
1626
|
:disable_active_record_notifications => {
|
1608
|
-
:default
|
1609
|
-
:public
|
1610
|
-
:type
|
1627
|
+
:default => false,
|
1628
|
+
:public => true,
|
1629
|
+
:type => Boolean,
|
1611
1630
|
:dynamic_name => true,
|
1612
1631
|
:allowed_from_server => false,
|
1613
|
-
:description
|
1632
|
+
:description => 'If `true`, disables instrumentation for ActiveRecord 4, 5, and 6.'
|
1614
1633
|
},
|
1615
1634
|
:disable_bunny => {
|
1616
|
-
:default
|
1617
|
-
:public
|
1618
|
-
:type
|
1619
|
-
:deprecated
|
1635
|
+
:default => false,
|
1636
|
+
:public => true,
|
1637
|
+
:type => Boolean,
|
1638
|
+
:deprecated => true,
|
1620
1639
|
:dynamic_name => true,
|
1621
1640
|
:allowed_from_server => false,
|
1622
|
-
:description
|
1641
|
+
:description => deprecated_description(:'instrumentation.bunny', 'If `true`, disables instrumentation for the bunny gem.')
|
1623
1642
|
},
|
1624
1643
|
:disable_curb => {
|
1625
|
-
:default
|
1626
|
-
:public
|
1627
|
-
:type
|
1644
|
+
:default => false,
|
1645
|
+
:public => true,
|
1646
|
+
:type => Boolean,
|
1628
1647
|
:deprecated => true,
|
1629
1648
|
:dynamic_name => true,
|
1630
1649
|
:allowed_from_server => false,
|
1631
|
-
:description
|
1650
|
+
:description => deprecated_description(:'instrumentation.curb', 'If `true`, disables instrumentation for the curb gem.')
|
1632
1651
|
},
|
1633
1652
|
:disable_excon => {
|
1634
|
-
:default
|
1635
|
-
:public
|
1636
|
-
:type
|
1653
|
+
:default => false,
|
1654
|
+
:public => true,
|
1655
|
+
:type => Boolean,
|
1637
1656
|
:dynamic_name => true,
|
1638
|
-
:deprecated
|
1657
|
+
:deprecated => true,
|
1639
1658
|
:allowed_from_server => false,
|
1640
|
-
:description
|
1659
|
+
:description => deprecated_description(:'instrumentation.excon', 'If `true`, disables instrumentation for the excon gem.')
|
1641
1660
|
},
|
1642
1661
|
:'instrumentation.excon' => {
|
1643
1662
|
:default => instrumentation_value_of(:disable_excon),
|
@@ -1648,200 +1667,197 @@ module NewRelic
|
|
1648
1667
|
:description => "Controls auto-instrumentation of Excon at start up. May be one of [enabled|disabled]."
|
1649
1668
|
},
|
1650
1669
|
:disable_httpclient => {
|
1651
|
-
:default
|
1652
|
-
:public
|
1653
|
-
:type
|
1670
|
+
:default => false,
|
1671
|
+
:public => true,
|
1672
|
+
:type => Boolean,
|
1654
1673
|
:dynamic_name => true,
|
1655
|
-
:deprecated
|
1674
|
+
:deprecated => true,
|
1656
1675
|
:allowed_from_server => false,
|
1657
|
-
:description
|
1676
|
+
:description => deprecated_description(:'instrumentation.httpclient', 'If `true`, disables instrumentation for the httpclient gem.')
|
1658
1677
|
},
|
1659
1678
|
:disable_net_http => {
|
1660
|
-
:default
|
1661
|
-
:public
|
1662
|
-
:type
|
1679
|
+
:default => false,
|
1680
|
+
:public => true,
|
1681
|
+
:type => Boolean,
|
1663
1682
|
:dynamic_name => true,
|
1664
1683
|
:allowed_from_server => false,
|
1665
|
-
:deprecated
|
1666
|
-
:description
|
1667
|
-
'If `true`, disables instrumentation for Net::HTTP.'
|
1668
|
-
)
|
1684
|
+
:deprecated => true,
|
1685
|
+
:description => deprecated_description(:'instrumentation.net_http',
|
1686
|
+
'If `true`, disables instrumentation for Net::HTTP.')
|
1669
1687
|
},
|
1670
1688
|
:disable_rack => {
|
1671
|
-
:default
|
1672
|
-
:public
|
1673
|
-
:type
|
1689
|
+
:default => false,
|
1690
|
+
:public => true,
|
1691
|
+
:type => Boolean,
|
1674
1692
|
:dynamic_name => true,
|
1675
1693
|
:allowed_from_server => false,
|
1676
|
-
:deprecated
|
1677
|
-
:description
|
1694
|
+
:deprecated => true,
|
1695
|
+
:description => deprecated_description(:'instrumentation.rack', 'If `true`, prevents the agent from hooking into the `to_app` method in Rack::Builder to find gems to instrument during application startup.')
|
1678
1696
|
},
|
1679
1697
|
:disable_rack_urlmap => {
|
1680
|
-
:default
|
1681
|
-
:public
|
1682
|
-
:type
|
1698
|
+
:default => false,
|
1699
|
+
:public => true,
|
1700
|
+
:type => Boolean,
|
1683
1701
|
:dynamic_name => true,
|
1684
1702
|
:allowed_from_server => false,
|
1685
|
-
:deprecated
|
1686
|
-
:description
|
1703
|
+
:deprecated => true,
|
1704
|
+
:description => deprecated_description(:'instrumentation.rack_urlmap', 'If `true`, prevents the agent from hooking into Rack::URLMap to install middleware tracing.')
|
1687
1705
|
},
|
1688
1706
|
:disable_puma_rack => {
|
1689
|
-
:default
|
1690
|
-
:public
|
1691
|
-
:type
|
1707
|
+
:default => value_of(:disable_rack),
|
1708
|
+
:public => true,
|
1709
|
+
:type => Boolean,
|
1692
1710
|
:dynamic_name => true,
|
1693
1711
|
:allowed_from_server => false,
|
1694
|
-
:deprecated
|
1695
|
-
:description
|
1712
|
+
:deprecated => true,
|
1713
|
+
:description => deprecated_description(:'instrumentation.puma_rack', 'If `true`, prevents the agent from hooking into the `to_app` method in Puma::Rack::Builder to find gems to instrument during application startup.')
|
1696
1714
|
},
|
1697
1715
|
:disable_puma_rack_urlmap => {
|
1698
|
-
:default
|
1699
|
-
:public
|
1700
|
-
:type
|
1716
|
+
:default => value_of(:disable_rack_urlmap),
|
1717
|
+
:public => true,
|
1718
|
+
:type => Boolean,
|
1701
1719
|
:dynamic_name => true,
|
1702
1720
|
:allowed_from_server => false,
|
1703
|
-
:deprecated
|
1704
|
-
:description
|
1721
|
+
:deprecated => true,
|
1722
|
+
:description => deprecated_description(:'instrumentation.puma_rack_urlmap', 'If `true`, prevents the agent from hooking into Puma::Rack::URLMap to install middleware tracing.')
|
1705
1723
|
},
|
1706
1724
|
:disable_typhoeus => {
|
1707
|
-
:default
|
1708
|
-
:public
|
1709
|
-
:type
|
1725
|
+
:default => false,
|
1726
|
+
:public => true,
|
1727
|
+
:type => Boolean,
|
1710
1728
|
:dynamic_name => true,
|
1711
|
-
:deprecated
|
1729
|
+
:deprecated => true,
|
1712
1730
|
:allowed_from_server => false,
|
1713
|
-
:description
|
1731
|
+
:description => deprecated_description(:'instrumentation.typhoeus', 'If `true`, the agent won\'t install instrumentation for the typhoeus gem.')
|
1714
1732
|
},
|
1715
1733
|
:disable_httprb => {
|
1716
|
-
:default
|
1717
|
-
:public
|
1718
|
-
:type
|
1734
|
+
:default => false,
|
1735
|
+
:public => true,
|
1736
|
+
:type => Boolean,
|
1719
1737
|
:dynamic_name => true,
|
1720
|
-
:deprecated
|
1738
|
+
:deprecated => true,
|
1721
1739
|
:allowed_from_server => false,
|
1722
|
-
:description
|
1740
|
+
:description => deprecated_description(:'instrumentation.httprb', 'If `true`, the agent won\'t install instrumentation for the http.rb gem.')
|
1723
1741
|
},
|
1724
1742
|
:disable_middleware_instrumentation => {
|
1725
|
-
:default
|
1726
|
-
:public
|
1727
|
-
:type
|
1743
|
+
:default => false,
|
1744
|
+
:public => true,
|
1745
|
+
:type => Boolean,
|
1728
1746
|
:allowed_from_server => false,
|
1729
|
-
:description
|
1747
|
+
:description => 'If `true`, the agent won\'t wrap third-party middlewares in instrumentation (regardless of whether they are installed via Rack::Builder or Rails).'
|
1730
1748
|
},
|
1731
1749
|
:disable_rails_middleware => {
|
1732
|
-
:default
|
1733
|
-
:public
|
1734
|
-
:type
|
1750
|
+
:default => false,
|
1751
|
+
:public => false,
|
1752
|
+
:type => Boolean,
|
1735
1753
|
:allowed_from_server => false,
|
1736
|
-
:description
|
1754
|
+
:description => 'Internal name for controlling Rails 3+ middleware instrumentation'
|
1737
1755
|
},
|
1738
1756
|
:'heroku.use_dyno_names' => {
|
1739
|
-
:default
|
1740
|
-
:public
|
1741
|
-
:type
|
1757
|
+
:default => true,
|
1758
|
+
:public => true,
|
1759
|
+
:type => Boolean,
|
1742
1760
|
:allowed_from_server => false,
|
1743
|
-
:description
|
1761
|
+
:description => 'If `true`, the agent uses Heroku dyno names as the hostname.'
|
1744
1762
|
},
|
1745
1763
|
:'heroku.dyno_name_prefixes_to_shorten' => {
|
1746
|
-
:default
|
1747
|
-
:public
|
1748
|
-
:type
|
1764
|
+
:default => ['scheduler', 'run'],
|
1765
|
+
:public => true,
|
1766
|
+
:type => Array,
|
1749
1767
|
:allowed_from_server => false,
|
1750
|
-
:transform
|
1751
|
-
:description
|
1768
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1769
|
+
:description => 'Ordinarily the agent reports dyno names with a trailing dot and process ID (for example, <b>worker.3</b>). You can remove this trailing data by specifying the prefixes you want to report without trailing data (for example, <b>worker</b>).'
|
1752
1770
|
},
|
1753
1771
|
:'process_host.display_name' => {
|
1754
|
-
:default
|
1755
|
-
:public
|
1756
|
-
:type
|
1772
|
+
:default => Proc.new { NewRelic::Agent::Hostname.get },
|
1773
|
+
:public => true,
|
1774
|
+
:type => String,
|
1757
1775
|
:allowed_from_server => false,
|
1758
|
-
:description
|
1776
|
+
:description => 'Specify a custom host name for [display in the New Relic UI](/docs/apm/new-relic-apm/maintenance/add-rename-remove-hosts#display_name).'
|
1759
1777
|
},
|
1760
1778
|
:labels => {
|
1761
|
-
:default
|
1762
|
-
:public
|
1763
|
-
:type
|
1779
|
+
:default => '',
|
1780
|
+
:public => true,
|
1781
|
+
:type => String,
|
1764
1782
|
:allowed_from_server => false,
|
1765
|
-
:description
|
1783
|
+
:description => 'A dictionary of [label names](/docs/data-analysis/user-interface-functions/labels-categories-organize-your-apps-servers) and values that will be applied to the data sent from this agent. May also be expressed as a semicolon-delimited `;` string of colon-separated `:` pairs. For example, `<var>Server</var>:<var>One</var>;<var>Data Center</var>:<var>Primary</var>`.'
|
1766
1784
|
},
|
1767
1785
|
:aggressive_keepalive => {
|
1768
|
-
:default
|
1769
|
-
:public
|
1770
|
-
:type
|
1786
|
+
:default => true,
|
1787
|
+
:public => false,
|
1788
|
+
:type => Boolean,
|
1771
1789
|
:allowed_from_server => true,
|
1772
|
-
:description
|
1790
|
+
:description => 'If true, attempt to keep the TCP connection to the collector alive between harvests.'
|
1773
1791
|
},
|
1774
1792
|
:keep_alive_timeout => {
|
1775
|
-
:default
|
1776
|
-
:public
|
1777
|
-
:type
|
1793
|
+
:default => 60,
|
1794
|
+
:public => false,
|
1795
|
+
:type => Integer,
|
1778
1796
|
:allowed_from_server => true,
|
1779
|
-
:description
|
1797
|
+
:description => 'Timeout for keep alive on TCP connection to collector if supported by Ruby version. Only used in conjunction when aggressive_keepalive is enabled.'
|
1780
1798
|
},
|
1781
1799
|
:ca_bundle_path => {
|
1782
|
-
:default
|
1783
|
-
:allow_nil
|
1784
|
-
:public
|
1785
|
-
:type
|
1800
|
+
:default => nil,
|
1801
|
+
:allow_nil => true,
|
1802
|
+
:public => true,
|
1803
|
+
:type => String,
|
1786
1804
|
:allowed_from_server => false,
|
1787
|
-
:description
|
1805
|
+
:description => "Manual override for the path to your local CA bundle. This CA bundle will be used to validate the SSL certificate presented by New Relic\'s data collection service."
|
1788
1806
|
},
|
1789
1807
|
:'rules.ignore_url_regexes' => {
|
1790
|
-
:default
|
1791
|
-
:public
|
1792
|
-
:type
|
1808
|
+
:default => [],
|
1809
|
+
:public => true,
|
1810
|
+
:type => Array,
|
1793
1811
|
:allowed_from_server => true,
|
1794
|
-
:transform
|
1795
|
-
:description
|
1812
|
+
:transform => DefaultSource.method(:convert_to_regexp_list),
|
1813
|
+
:description => 'Define transactions you want the agent to ignore, by specifying a list of patterns matching the URI you want to ignore.'
|
1796
1814
|
},
|
1797
1815
|
:'synthetics.traces_limit' => {
|
1798
|
-
:default
|
1799
|
-
:public
|
1800
|
-
:type
|
1816
|
+
:default => 20,
|
1817
|
+
:public => false,
|
1818
|
+
:type => Integer,
|
1801
1819
|
:allowed_from_server => true,
|
1802
|
-
:description
|
1820
|
+
:description => 'Maximum number of synthetics transaction traces to hold for a given harvest'
|
1803
1821
|
},
|
1804
1822
|
:'synthetics.events_limit' => {
|
1805
|
-
:default
|
1806
|
-
:public
|
1807
|
-
:type
|
1823
|
+
:default => 200,
|
1824
|
+
:public => false,
|
1825
|
+
:type => Integer,
|
1808
1826
|
:allowed_from_server => true,
|
1809
|
-
:description
|
1827
|
+
:description => 'Maximum number of synthetics transaction events to hold for a given harvest'
|
1810
1828
|
},
|
1811
1829
|
:'custom_insights_events.enabled' => {
|
1812
|
-
:default
|
1813
|
-
:public
|
1814
|
-
:type
|
1830
|
+
:default => true,
|
1831
|
+
:public => true,
|
1832
|
+
:type => Boolean,
|
1815
1833
|
:allowed_from_server => true,
|
1816
|
-
:description
|
1834
|
+
:description => 'If `true`, the agent captures [New Relic Insights custom events](/docs/insights/new-relic-insights/adding-querying-data/inserting-custom-events-new-relic-apm-agents).'
|
1817
1835
|
},
|
1818
1836
|
:'custom_insights_events.max_samples_stored' => {
|
1819
|
-
:default
|
1820
|
-
:public
|
1821
|
-
:type
|
1837
|
+
:default => 1000,
|
1838
|
+
:public => true,
|
1839
|
+
:type => Integer,
|
1822
1840
|
:allowed_from_server => true,
|
1823
|
-
:description
|
1841
|
+
:description => 'Specify a maximum number of custom Insights events to buffer in memory at a time.',
|
1824
1842
|
:dynamic_name => true
|
1825
1843
|
},
|
1826
1844
|
:disable_grape_instrumentation => {
|
1827
|
-
:default
|
1828
|
-
:public
|
1829
|
-
:type
|
1845
|
+
:default => false,
|
1846
|
+
:public => false,
|
1847
|
+
:type => Boolean,
|
1830
1848
|
:allowed_from_server => false,
|
1831
|
-
:deprecated
|
1832
|
-
:description
|
1833
|
-
'If `true`, the agent won\'t install Grape instrumentation.'
|
1834
|
-
)
|
1849
|
+
:deprecated => true,
|
1850
|
+
:description => deprecated_description(:'instrumentation.grape',
|
1851
|
+
'If `true`, the agent won\'t install Grape instrumentation.')
|
1835
1852
|
},
|
1836
1853
|
:disable_grape => {
|
1837
|
-
:default
|
1838
|
-
:public
|
1839
|
-
:type
|
1854
|
+
:default => false,
|
1855
|
+
:public => true,
|
1856
|
+
:type => Boolean,
|
1840
1857
|
:allowed_from_server => false,
|
1841
|
-
:deprecated
|
1842
|
-
:description
|
1843
|
-
'If `true`, the agent won\'t install Grape instrumentation.'
|
1844
|
-
)
|
1858
|
+
:deprecated => true,
|
1859
|
+
:description => deprecated_description(:'instrumentation.grape',
|
1860
|
+
'If `true`, the agent won\'t install Grape instrumentation.')
|
1845
1861
|
},
|
1846
1862
|
:'instrumentation.grape' => {
|
1847
1863
|
:default => instrumentation_value_of(:disable_grape_instrumentation),
|
@@ -1852,261 +1868,261 @@ module NewRelic
|
|
1852
1868
|
:description => "Controls auto-instrumentation of Grape at start up. May be one of [auto|prepend|chain|disabled]."
|
1853
1869
|
},
|
1854
1870
|
:'attributes.enabled' => {
|
1855
|
-
:default
|
1856
|
-
:public
|
1857
|
-
:type
|
1871
|
+
:default => true,
|
1872
|
+
:public => true,
|
1873
|
+
:type => Boolean,
|
1858
1874
|
:allowed_from_server => false,
|
1859
1875
|
:description => 'If `true`, enables capture of attributes for all destinations.'
|
1860
1876
|
},
|
1861
1877
|
:'transaction_tracer.attributes.enabled' => {
|
1862
|
-
:default
|
1863
|
-
:public
|
1864
|
-
:type
|
1878
|
+
:default => value_of(:'transaction_tracer.capture_attributes'),
|
1879
|
+
:public => true,
|
1880
|
+
:type => Boolean,
|
1865
1881
|
:allowed_from_server => false,
|
1866
1882
|
:description => 'If `true`, the agent captures attributes from transaction traces.'
|
1867
1883
|
},
|
1868
1884
|
:'transaction_events.attributes.enabled' => {
|
1869
|
-
:default
|
1870
|
-
:public
|
1871
|
-
:type
|
1885
|
+
:default => value_of(:'analytics_events.capture_attributes'),
|
1886
|
+
:public => true,
|
1887
|
+
:type => Boolean,
|
1872
1888
|
:allowed_from_server => false,
|
1873
1889
|
:description => 'If `true`, the agent captures attributes from transaction events.'
|
1874
1890
|
},
|
1875
1891
|
:'error_collector.attributes.enabled' => {
|
1876
|
-
:default
|
1877
|
-
:public
|
1878
|
-
:type
|
1892
|
+
:default => value_of(:'error_collector.capture_attributes'),
|
1893
|
+
:public => true,
|
1894
|
+
:type => Boolean,
|
1879
1895
|
:allowed_from_server => false,
|
1880
1896
|
:description => 'If `true`, the agent captures attributes from error collection.'
|
1881
1897
|
},
|
1882
1898
|
:'browser_monitoring.attributes.enabled' => {
|
1883
|
-
:default
|
1884
|
-
:public
|
1885
|
-
:type
|
1899
|
+
:default => value_of(:'browser_monitoring.capture_attributes'),
|
1900
|
+
:public => true,
|
1901
|
+
:type => Boolean,
|
1886
1902
|
:allowed_from_server => false,
|
1887
1903
|
:description => 'If `true`, the agent captures attributes from browser monitoring.'
|
1888
1904
|
},
|
1889
1905
|
:'span_events.attributes.enabled' => {
|
1890
|
-
:default
|
1891
|
-
:public
|
1892
|
-
:type
|
1906
|
+
:default => true,
|
1907
|
+
:public => true,
|
1908
|
+
:type => Boolean,
|
1893
1909
|
:allowed_from_server => false,
|
1894
1910
|
:description => 'If `true`, the agent captures attributes on span events.'
|
1895
1911
|
},
|
1896
1912
|
:'transaction_segments.attributes.enabled' => {
|
1897
|
-
:default
|
1898
|
-
:public
|
1899
|
-
:type
|
1913
|
+
:default => true,
|
1914
|
+
:public => true,
|
1915
|
+
:type => Boolean,
|
1900
1916
|
:allowed_from_server => false,
|
1901
1917
|
:description => 'If `true`, the agent captures attributes on transaction segments.'
|
1902
1918
|
},
|
1903
1919
|
:'attributes.exclude' => {
|
1904
|
-
:default
|
1905
|
-
:public
|
1906
|
-
:type
|
1920
|
+
:default => [],
|
1921
|
+
:public => true,
|
1922
|
+
:type => Array,
|
1907
1923
|
:allowed_from_server => false,
|
1908
|
-
:transform
|
1924
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1909
1925
|
:description => 'Prefix of attributes to exclude from all destinations. Allows `*` as wildcard at end.'
|
1910
1926
|
},
|
1911
1927
|
:'transaction_tracer.attributes.exclude' => {
|
1912
|
-
:default
|
1913
|
-
:public
|
1914
|
-
:type
|
1928
|
+
:default => [],
|
1929
|
+
:public => true,
|
1930
|
+
:type => Array,
|
1915
1931
|
:allowed_from_server => false,
|
1916
|
-
:transform
|
1932
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1917
1933
|
:description => 'Prefix of attributes to exclude from transaction traces. Allows `*` as wildcard at end.'
|
1918
1934
|
},
|
1919
1935
|
:'transaction_events.attributes.exclude' => {
|
1920
|
-
:default
|
1921
|
-
:public
|
1922
|
-
:type
|
1936
|
+
:default => [],
|
1937
|
+
:public => true,
|
1938
|
+
:type => Array,
|
1923
1939
|
:allowed_from_server => false,
|
1924
|
-
:transform
|
1940
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1925
1941
|
:description => 'Prefix of attributes to exclude from transaction events. Allows `*` as wildcard at end.'
|
1926
1942
|
},
|
1927
1943
|
:'error_collector.attributes.exclude' => {
|
1928
|
-
:default
|
1929
|
-
:public
|
1930
|
-
:type
|
1944
|
+
:default => [],
|
1945
|
+
:public => true,
|
1946
|
+
:type => Array,
|
1931
1947
|
:allowed_from_server => false,
|
1932
|
-
:transform
|
1948
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1933
1949
|
:description => 'Prefix of attributes to exclude from error collection. Allows `*` as wildcard at end.'
|
1934
1950
|
},
|
1935
1951
|
:'browser_monitoring.attributes.exclude' => {
|
1936
|
-
:default
|
1937
|
-
:public
|
1938
|
-
:type
|
1952
|
+
:default => [],
|
1953
|
+
:public => true,
|
1954
|
+
:type => Array,
|
1939
1955
|
:allowed_from_server => false,
|
1940
|
-
:transform
|
1956
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1941
1957
|
:description => 'Prefix of attributes to exclude from browser monitoring. Allows `*` as wildcard at end.'
|
1942
1958
|
},
|
1943
1959
|
:'span_events.attributes.exclude' => {
|
1944
|
-
:default
|
1945
|
-
:public
|
1946
|
-
:type
|
1960
|
+
:default => [],
|
1961
|
+
:public => true,
|
1962
|
+
:type => Array,
|
1947
1963
|
:allowed_from_server => false,
|
1948
|
-
:transform
|
1964
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1949
1965
|
:description => 'Prefix of attributes to exclude from span events. Allows `*` as wildcard at end.'
|
1950
1966
|
},
|
1951
1967
|
:'transaction_segments.attributes.exclude' => {
|
1952
|
-
:default
|
1953
|
-
:public
|
1954
|
-
:type
|
1968
|
+
:default => [],
|
1969
|
+
:public => true,
|
1970
|
+
:type => Array,
|
1955
1971
|
:allowed_from_server => false,
|
1956
|
-
:transform
|
1972
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1957
1973
|
:description => 'Prefix of attributes to exclude from transaction segments. Allows `*` as wildcard at end.'
|
1958
1974
|
},
|
1959
1975
|
:'attributes.include' => {
|
1960
|
-
:default
|
1961
|
-
:public
|
1962
|
-
:type
|
1976
|
+
:default => [],
|
1977
|
+
:public => true,
|
1978
|
+
:type => Array,
|
1963
1979
|
:allowed_from_server => false,
|
1964
|
-
:transform
|
1980
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1965
1981
|
:description => 'Prefix of attributes to include in all destinations. Allows `*` as wildcard at end.'
|
1966
1982
|
},
|
1967
1983
|
:'transaction_tracer.attributes.include' => {
|
1968
|
-
:default
|
1969
|
-
:public
|
1970
|
-
:type
|
1984
|
+
:default => [],
|
1985
|
+
:public => true,
|
1986
|
+
:type => Array,
|
1971
1987
|
:allowed_from_server => false,
|
1972
|
-
:transform
|
1988
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1973
1989
|
:description => 'Prefix of attributes to include in transaction traces. Allows `*` as wildcard at end.'
|
1974
1990
|
},
|
1975
1991
|
:'transaction_events.attributes.include' => {
|
1976
|
-
:default
|
1977
|
-
:public
|
1978
|
-
:type
|
1992
|
+
:default => [],
|
1993
|
+
:public => true,
|
1994
|
+
:type => Array,
|
1979
1995
|
:allowed_from_server => false,
|
1980
|
-
:transform
|
1996
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1981
1997
|
:description => 'Prefix of attributes to include in transaction events. Allows `*` as wildcard at end.'
|
1982
1998
|
},
|
1983
1999
|
:'error_collector.attributes.include' => {
|
1984
|
-
:default
|
1985
|
-
:public
|
1986
|
-
:type
|
2000
|
+
:default => [],
|
2001
|
+
:public => true,
|
2002
|
+
:type => Array,
|
1987
2003
|
:allowed_from_server => false,
|
1988
|
-
:transform
|
2004
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1989
2005
|
:description => 'Prefix of attributes to include in error collection. Allows `*` as wildcard at end.'
|
1990
2006
|
},
|
1991
2007
|
:'browser_monitoring.attributes.include' => {
|
1992
|
-
:default
|
1993
|
-
:public
|
1994
|
-
:type
|
2008
|
+
:default => [],
|
2009
|
+
:public => true,
|
2010
|
+
:type => Array,
|
1995
2011
|
:allowed_from_server => false,
|
1996
|
-
:transform
|
2012
|
+
:transform => DefaultSource.method(:convert_to_list),
|
1997
2013
|
:description => 'Prefix of attributes to include in browser monitoring. Allows `*` as wildcard at end.'
|
1998
2014
|
},
|
1999
2015
|
:'span_events.attributes.include' => {
|
2000
|
-
:default
|
2001
|
-
:public
|
2002
|
-
:type
|
2016
|
+
:default => [],
|
2017
|
+
:public => true,
|
2018
|
+
:type => Array,
|
2003
2019
|
:allowed_from_server => false,
|
2004
|
-
:transform
|
2020
|
+
:transform => DefaultSource.method(:convert_to_list),
|
2005
2021
|
:description => 'Prefix of attributes to include on span events. Allows `*` as wildcard at end.'
|
2006
2022
|
},
|
2007
2023
|
:'transaction_segments.attributes.include' => {
|
2008
|
-
:default
|
2009
|
-
:public
|
2010
|
-
:type
|
2024
|
+
:default => [],
|
2025
|
+
:public => true,
|
2026
|
+
:type => Array,
|
2011
2027
|
:allowed_from_server => false,
|
2012
|
-
:transform
|
2028
|
+
:transform => DefaultSource.method(:convert_to_list),
|
2013
2029
|
:description => 'Prefix of attributes to include on transaction segments. Allows `*` as wildcard at end.'
|
2014
2030
|
},
|
2015
2031
|
:'custom_attributes.enabled' => {
|
2016
|
-
:default
|
2017
|
-
:public
|
2018
|
-
:type
|
2032
|
+
:default => true,
|
2033
|
+
:public => true,
|
2034
|
+
:type => Boolean,
|
2019
2035
|
:allowed_from_server => false,
|
2020
2036
|
:description => 'If `false`, custom attributes will not be sent on Insights events.'
|
2021
2037
|
},
|
2022
2038
|
:'utilization.detect_aws' => {
|
2023
|
-
:default
|
2024
|
-
:public
|
2025
|
-
:type
|
2039
|
+
:default => true,
|
2040
|
+
:public => true,
|
2041
|
+
:type => Boolean,
|
2026
2042
|
:allowed_from_server => false,
|
2027
2043
|
:dynamic_name => true,
|
2028
2044
|
:description => 'If `true`, the agent automatically detects that it is running in an AWS environment.'
|
2029
2045
|
},
|
2030
2046
|
:'utilization.detect_azure' => {
|
2031
|
-
:default
|
2032
|
-
:public
|
2033
|
-
:type
|
2047
|
+
:default => true,
|
2048
|
+
:public => true,
|
2049
|
+
:type => Boolean,
|
2034
2050
|
:allowed_from_server => false,
|
2035
2051
|
:dynamic_name => true,
|
2036
|
-
:description
|
2052
|
+
:description => 'If `true`, the agent automatically detects that it is running in an Azure environment.'
|
2037
2053
|
},
|
2038
2054
|
:'utilization.detect_gcp' => {
|
2039
|
-
:default
|
2040
|
-
:public
|
2041
|
-
:type
|
2055
|
+
:default => true,
|
2056
|
+
:public => true,
|
2057
|
+
:type => Boolean,
|
2042
2058
|
:allowed_from_server => false,
|
2043
2059
|
:dynamic_name => true,
|
2044
2060
|
:description => 'If `true`, the agent automatically detects that it is running in an Google Cloud Platform environment.'
|
2045
2061
|
},
|
2046
2062
|
:'utilization.detect_pcf' => {
|
2047
|
-
:default
|
2048
|
-
:public
|
2049
|
-
:type
|
2063
|
+
:default => true,
|
2064
|
+
:public => true,
|
2065
|
+
:type => Boolean,
|
2050
2066
|
:allowed_from_server => false,
|
2051
2067
|
:dynamic_name => true,
|
2052
2068
|
:description => 'If `true`, the agent automatically detects that it is running in a Pivotal Cloud Foundry environment.'
|
2053
2069
|
},
|
2054
2070
|
:'utilization.detect_docker' => {
|
2055
|
-
:default
|
2056
|
-
:public
|
2057
|
-
:type
|
2071
|
+
:default => true,
|
2072
|
+
:public => true,
|
2073
|
+
:type => Boolean,
|
2058
2074
|
:allowed_from_server => false,
|
2059
2075
|
:description => 'If `true`, the agent automatically detects that it is running in Docker.'
|
2060
2076
|
},
|
2061
2077
|
:'utilization.detect_kubernetes' => {
|
2062
|
-
:default
|
2063
|
-
:public
|
2064
|
-
:type
|
2078
|
+
:default => true,
|
2079
|
+
:public => true,
|
2080
|
+
:type => Boolean,
|
2065
2081
|
:allowed_from_server => false,
|
2066
2082
|
:description => 'If `true`, the agent automatically detects that it is running in Kubernetes.'
|
2067
2083
|
},
|
2068
2084
|
:'utilization.billing_hostname' => {
|
2069
|
-
:default
|
2070
|
-
:allow_nil
|
2071
|
-
:public
|
2072
|
-
:type
|
2085
|
+
:default => nil,
|
2086
|
+
:allow_nil => true,
|
2087
|
+
:public => false,
|
2088
|
+
:type => String,
|
2073
2089
|
:allowed_from_server => false,
|
2074
2090
|
:description => 'The configured server name by a customer.'
|
2075
2091
|
},
|
2076
2092
|
:'utilization.logical_processors' => {
|
2077
|
-
:default
|
2078
|
-
:allow_nil
|
2079
|
-
:public
|
2080
|
-
:type
|
2093
|
+
:default => nil,
|
2094
|
+
:allow_nil => true,
|
2095
|
+
:public => false,
|
2096
|
+
:type => Integer,
|
2081
2097
|
:allowed_from_server => false,
|
2082
2098
|
:description => 'The total number of hyper-threaded execution contexts available.'
|
2083
2099
|
},
|
2084
2100
|
:'utilization.total_ram_mib' => {
|
2085
|
-
:default
|
2086
|
-
:allow_nil
|
2087
|
-
:public
|
2088
|
-
:type
|
2101
|
+
:default => nil,
|
2102
|
+
:allow_nil => true,
|
2103
|
+
:public => false,
|
2104
|
+
:type => Integer,
|
2089
2105
|
:allowed_from_server => false,
|
2090
2106
|
:description => 'This value represents the total amount of memory available to the host (not the process), in mebibytes (1024 squared or 1,048,576 bytes).'
|
2091
2107
|
},
|
2092
2108
|
:'datastore_tracer.instance_reporting.enabled' => {
|
2093
|
-
:default
|
2094
|
-
:public
|
2095
|
-
:type
|
2109
|
+
:default => true,
|
2110
|
+
:public => true,
|
2111
|
+
:type => Boolean,
|
2096
2112
|
:allowed_from_server => false,
|
2097
2113
|
:description => 'If `false`, the agent will not report datastore instance metrics, nor add `host` or `port_path_or_id` parameters to transaction or slow SQL traces.'
|
2098
2114
|
},
|
2099
2115
|
:'datastore_tracer.database_name_reporting.enabled' => {
|
2100
|
-
:default
|
2101
|
-
:public
|
2102
|
-
:type
|
2116
|
+
:default => true,
|
2117
|
+
:public => true,
|
2118
|
+
:type => Boolean,
|
2103
2119
|
:allowed_from_server => false,
|
2104
2120
|
:description => 'If `false`, the agent will not add `database_name` parameter to transaction or slow sql traces.'
|
2105
2121
|
},
|
2106
2122
|
:'clear_transaction_state_after_fork' => {
|
2107
|
-
:default
|
2108
|
-
:public
|
2109
|
-
:type
|
2123
|
+
:default => false,
|
2124
|
+
:public => true,
|
2125
|
+
:type => Boolean,
|
2110
2126
|
:allowed_from_server => false,
|
2111
2127
|
:description => 'If `true`, the agent will clear `Tracer::State` in `Agent.drop_buffered_data`.'
|
2112
2128
|
},
|
@@ -2127,9 +2143,9 @@ module NewRelic
|
|
2127
2143
|
:description => 'The primary id associated with this application.'
|
2128
2144
|
},
|
2129
2145
|
:'distributed_tracing.enabled' => {
|
2130
|
-
:default
|
2131
|
-
:public
|
2132
|
-
:type
|
2146
|
+
:default => true,
|
2147
|
+
:public => true,
|
2148
|
+
:type => Boolean,
|
2133
2149
|
:allowed_from_server => true,
|
2134
2150
|
:description => 'Distributed tracing lets you see the path that a request takes through your distributed system. Enabling distributed tracing changes the behavior of some New Relic features, so carefully consult the [transition guide](/docs/transition-guide-distributed-tracing) before you enable this feature.'
|
2135
2151
|
},
|
@@ -2171,7 +2187,7 @@ module NewRelic
|
|
2171
2187
|
:description => "Sets the maximum number of span events to buffer when streaming to the trace observer."
|
2172
2188
|
},
|
2173
2189
|
:'span_events.max_samples_stored' => {
|
2174
|
-
:default =>
|
2190
|
+
:default => 2000,
|
2175
2191
|
:public => true,
|
2176
2192
|
:type => Integer,
|
2177
2193
|
:allowed_from_server => true,
|