newrelic_rpm 9.2.2 → 9.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/.build_ignore +26 -0
  3. data/CHANGELOG.md +70 -0
  4. data/README.md +4 -4
  5. data/lib/new_relic/agent/configuration/default_source.rb +77 -29
  6. data/lib/new_relic/agent/configuration/manager.rb +3 -2
  7. data/lib/new_relic/agent/configuration/yaml_source.rb +13 -0
  8. data/lib/new_relic/agent/distributed_tracing.rb +1 -1
  9. data/lib/new_relic/agent/instrumentation/active_record.rb +1 -1
  10. data/lib/new_relic/agent/instrumentation/active_record_notifications.rb +2 -1
  11. data/lib/new_relic/agent/instrumentation/concurrent_ruby/chain.rb +1 -1
  12. data/lib/new_relic/agent/instrumentation/concurrent_ruby/instrumentation.rb +1 -2
  13. data/lib/new_relic/agent/instrumentation/concurrent_ruby/prepend.rb +1 -1
  14. data/lib/new_relic/agent/instrumentation/fiber/chain.rb +10 -3
  15. data/lib/new_relic/agent/instrumentation/fiber/instrumentation.rb +1 -2
  16. data/lib/new_relic/agent/instrumentation/fiber/prepend.rb +10 -3
  17. data/lib/new_relic/agent/instrumentation/memcache/instrumentation.rb +3 -3
  18. data/lib/new_relic/agent/instrumentation/rails_notifications/action_cable.rb +1 -1
  19. data/lib/new_relic/agent/instrumentation/thread/chain.rb +1 -1
  20. data/lib/new_relic/agent/instrumentation/thread/instrumentation.rb +0 -1
  21. data/lib/new_relic/agent/instrumentation/thread/prepend.rb +1 -1
  22. data/lib/new_relic/agent/log_event_aggregator.rb +49 -2
  23. data/lib/new_relic/agent/log_event_attributes.rb +115 -0
  24. data/lib/new_relic/agent/logging.rb +4 -4
  25. data/lib/new_relic/agent/method_tracer_helpers.rb +26 -5
  26. data/lib/new_relic/agent/tracer.rb +2 -2
  27. data/lib/new_relic/agent.rb +38 -1
  28. data/lib/new_relic/cli/command.rb +1 -0
  29. data/lib/new_relic/dependency_detection.rb +6 -0
  30. data/lib/new_relic/latest_changes.rb +1 -1
  31. data/lib/new_relic/rack/browser_monitoring.rb +1 -1
  32. data/lib/new_relic/supportability_helper.rb +1 -0
  33. data/lib/new_relic/traced_thread.rb +2 -3
  34. data/lib/new_relic/version.rb +2 -2
  35. data/lib/sequel/extensions/new_relic_instrumentation.rb +1 -1
  36. data/lib/tasks/bump_version.rake +21 -0
  37. data/lib/tasks/helpers/newrelicyml.rb +144 -0
  38. data/lib/tasks/helpers/version_bump.rb +62 -0
  39. data/lib/tasks/newrelicyml.rake +13 -0
  40. data/newrelic.yml +307 -266
  41. data/newrelic_rpm.gemspec +10 -7
  42. metadata +13 -25
  43. data/.gitignore +0 -43
  44. data/.project +0 -23
  45. data/.rubocop.yml +0 -1845
  46. data/.rubocop_todo.yml +0 -61
  47. data/.simplecov +0 -16
  48. data/.snyk +0 -11
  49. data/.yardopts +0 -27
  50. data/Brewfile +0 -13
  51. data/DOCKER.md +0 -167
  52. data/Dockerfile +0 -10
  53. data/Guardfile +0 -27
  54. data/config/database.yml +0 -5
  55. data/config.dot +0 -278
  56. data/docker-compose.yml +0 -107
  57. data/lefthook.yml +0 -9
  58. data/lib/tasks/helpers/removers.rb +0 -33
  59. data/lib/tasks/multiverse.rake +0 -6
  60. data/lib/tasks/multiverse.rb +0 -84
data/newrelic.yml CHANGED
@@ -26,49 +26,65 @@ common: &default_settings
26
26
  # All of the following configuration options are optional. Review them, and
27
27
  # uncomment or edit them if they appear relevant to your application needs.
28
28
 
29
- # An array of ActiveSupport custom events names to subscribe to and provide
30
- # instrumentation for. For example,
31
- # - my.custom.event
32
- # - another.event
33
- # - a.third.event
34
- # active_support_custom_events_names: ""
35
-
36
- # If `true`, all logging-related features for the agent can be enabled or disabled
37
- # independently. If `false`, all logging-related features are disabled.
29
+ # An array of ActiveSupport custom event names to subscribe to and instrument. For
30
+ # example,
31
+ # - one.custom.event
32
+ # - another.event
33
+ # - a.third.event
34
+ # active_support_custom_events_names: []
35
+
36
+ # Your New Relic userKey. Required when using the New Relic REST API v2 to record
37
+ # deployments using the newrelic deployments command.
38
+ # api_key: ""
39
+
40
+ # If true, enables log decoration and the collection of log events and metrics.
38
41
  # application_logging.enabled: true
39
42
 
40
- # If `true`, the agent captures log records emitted by this application.
43
+ # A hash with key/value pairs to add as custom attributes to all log events
44
+ # forwarded to New Relic. If sending using an environment variable, the value must
45
+ # be formatted like: "key1=value1,key2=value2"
46
+ # application_logging.forwarding.custom_attributes: {}
47
+
48
+ # If true, the agent captures log records emitted by your application.
41
49
  # application_logging.forwarding.enabled: true
42
50
 
51
+ # Sets the minimum level a log event must have to be forwarded to New Relic.
52
+ # This is based on the integer values of Ruby's Logger::Severity constants:
53
+ # https://github.com/ruby/ruby/blob/master/lib/logger/severity.rb
54
+ # The intention is to forward logs with the level given to the configuration, as
55
+ # well as any logs with a higher level of severity.
56
+ # For example, setting this value to "debug" will forward all log events to New
57
+ # Relic. Setting this value to "error" will only forward log events with the
58
+ # levels "error", "fatal", and "unknown".
59
+ # Valid values (ordered lowest to highest):
60
+ # * "debug"
61
+ # * "info"
62
+ # * "warn"
63
+ # * "error"
64
+ # * "fatal"
65
+ # * "unknown"
66
+ # application_logging.forwarding.log_level: debug
67
+
43
68
  # Defines the maximum number of log records to buffer in memory at a time.
44
69
  # application_logging.forwarding.max_samples_stored: 10000
45
70
 
46
- # If `true`, the agent captures metrics related to logging for this application.
47
- # application_logging.metrics.enabled: true
48
-
49
- # If `true`, the agent decorates logs with metadata to link to entities, hosts, traces, and spans.
71
+ # If true, the agent decorates logs with metadata to link to entities, hosts,
72
+ # traces, and spans.
50
73
  # application_logging.local_decorating.enabled: false
51
74
 
52
- # If `true`, the agent will report source code level metrics for traced methods
53
- # see: https://docs.newrelic.com/docs/apm/agents/ruby-agent/features/ruby-codestream-integration/
54
- # code_level_metrics.enabled: true
55
-
56
- # If true, enables transaction event sampling.
57
- # transaction_events.enabled: true
75
+ # If true, the agent captures metrics related to logging for your application.
76
+ # application_logging.metrics.enabled: true
58
77
 
59
- # Defines the maximum number of request events reported from a single harvest.
60
- # transaction_events.max_samples_stored: 1200
78
+ # If true, enables capture of attributes for all destinations.
79
+ # attributes.enabled: true
61
80
 
62
81
  # Prefix of attributes to exclude from all destinations. Allows * as wildcard at
63
82
  # end.
64
- # attributes_exclude: []
83
+ # attributes.exclude: []
65
84
 
66
85
  # Prefix of attributes to include in all destinations. Allows * as wildcard at
67
86
  # end.
68
- # attributes_include: []
69
-
70
- # If true, enables capture of attributes for all destinations.
71
- # attributes.enabled: true
87
+ # attributes.include: []
72
88
 
73
89
  # If true, enables an audit log which logs communications with the New Relic
74
90
  # collector.
@@ -78,39 +94,39 @@ common: &default_settings
78
94
  # audit_log.endpoints: [".*"]
79
95
 
80
96
  # Specifies a path to the audit log file (including the filename).
81
- # audit_log.path: "/audit_log"
97
+ # audit_log.path: log/newrelic_audit.log
82
98
 
83
99
  # Specify a list of constants that should prevent the agent from starting
84
- # automatically. Separate individual constants with a comma ,.
85
- # For example, Rails::Console,UninstrumentedBackgroundJob.
86
- # autostart.denylisted_constants: "rails::console"
100
+ # automatically. Separate individual constants with a comma ,. For example,
101
+ # "Rails::Console,UninstrumentedBackgroundJob".
102
+ # autostart.denylisted_constants: Rails::Console
87
103
 
88
104
  # Defines a comma-delimited list of executables that the agent should not
89
- # instrument. For example, rake,my_ruby_script.rb.
90
- # autostart.denylisted_executables: "irb,rspec"
105
+ # instrument. For example, "rake,my_ruby_script.rb".
106
+ # autostart.denylisted_executables: irb,rspec
91
107
 
92
108
  # Defines a comma-delimited list of Rake tasks that the agent should not
93
- # instrument. For example, assets:precompile,db:migrate.
94
- # autostart.denylisted_rake_tasks: "about,assets:clean,assets:clobber,assets:environment,assets:precompile,assets:precompile:all,db:create,db:drop,db:fixtures:load,db:migrate,db:migrate:status,db:rollback,db:schema:cache:clear,db:schema:cache:dump,db:schema:dump,db:schema:load,db:seed,db:setup,db:structure:dump,db:version,doc:app,log:clear,middleware,notes,notes:custom,rails:template,rails:update,routes,secret,spec,spec:features,spec:requests,spec:controllers,spec:helpers,spec:models,spec:views,spec:routing,spec:rcov,stats,test,test:all,test:all:db,test:recent,test:single,test:uncommitted,time:zones:all,tmp:clear,tmp:create,webpacker:compile"
109
+ # instrument. For example, "assets:precompile,db:migrate".
110
+ # autostart.denylisted_rake_tasks: about,assets:clean,assets:clobber,assets:environment,assets:precompile,assets:precompile:all,db:create,db:drop,db:fixtures:load,db:migrate,db:migrate:status,db:rollback,db:schema:cache:clear,db:schema:cache:dump,db:schema:dump,db:schema:load,db:seed,db:setup,db:structure:dump,db:version,doc:app,log:clear,middleware,notes,notes:custom,rails:template,rails:update,routes,secret,spec,spec:features,spec:requests,spec:controllers,spec:helpers,spec:models,spec:views,spec:routing,spec:rcov,stats,test,test:all,test:all:db,test:recent,test:single,test:uncommitted,time:zones:all,tmp:clear,tmp:create,webpacker:compile
95
111
 
96
- # Backports the faster Active Record connection lookup introduced in Rails 6,
97
- # which improves agent performance when instrumenting Active Record. Note that
98
- # this setting may not be compatible with other gems that patch Active Record.
112
+ # Backports the faster ActiveRecord connection lookup introduced in Rails 6, which
113
+ # improves agent performance when instrumenting ActiveRecord. Note that this
114
+ # setting may not be compatible with other gems that patch ActiveRecord.
99
115
  # backport_fast_active_record_connection_lookup: false
100
116
 
101
117
  # If true, the agent captures attributes from browser monitoring.
102
118
  # browser_monitoring.attributes.enabled: false
103
119
 
104
- # Prefix of attributes to exclude from browser monitoring. Allows * as wildcard
105
- # at end.
120
+ # Prefix of attributes to exclude from browser monitoring. Allows * as wildcard at
121
+ # end.
106
122
  # browser_monitoring.attributes.exclude: []
107
123
 
108
124
  # Prefix of attributes to include in browser monitoring. Allows * as wildcard at
109
125
  # end.
110
126
  # browser_monitoring.attributes.include: []
111
127
 
112
- # This is true by default, this enables auto-injection of the JavaScript header
113
- # for page load timing (sometimes referred to as real user monitoring or RUM).
128
+ # If true, enables auto-injection of the JavaScript header for page load timing
129
+ # (sometimes referred to as real user monitoring or RUM).
114
130
  # browser_monitoring.auto_instrument: true
115
131
 
116
132
  # Manual override for the path to your local CA bundle. This CA bundle will be
@@ -122,55 +138,61 @@ common: &default_settings
122
138
  # capture_memcache_keys: false
123
139
 
124
140
  # When true, the agent captures HTTP request parameters and attaches them to
125
- # transaction traces, traced errors, and TransactionError events. When using the
126
- # capture_params setting, the Ruby agent will not attempt to filter secret
127
- # information. Recommendation: To filter secret information from request
128
- # parameters,use the attributes.include setting instead. For more information,
141
+ # transaction traces, traced errors, and TransactionError events.
142
+ # When using the capture_params setting, the Ruby agent will not attempt to filter
143
+ # secret information. Recommendation: To filter secret information from request
144
+ # parameters, use the attributes.include setting instead. For more information,
129
145
  # see the Ruby attribute examples.
130
146
  # capture_params: false
131
147
 
132
148
  # If true, the agent will clear Tracer::State in Agent.drop_buffered_data.
133
149
  # clear_transaction_state_after_fork: false
134
150
 
151
+ # If true, the agent will report source code level metrics for traced methods.
152
+ # see:
153
+ # https://docs.newrelic.com/docs/apm/agents/ruby-agent/features/ruby-codestream-integration/
154
+ # code_level_metrics.enabled: true
155
+
135
156
  # Path to newrelic.yml. If undefined, the agent checks the following directories
136
- # (in order): config/newrelic.yml, newrelic.yml, $HOME/.newrelic/newrelic.yml
137
- # and $HOME/newrelic.yml.
157
+ # (in order):
158
+ # * config/newrelic.yml
159
+ # * newrelic.yml
160
+ # * $HOME/.newrelic/newrelic.yml
161
+ # * $HOME/newrelic.yml
138
162
  # config_path: newrelic.yml
139
163
 
140
- # If true, enables cross application tracing. Cross application tracing is now
141
- # deprecated, and disabled by default. Distributed tracing is replacing cross
142
- # application tracing as the default means of tracing between services.
143
- # To continue using it, set `cross_application_tracer.enabled: true` and
144
- # `distributed_tracing.enabled: false`
145
- # cross_application_tracer.enabled: false
146
-
147
- # If false, custom attributes will not be sent on New Relic Insights events.
164
+ # If false, custom attributes will not be sent on events.
148
165
  # custom_attributes.enabled: true
149
166
 
150
- # If true, the agent captures New Relic Insights custom events.
167
+ # If true, the agent captures custom events.
151
168
  # custom_insights_events.enabled: true
152
169
 
153
- # Specify a maximum number of custom Insights events to buffer in memory at a
154
- # time.
170
+ # Specify a maximum number of custom events to buffer in memory at a time.
155
171
  # custom_insights_events.max_samples_stored: 3000
156
172
 
157
- # If false, the agent will not add database_name parameter to transaction or #
158
- # slow sql traces.
173
+ # If false, the agent will not add database_name parameter to transaction or slow
174
+ # sql traces.
159
175
  # datastore_tracer.database_name_reporting.enabled: true
160
176
 
161
- # If false, the agent will not report datastore instance metrics, nor add host
162
- # or port_path_or_id parameters to transaction or slow SQL traces.
177
+ # If false, the agent will not report datastore instance metrics, nor add host or
178
+ # port_path_or_id parameters to transaction or slow SQL traces.
163
179
  # datastore_tracer.instance_reporting.enabled: true
164
180
 
165
181
  # If true, disables Action Cable instrumentation.
166
182
  # disable_action_cable_instrumentation: false
167
183
 
184
+ # If true, disables Action Controller instrumentation.
185
+ # disable_action_controller: false
186
+
168
187
  # If true, disables Action Mailbox instrumentation.
169
188
  # disable_action_mailbox: false
170
189
 
171
190
  # If true, disables Action Mailer instrumentation.
172
191
  # disable_action_mailer: false
173
192
 
193
+ # If true, disables Active Record instrumentation.
194
+ # disable_active_record_instrumentation: false
195
+
174
196
  # If true, disables instrumentation for Active Record 4+
175
197
  # disable_active_record_notifications: false
176
198
 
@@ -183,15 +205,9 @@ common: &default_settings
183
205
  # If true, disables Active Job instrumentation.
184
206
  # disable_activejob: false
185
207
 
186
- # If true, disables Active Record instrumentation.
187
- # disable_active_record_instrumentation: false
188
-
189
208
  # If true, the agent won't sample the CPU usage of the host process.
190
209
  # disable_cpu_sampler: false
191
210
 
192
- # If true, disables ActiveSupport custom events instrumentation.
193
- # disable_custom_events_instrumentation: false
194
-
195
211
  # If true, the agent won't measure the depth of Delayed Job queues.
196
212
  # disable_delayed_job_sampler: false
197
213
 
@@ -206,8 +222,8 @@ common: &default_settings
206
222
  # (regardless of whether they are installed via Rack::Builder or Rails).
207
223
  # disable_middleware_instrumentation: false
208
224
 
209
- # If true, disables the collection of sampler metrics. Sampler metrics are
210
- # metrics that are not event-based (such as CPU time or memory usage).
225
+ # If true, disables the collection of sampler metrics. Sampler metrics are metrics
226
+ # that are not event-based (such as CPU time or memory usage).
211
227
  # disable_samplers: false
212
228
 
213
229
  # If true, disables Sequel instrumentation.
@@ -217,8 +233,20 @@ common: &default_settings
217
233
  # disable_sidekiq: false
218
234
 
219
235
  # If true, disables agent middleware for Sinatra. This middleware is responsible
220
- # for advanced feature support such as distributed tracing, page load
236
+ # for advanced feature support such as cross application tracing, page load
221
237
  # timing, and error collection.
238
+ # Cross application tracing is deprecated in favor of distributed tracing.
239
+ # Distributed tracing is on by default for Ruby agent versions 8.0.0 and above.
240
+ # Middlewares are not required to support distributed tracing.
241
+ # To continue using cross application tracing, update the following options in
242
+ # your newrelic.yml configuration file:
243
+ # ``yaml
244
+ # # newrelic.yml
245
+ # cross_application_tracer:
246
+ # enabled: true
247
+ # distributed_tracing:
248
+ # enabled: false
249
+ # ``
222
250
  # disable_sinatra_auto_middleware: false
223
251
 
224
252
  # If true, disables view instrumentation.
@@ -227,19 +255,27 @@ common: &default_settings
227
255
  # If true, the agent won't sample performance measurements from the Ruby VM.
228
256
  # disable_vm_sampler: false
229
257
 
230
- # Distributed tracing tracks and observes service requests as they flow through distributed systems.
231
- # With distributed tracing data, you can quickly pinpoint failures or performance issues and fix them.
258
+ # Distributed tracing lets you see the path that a request takes through your
259
+ # distributed system. Enabling distributed tracing changes the behavior of some
260
+ # New Relic features, so carefully consult the transition guide before you enable
261
+ # this feature.
232
262
  # distributed_tracing.enabled: true
233
263
 
264
+ # If true, the agent captures Elasticsearch queries in transaction traces.
265
+ # elasticsearch.capture_queries: true
266
+
267
+ # If true, the agent obfuscates Elasticsearch queries in transaction traces.
268
+ # elasticsearch.obfuscate_queries: true
269
+
234
270
  # If true, the agent captures attributes from error collection.
235
- # error_collector.attributes.enabled: false
271
+ # error_collector.attributes.enabled: true
236
272
 
237
- # Prefix of attributes to exclude from error collection.
238
- # Allows * as wildcard at end.
273
+ # Prefix of attributes to exclude from error collection. Allows * as wildcard at
274
+ # end.
239
275
  # error_collector.attributes.exclude: []
240
276
 
241
- # Prefix of attributes to include in error collection.
242
- # Allows * as wildcard at end.
277
+ # Prefix of attributes to include in error collection. Allows * as wildcard at
278
+ # end.
243
279
  # error_collector.attributes.include: []
244
280
 
245
281
  # If true, the agent collects TransactionError events.
@@ -249,11 +285,13 @@ common: &default_settings
249
285
  # error_collector.enabled: true
250
286
 
251
287
  # A list of error classes that the agent should treat as expected.
288
+ # This option can't be set via environment variable.
252
289
  # error_collector.expected_classes: []
253
290
 
254
291
  # A map of error classes to a list of messages. When an error of one of the
255
- # classes specified here occurs, if its error message contains one of the
256
- # strings corresponding to it here, that error will be treated as expected.
292
+ # classes specified here occurs, if its error message contains one of the strings
293
+ # corresponding to it here, that error will be treated as expected.
294
+ # This option can't be set via environment variable.
257
295
  # error_collector.expected_messages: {}
258
296
 
259
297
  # A comma separated list of status codes, possibly including ranges. Errors
@@ -262,216 +300,217 @@ common: &default_settings
262
300
  # error_collector.expected_status_codes: ""
263
301
 
264
302
  # A list of error classes that the agent should ignore.
265
- # error_collector.ignore_classes: []
303
+ # This option can't be set via environment variable.
304
+ # error_collector.ignore_classes: ["ActionController::RoutingError", "Sinatra::NotFound"]
266
305
 
267
306
  # A map of error classes to a list of messages. When an error of one of the
268
- # classes specified here occurs, if its error message contains one of the
269
- # strings corresponding to it here, that error will be ignored.
270
- # error_collector.ignore_messages: ""
307
+ # classes specified here occurs, if its error message contains one of the strings
308
+ # corresponding to it here, that error will be ignored.
309
+ # This option can't be set via environment variable.
310
+ # error_collector.ignore_messages: {}
271
311
 
272
312
  # A comma separated list of status codes, possibly including ranges. Errors
273
313
  # associated with these status codes, where applicable, will be ignored.
274
314
  # error_collector.ignore_status_codes: ""
275
315
 
276
- # Defines the maximum number of frames in an error backtrace. Backtraces over
277
- # this amount are truncated at the beginning and end.
316
+ # Defines the maximum number of frames in an error backtrace. Backtraces over this
317
+ # amount are truncated at the beginning and end.
278
318
  # error_collector.max_backtrace_frames: 50
279
319
 
280
- # Defines the maximum number of TransactionError events sent to Insights per
281
- # harvest cycle.
320
+ # Defines the maximum number of TransactionError events reported per harvest
321
+ # cycle.
282
322
  # error_collector.max_event_samples_stored: 100
283
323
 
284
324
  # Allows newrelic distributed tracing headers to be suppressed on outbound
285
325
  # requests.
286
326
  # exclude_newrelic_header: false
287
327
 
288
- # Forces the exit handler that sends all cached data to collector before
289
- # shutting down to be installed regardless of detecting scenarios where it
290
- # generally should not be. Known use-case for this option is where Sinatra is
291
- # running as an embedded service within another framework and the agent is
292
- # detecting the Sinatra app and skipping the at_exit handler as a result.
293
- # Sinatra classically runs the entire application in an at_exit block and would
294
- # otherwise misbehave if the Agent's at_exit handler was also installed in
295
- # those circumstances. Note: send_data_on_exit should also be set to true in
296
- # tandem with this setting.
328
+ # Forces the exit handler that sends all cached data to collector before shutting
329
+ # down to be installed regardless of detecting scenarios where it generally should
330
+ # not be. Known use-case for this option is where Sinatra is running as an
331
+ # embedded service within another framework and the agent is detecting the Sinatra
332
+ # app and skipping the at_exit handler as a result. Sinatra classically runs the
333
+ # entire application in an at_exit block and would otherwise misbehave if the
334
+ # Agent's at_exit handler was also installed in those circumstances. Note:
335
+ # send_data_on_exit should also be set to true in tandem with this setting.
297
336
  # force_install_exit_handler: false
298
337
 
299
- # Ordinarily the agent reports dyno names with a trailing dot and process ID
300
- # (for example, worker.3). You can remove this trailing data by specifying the
301
- # prefixes you want to report without trailing data (for example, worker).
338
+ # Ordinarily the agent reports dyno names with a trailing dot and process ID (for
339
+ # example, worker.3). You can remove this trailing data by specifying the prefixes
340
+ # you want to report without trailing data (for example, worker).
302
341
  # heroku.dyno_name_prefixes_to_shorten: ["scheduler", "run"]
303
342
 
304
343
  # If true, the agent uses Heroku dyno names as the hostname.
305
344
  # heroku.use_dyno_names: true
306
345
 
307
- # If true, enables high security mode. Ensure that you understand the
308
- # implication of enabling high security mode before enabling this setting.
309
- # https://docs.newrelic.com/docs/agents/manage-apm-agents/configuration/high-security-mode/
346
+ # If true, enables high security mode. Ensure you understand the implications of
347
+ # high security mode before enabling this setting.
310
348
  # high_security: false
311
349
 
312
- # Configures the hostname for the Trace Observer Host. When configured, enables
313
- # tail-based sampling by sending all recorded spans to a Trace Observer for
350
+ # If true (the default), data sent to the trace observer is batched instead of
351
+ # sending each span individually.
352
+ # infinite_tracing.batching: true
353
+
354
+ # Configure the compression level for data sent to the trace observer.
355
+ # May be one of: :none, :low, :medium, :high.
356
+ # Set the level to :none to disable compression.
357
+ # infinite_tracing.compression_level: high
358
+
359
+ # Configures the hostname for the trace observer Host. When configured, enables
360
+ # tail-based sampling by sending all recorded spans to a trace observer for
314
361
  # further sampling decisions, irrespective of any usual agent sampling decision.
315
362
  # infinite_tracing.trace_observer.host: ""
316
363
 
317
- # Configures the TCP/IP port for the Trace Observer Host
364
+ # Configures the TCP/IP port for the trace observer Host
318
365
  # infinite_tracing.trace_observer.port: 443
319
366
 
320
- # Configure the compression level for data sent to the Trace Observer
321
- # May be one of [none|low|medium|high]
322
- # 'high' is the default. Set the level to 'none' to disable compression
323
- # infinite_tracing.compression_level: high
367
+ # Controls auto-instrumentation of ActiveSupport::Logger at start up. May be one
368
+ # of: auto, prepend, chain, disabled.
369
+ # instrumentation.active_support_logger: auto
324
370
 
325
- # If true (the default), data sent to the Trace Observer will be batched
326
- # instead of each span being sent individually
327
- # infinite_tracing.batching: true
328
-
329
- # Controls auto-instrumentation of bunny at start up.
330
- # May be one of [auto|prepend|chain|disabled].
371
+ # Controls auto-instrumentation of bunny at start up. May be one of: auto,
372
+ # prepend, chain, disabled.
331
373
  # instrumentation.bunny: auto
332
374
 
333
- # Controls auto-instrumentation of Fiber at start up.
334
- # May be one of [auto|prepend|chain|disabled]
335
- # instrumentation.fiber: auto
336
-
337
- # Controls auto-instrumentation of concurrent_ruby at start up.
338
- # May be one of [auto|prepend|chain|disabled]
375
+ # Controls auto-instrumentation of the concurrent-ruby library at start up. May be
376
+ # one of: auto, prepend, chain, disabled.
339
377
  # instrumentation.concurrent_ruby: auto
340
378
 
341
- # Controls auto-instrumentation of Curb at start up.
342
- # May be one of [auto|prepend|chain|disabled].
379
+ # Controls auto-instrumentation of Curb at start up. May be one of: auto, prepend,
380
+ # chain, disabled.
343
381
  # instrumentation.curb: auto
344
382
 
345
- # Controls auto-instrumentation of Delayed Job at start up.
346
- # May be one of [auto|prepend|chain|disabled].
383
+ # Controls auto-instrumentation of Delayed Job at start up. May be one of: auto,
384
+ # prepend, chain, disabled.
347
385
  # instrumentation.delayed_job: auto
348
386
 
349
- # Controls auto-instrumentation of the elasticsearch library at start up.
350
- # May be one of [auto|prepend|chain|disabled].
387
+ # Controls auto-instrumentation of the elasticsearch library at start up. May be
388
+ # one of: auto, prepend, chain, disabled.
351
389
  # instrumentation.elasticsearch: auto
352
390
 
353
- # Controls auto-instrumentation of Excon at start up.
354
- # May be one of [enabled|disabled].
391
+ # Controls auto-instrumentation of Excon at start up. May be one of: enabled,
392
+ # disabled.
355
393
  # instrumentation.excon: enabled
356
394
 
357
- # Controls auto-instrumentation of Grape at start up.
358
- # May be one of [auto|prepend|chain|disabled].
395
+ # Controls auto-instrumentation of the Fiber class at start up. May be one of:
396
+ # auto, prepend, chain, disabled.
397
+ # instrumentation.fiber: auto
398
+
399
+ # Controls auto-instrumentation of Grape at start up. May be one of: auto,
400
+ # prepend, chain, disabled.
359
401
  # instrumentation.grape: auto
360
402
 
361
- # Controls auto-instrumentation of HTTPClient at start up.
362
- # May be one of [auto|prepend|chain|disabled].
403
+ # Specifies a list of hostname patterns separated by commas that will match gRPC
404
+ # hostnames that traffic is to be ignored by New Relic for. New Relic's gRPC
405
+ # client instrumentation will ignore traffic streamed to a host matching any of
406
+ # these patterns, and New Relic's gRPC server instrumentation will ignore traffic
407
+ # for a server running on a host whose hostname matches any of these patterns. By
408
+ # default, no traffic is ignored when gRPC instrumentation is itself enabled. For
409
+ # example, "private.com$,exception.*"
410
+ # instrumentation.grpc.host_denylist: []
411
+
412
+ # Controls auto-instrumentation of gRPC clients at start up. May be one of: auto,
413
+ # prepend, chain, disabled.
414
+ # instrumentation.grpc_client: auto
415
+
416
+ # Controls auto-instrumentation of gRPC servers at start up. May be one of: auto,
417
+ # prepend, chain, disabled.
418
+ # instrumentation.grpc_server: auto
419
+
420
+ # Controls auto-instrumentation of HTTPClient at start up. May be one of: auto,
421
+ # prepend, chain, disabled.
363
422
  # instrumentation.httpclient: auto
364
423
 
365
- # Controls auto-instrumentation of http.rb gem at start up.
366
- # May be one of [auto|prepend|chain|disabled].
424
+ # Controls auto-instrumentation of http.rb gem at start up. May be one of: auto,
425
+ # prepend, chain, disabled.
367
426
  # instrumentation.httprb: auto
368
427
 
369
- # Controls auto-instrumentation of the Ruby standard library Logger.rb.
370
- # May be one of [auto|prepend|chain|disabled].
428
+ # Controls auto-instrumentation of Ruby standard library Logger at start up. May
429
+ # be one of: auto, prepend, chain, disabled.
371
430
  # instrumentation.logger: auto
372
431
 
373
- # Controls auto-instrumentation of ActiveSupport::Logger at start up.
374
- # May be one of [auto|prepend|chain|disabled].
375
- # instrumentation.active_support.logger: auto
432
+ # Controls auto-instrumentation of dalli gem for Memcache at start up. May be one
433
+ # of: auto, prepend, chain, disabled.
434
+ # instrumentation.memcache: auto
376
435
 
377
436
  # Controls auto-instrumentation of memcache-client gem for Memcache at start up.
378
- # May be one of [auto|prepend|chain|disabled].
437
+ # May be one of: auto, prepend, chain, disabled.
379
438
  # instrumentation.memcache_client: auto
380
439
 
381
- # Controls auto-instrumentation of dalli gem for Memcache at start up.
382
- # May be one of [auto|prepend|chain|disabled].
383
- # instrumentation.memcache: auto
384
-
385
- # Controls auto-instrumentation of memcached gem for Memcache at start up.
386
- # May be one of [auto|prepend|chain|disabled].
440
+ # Controls auto-instrumentation of memcached gem for Memcache at start up. May be
441
+ # one of: auto, prepend, chain, disabled.
387
442
  # instrumentation.memcached: auto
388
443
 
389
- # Controls auto-instrumentation of Mongo at start up.
390
- # May be one of [enabled|disabled].
444
+ # Controls auto-instrumentation of Mongo at start up. May be one of: enabled,
445
+ # disabled.
391
446
  # instrumentation.mongo: enabled
392
447
 
393
- # Controls auto-instrumentation of Net::HTTP at start up.
394
- # May be one of [auto|prepend|chain|disabled].
448
+ # Controls auto-instrumentation of Net::HTTP at start up. May be one of: auto,
449
+ # prepend, chain, disabled.
395
450
  # instrumentation.net_http: auto
396
451
 
397
- # Controls auto-instrumentation of Puma::Rack::URLMap at start up.
398
- # May be one of [auto|prepend|chain|disabled].
399
- # instrumentation.puma_rack_urlmap: auto
400
-
401
- # Controls auto-instrumentation of Puma::Rack. When enabled, the agent hooks
402
- # into the to_app method in Puma::Rack::Builder to find gems to instrument
403
- # during application startup. May be one of [auto|prepend|chain|disabled].
452
+ # Controls auto-instrumentation of Puma::Rack. When enabled, the agent hooks into
453
+ # the to_app method in Puma::Rack::Builder to find gems to instrument during
454
+ # application startup. May be one of: auto, prepend, chain, disabled.
404
455
  # instrumentation.puma_rack: auto
405
456
 
406
- # Controls auto-instrumentation of Rack::URLMap at start up.
407
- # May be one of [auto|prepend|chain|disabled].
408
- # instrumentation.rack_urlmap: auto
457
+ # Controls auto-instrumentation of Puma::Rack::URLMap at start up. May be one of:
458
+ # auto, prepend, chain, disabled.
459
+ # instrumentation.puma_rack_urlmap: auto
409
460
 
410
461
  # Controls auto-instrumentation of Rack. When enabled, the agent hooks into the
411
462
  # to_app method in Rack::Builder to find gems to instrument during application
412
- # startup. May be one of [auto|prepend|chain|disabled].
463
+ # startup. May be one of: auto, prepend, chain, disabled.
413
464
  # instrumentation.rack: auto
414
465
 
415
- # Controls auto-instrumentation of rake at start up.
416
- # May be one of [auto|prepend|chain|disabled].
466
+ # Controls auto-instrumentation of Rack::URLMap at start up. May be one of: auto,
467
+ # prepend, chain, disabled.
468
+ # instrumentation.rack_urlmap: auto
469
+
470
+ # Controls auto-instrumentation of rake at start up. May be one of: auto, prepend,
471
+ # chain, disabled.
417
472
  # instrumentation.rake: auto
418
473
 
419
- # Controls auto-instrumentation of Redis at start up.
420
- # May be one of [auto|prepend|chain|disabled].
474
+ # Controls auto-instrumentation of Redis at start up. May be one of: auto,
475
+ # prepend, chain, disabled.
421
476
  # instrumentation.redis: auto
422
477
 
423
- # Controls auto-instrumentation of resque at start up.
424
- # May be one of [auto|prepend|chain|disabled].
478
+ # Controls auto-instrumentation of resque at start up. May be one of: auto,
479
+ # prepend, chain, disabled.
425
480
  # instrumentation.resque: auto
426
481
 
427
- # Controls auto-instrumentation of Sinatra at start up.
428
- # May be one of [auto|prepend|chain|disabled].
482
+ # Controls auto-instrumentation of Sinatra at start up. May be one of: auto,
483
+ # prepend, chain, disabled.
429
484
  # instrumentation.sinatra: auto
430
485
 
431
- # Controls auto-instrumentation of Tilt at start up.
432
- # May be one of [auto|prepend|chain|disabled].
433
- # instrumentation.tilt: auto
434
-
435
- # Controls auto-instrumentation of Typhoeus at start up.
436
- # May be one of [auto|prepend|chain|disabled].
437
- # instrumentation.typhoeus: auto
438
-
439
- # Controls auto-instrumentation of the Thread class at start up to allow the agent to correctly nest spans inside of an asynchronous transaction.
440
- # May be one of [auto|prepend|chain|disabled].
486
+ # Controls auto-instrumentation of the Thread class at start up to allow the agent
487
+ # to correctly nest spans inside of an asynchronous transaction. This does not
488
+ # enable the agent to automatically trace all threads created (see
489
+ # instrumentation.thread.tracing). May be one of: auto, prepend, chain, disabled.
441
490
  # instrumentation.thread: auto
442
491
 
443
- # Controls auto-instrumentation of the Thread class at start up to automatically add tracing to all Threads created in the application.
492
+ # Controls auto-instrumentation of the Thread class at start up to automatically
493
+ # add tracing to all Threads created in the application.
444
494
  # instrumentation.thread.tracing: true
445
495
 
446
- # Controls auto-instrumentation of gRPC clients at start up.
447
- # May be one of [auto|prepend|chain|disabled].
448
- # instrumentation.grpc_client: auto
449
-
450
- # Controls auto-instrumentation of gRPC servers at start up.
451
- # May be one of [auto|prepend|chain|disabled].
452
- # instrumentation.grpc_server: auto
496
+ # Controls auto-instrumentation of the Tilt template rendering library at start
497
+ # up. May be one of: auto, prepend, chain, disabled.
498
+ # instrumentation.tilt: auto
453
499
 
454
- # Specifies a list of hostname patterns separated by commas that will match
455
- # gRPC hostnames that traffic is to be ignored by New Relic for.
456
- # New Relic's gRPC client instrumentation will ignore traffic streamed to a
457
- # host matching any of these patterns, and New Relic's gRPC server
458
- # instrumentation will ignore traffic for a server running on a host whose
459
- # hostname matches any of these patterns. By default, no traffic is ignored
460
- # when gRPC instrumentation is itself enabled.
461
- # For example, "private.com$,exception.*"
462
- # instrumentation.grpc.host_denylist: ""
500
+ # Controls auto-instrumentation of Typhoeus at start up. May be one of: auto,
501
+ # prepend, chain, disabled.
502
+ # instrumentation.typhoeus: auto
463
503
 
464
504
  # A dictionary of label names and values that will be applied to the data sent
465
505
  # from this agent. May also be expressed as a semicolon-delimited ; string of
466
- # colon-separated : pairs.
467
- # For example,<var>Server</var>:<var>One</var>;<var>Data Center</var>:<var>Primary</var>.
506
+ # colon-separated : pairs. For example, Server:One;Data Center:Primary.
468
507
  # labels: ""
469
508
 
470
509
  # Defines a name for the log file.
471
- # log_file_name: "newrelic_agent.log"
510
+ # log_file_name: newrelic_agent.log
472
511
 
473
512
  # Defines a path to the agent log file, excluding the filename.
474
- # log_file_path: "log/"
513
+ # log_file_path: log/
475
514
 
476
515
  # Specifies a marshaller for transmitting data to the New Relic collector.
477
516
  # Currently json is the only valid value for this setting.
@@ -487,22 +526,15 @@ common: &default_settings
487
526
  # If true, the agent obfuscates Mongo queries in transaction traces.
488
527
  # mongo.obfuscate_queries: true
489
528
 
490
- # If true, the agent captures Elasticsearch queries in transaction traces.
491
- # elasticsearch.capture_queries: true
492
-
493
- # If true, the agent obfuscates Elasticsearch queries in transaction traces.
494
- # elasticsearch.obfuscate_queries: true
495
-
496
529
  # When true, the agent transmits data about your app to the New Relic collector.
497
530
  # monitor_mode: true
498
531
 
499
- # If true, uses Module#prepend rather than alias_method for Active Record
532
+ # If true, uses Module#prepend rather than alias_method for ActiveRecord
500
533
  # instrumentation.
501
534
  # prepend_active_record_instrumentation: false
502
535
 
503
- # Specify a custom host name for display in the New Relic UI
504
- # Be be aware that you cannot rename a hostname, so please rename
505
- # process_host.display_name: "default hostname"
536
+ # Specify a custom host name for display in the New Relic UI.
537
+ # process_host.display_name: default hostname
506
538
 
507
539
  # Defines a host for communicating with the New Relic collector via a proxy
508
540
  # server.
@@ -514,7 +546,7 @@ common: &default_settings
514
546
 
515
547
  # Defines a port for communicating with the New Relic collector via a proxy
516
548
  # server.
517
- # proxy_port: nil
549
+ # proxy_port: 8080
518
550
 
519
551
  # Defines a user for communicating with the New Relic collector via a proxy
520
552
  # server.
@@ -523,15 +555,16 @@ common: &default_settings
523
555
  # Timeout for waiting on connect to complete before a rake task
524
556
  # rake.connect_timeout: 10
525
557
 
526
- # Specify an array of Rake tasks to automatically instrument.
527
- # This configuration option converts the Array to a RegEx list.
528
- # If you'd like to allow all tasks by default, use `rake.tasks: [.+]`.
529
- # Rake tasks will not be instrumented unless they're added to this list.
530
- # For more information, visit the (New Relic Rake Instrumentation docs)[/docs/apm/agents/ruby-agent/background-jobs/rake-instrumentation].
558
+ # Specify an Array of Rake tasks to automatically instrument. This configuration
559
+ # option converts the Array to a RegEx list. If you'd like to allow all tasks by
560
+ # default, use rake.tasks: [.+]. No rake tasks will be instrumented unless they're
561
+ # added to this list. For more information, visit the New Relic Rake
562
+ # Instrumentation docs.
531
563
  # rake.tasks: []
532
564
 
533
565
  # Define transactions you want the agent to ignore, by specifying a list of
534
- # patterns matching the URI you want to ignore.
566
+ # patterns matching the URI you want to ignore. For more detail, see the docs on
567
+ # ignoring specific transactions.
535
568
  # rules.ignore_url_regexes: []
536
569
 
537
570
  # Applies Language Agent Security Policy settings.
@@ -542,32 +575,27 @@ common: &default_settings
542
575
  # send_data_on_exit: true
543
576
 
544
577
  # If true, the agent collects slow SQL queries.
545
- # slow_sql.enabled: false
578
+ # slow_sql.enabled: true
546
579
 
547
580
  # If true, the agent collects explain plans in slow SQL queries. If this setting
548
581
  # is omitted, the transaction_tracer.explain_enabled setting will be applied as
549
582
  # the default setting for explain plans in slow SQL as well.
550
- # slow_sql.explain_enabled: false
583
+ # slow_sql.explain_enabled: true
551
584
 
552
- # Specify a threshold in seconds. The agent collects slow SQL queries and
553
- # explain plans that exceed this threshold.
554
- # slow_sql.explain_threshold: 1.0
585
+ # Specify a threshold in seconds. The agent collects slow SQL queries and explain
586
+ # plans that exceed this threshold.
587
+ # slow_sql.explain_threshold: 0.5
555
588
 
556
- # Defines an obfuscation level for slow SQL queries.
557
- # Valid options are obfuscated, raw, or none.
558
- # slow_sql.record_sql: none
589
+ # Defines an obfuscation level for slow SQL queries. Valid options are obfuscated,
590
+ # raw, or none.
591
+ # slow_sql.record_sql: obfuscated
559
592
 
560
- # Generate a longer sql_id for slow SQL traces. sql_id is used for aggregation
561
- # of similar queries.
593
+ # Generate a longer sql_id for slow SQL traces. sql_id is used for aggregation of
594
+ # similar queries.
562
595
  # slow_sql.use_longer_sql_id: false
563
596
 
564
597
  # If true, the agent captures attributes on span events.
565
- # span_events_attributes.enabled: true
566
-
567
- # Defines the maximum number of span events reported from a single harvest.
568
- # This can be any integer between 1 and 10000. Increasing this value may impact
569
- # memory usage.
570
- # span_events.max_samples_stored: 2000
598
+ # span_events.attributes.enabled: true
571
599
 
572
600
  # Prefix of attributes to exclude from span events. Allows * as wildcard at end.
573
601
  # span_events.attributes.exclude: []
@@ -578,21 +606,26 @@ common: &default_settings
578
606
  # If true, enables span event sampling.
579
607
  # span_events.enabled: true
580
608
 
609
+ # Defines the maximum number of span events reported from a single harvest. Any
610
+ # Integer between 1 and 10000 is valid.
611
+ # span_events.max_samples_stored: 2000
612
+
581
613
  # Sets the maximum number of span events to buffer when streaming to the trace
582
614
  # observer.
583
615
  # span_events.queue_size: 10000
584
616
 
585
617
  # Specify a list of exceptions you do not want the agent to strip when
586
- # strip_exception_messages is true. Separate exceptions with a comma. For
587
- # example, "ImportantException,PreserveMessageException".
618
+ # strip_exception_messages is true. Separate exceptions with a comma. For example,
619
+ # "ImportantException,PreserveMessageException".
588
620
  # strip_exception_messages.allowed_classes: ""
589
621
 
590
622
  # If true, the agent strips messages from all exceptions except those in the
591
623
  # allowlist. Enabled automatically in high security mode.
592
- # strip_exception_messages.enabled: true
624
+ # strip_exception_messages.enabled: false
593
625
 
594
626
  # When set to true, forces a synchronous connection to the New Relic collector
595
- # during application startup. For very short-lived processes, this helps ensure # the New Relic agent has time to report.
627
+ # during application startup. For very short-lived processes, this helps ensure
628
+ # the New Relic agent has time to report.
596
629
  # sync_startup: false
597
630
 
598
631
  # If true, enables use of the thread profiler.
@@ -603,50 +636,56 @@ common: &default_settings
603
636
  # timeout: 120
604
637
 
605
638
  # If true, the agent captures attributes from transaction events.
606
- # transaction_events_attributes.enabled: false
639
+ # transaction_events.attributes.enabled: true
607
640
 
608
- # Prefix of attributes to exclude from transaction events.
609
- # Allows * as wildcard at end.
641
+ # Prefix of attributes to exclude from transaction events. Allows * as wildcard at
642
+ # end.
610
643
  # transaction_events.attributes.exclude: []
611
644
 
612
- # Prefix of attributes to include in transaction events.
613
- # Allows * as wildcard at end.
645
+ # Prefix of attributes to include in transaction events. Allows * as wildcard at
646
+ # end.
614
647
  # transaction_events.attributes.include: []
615
648
 
649
+ # If true, enables transaction event sampling.
650
+ # transaction_events.enabled: true
651
+
652
+ # Defines the maximum number of transaction events reported from a single harvest.
653
+ # transaction_events.max_samples_stored: 1200
654
+
616
655
  # If true, the agent captures attributes on transaction segments.
617
- # transaction_segments_attributes.enabled: true
656
+ # transaction_segments.attributes.enabled: true
618
657
 
619
- # Prefix of attributes to exclude from transaction segments.
620
- # Allows * as wildcard at end.
658
+ # Prefix of attributes to exclude from transaction segments. Allows * as wildcard
659
+ # at end.
621
660
  # transaction_segments.attributes.exclude: []
622
661
 
623
- # Prefix of attributes to include on transaction segments.
624
- # Allows * as wildcard at end.
662
+ # Prefix of attributes to include on transaction segments. Allows * as wildcard at
663
+ # end.
625
664
  # transaction_segments.attributes.include: []
626
665
 
627
666
  # If true, the agent captures attributes from transaction traces.
628
- # transaction_tracer.attributes.enabled: false
667
+ # transaction_tracer.attributes.enabled: true
629
668
 
630
- # Prefix of attributes to exclude from transaction traces.
631
- # Allows * as wildcard at end.
669
+ # Prefix of attributes to exclude from transaction traces. Allows * as wildcard at
670
+ # end.
632
671
  # transaction_tracer.attributes.exclude: []
633
672
 
634
- # Prefix of attributes to include in transaction traces.
635
- # Allows * as wildcard at end.
673
+ # Prefix of attributes to include in transaction traces. Allows * as wildcard at
674
+ # end.
636
675
  # transaction_tracer.attributes.include: []
637
676
 
638
677
  # If true, enables collection of transaction traces.
639
678
  # transaction_tracer.enabled: true
640
679
 
680
+ # If true, enables the collection of explain plans in transaction traces. This
681
+ # setting will also apply to explain plans in slow SQL traces if
682
+ # slow_sql.explain_enabled is not set separately.
683
+ # transaction_tracer.explain_enabled: true
684
+
641
685
  # Threshold (in seconds) above which the agent will collect explain plans.
642
686
  # Relevant only when explain_enabled is true.
643
687
  # transaction_tracer.explain_threshold: 0.5
644
688
 
645
- # If true, enables the collection of explain plans in transaction traces.
646
- # This setting will also apply to explain plans in slow SQL traces if
647
- # slow_sql.explain enabled is not set separately.
648
- # transaction_tracer.explain_enabled: true
649
-
650
689
  # Maximum number of transaction trace nodes to record in a single transaction
651
690
  # trace.
652
691
  # transaction_tracer.limit_segments: 4000
@@ -656,11 +695,12 @@ common: &default_settings
656
695
 
657
696
  # Obfuscation level for SQL queries reported in transaction trace nodes.
658
697
  # By default, this is set to obfuscated, which strips out the numeric and string
659
- # literals. If you do not want the agent to capture query information, set this
660
- # to 'none'. If you want the agent to capture all query information in its
661
- # original form, set this to 'raw'. When you enable high security mode this is
662
- # automatically set to 'obfuscated'
663
- # transaction_tracer.record_sql: 'obfuscated'
698
+ # literals.
699
+ # - If you do not want the agent to capture query information, set this to none.
700
+ # - If you want the agent to capture all query information in its original form,
701
+ # set this to raw.
702
+ # - When you enable high security mode, this is automatically set to obfuscated.
703
+ # transaction_tracer.record_sql: obfuscated
664
704
 
665
705
  # Specify a threshold in seconds. The agent includes stack traces in transaction
666
706
  # trace nodes when the stack trace duration exceeds this threshold.
@@ -689,7 +729,8 @@ common: &default_settings
689
729
  # If true, the agent automatically detects that it is running in Kubernetes.
690
730
  # utilization.detect_kubernetes: true
691
731
 
692
- # If true, the agent automatically detects that it is running in a Pivotal Cloud Foundry environment.
732
+ # If true, the agent automatically detects that it is running in a Pivotal Cloud
733
+ # Foundry environment.
693
734
  # utilization.detect_pcf: true
694
735
 
695
736
  # Environment-specific settings are in this section.