newrelic_rpm 8.16.0 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +0 -28
  3. data/.rubocop_todo.yml +41 -3
  4. data/CHANGELOG.md +126 -0
  5. data/CONTRIBUTING.md +1 -1
  6. data/README.md +3 -1
  7. data/bin/nrdebug +16 -16
  8. data/lib/new_relic/agent/agent_helpers/connect.rb +1 -1
  9. data/lib/new_relic/agent/agent_helpers/special_startup.rb +1 -2
  10. data/lib/new_relic/agent/attribute_filter.rb +0 -2
  11. data/lib/new_relic/agent/commands/thread_profiler_session.rb +3 -3
  12. data/lib/new_relic/agent/configuration/default_source.rb +98 -474
  13. data/lib/new_relic/agent/configuration/high_security_source.rb +0 -2
  14. data/lib/new_relic/agent/configuration/security_policy_source.rb +0 -16
  15. data/lib/new_relic/agent/database.rb +0 -14
  16. data/lib/new_relic/agent/distributed_tracing/cross_app_tracing.rb +1 -2
  17. data/lib/new_relic/agent/error_collector.rb +1 -1
  18. data/lib/new_relic/agent/error_filter.rb +3 -3
  19. data/lib/new_relic/agent/instrumentation/active_job.rb +1 -1
  20. data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +1 -1
  21. data/lib/new_relic/agent/instrumentation/fiber/chain.rb +20 -0
  22. data/lib/new_relic/agent/instrumentation/fiber/instrumentation.rb +24 -0
  23. data/lib/new_relic/agent/instrumentation/fiber/prepend.rb +18 -0
  24. data/lib/new_relic/agent/instrumentation/fiber.rb +25 -0
  25. data/lib/new_relic/agent/instrumentation/grape.rb +1 -1
  26. data/lib/new_relic/agent/instrumentation/memcache.rb +2 -2
  27. data/lib/new_relic/agent/instrumentation/net_http.rb +1 -1
  28. data/lib/new_relic/agent/instrumentation/rake/instrumentation.rb +1 -8
  29. data/lib/new_relic/agent/instrumentation/rake.rb +1 -1
  30. data/lib/new_relic/agent/instrumentation/redis.rb +1 -1
  31. data/lib/new_relic/agent/instrumentation/resque.rb +1 -1
  32. data/lib/new_relic/agent/instrumentation/sequel.rb +4 -5
  33. data/lib/new_relic/agent/instrumentation/thread/instrumentation.rb +3 -7
  34. data/lib/new_relic/agent/monitors/cross_app_monitor.rb +0 -1
  35. data/lib/new_relic/agent/new_relic_service/security_policy_settings.rb +0 -1
  36. data/lib/new_relic/agent/new_relic_service.rb +1 -1
  37. data/lib/new_relic/agent/rules_engine/segment_terms_rule.rb +0 -1
  38. data/lib/new_relic/agent/samplers/delayed_job_sampler.rb +1 -1
  39. data/lib/new_relic/agent/tracer.rb +10 -1
  40. data/lib/new_relic/agent/transaction/abstract_segment.rb +2 -2
  41. data/lib/new_relic/agent/transaction/tracing.rb +2 -2
  42. data/lib/new_relic/agent/transaction.rb +17 -16
  43. data/lib/new_relic/agent.rb +1 -19
  44. data/lib/new_relic/cli/commands/install.rb +9 -9
  45. data/lib/new_relic/control/instance_methods.rb +1 -1
  46. data/lib/new_relic/local_environment.rb +0 -10
  47. data/lib/new_relic/supportability_helper.rb +0 -1
  48. data/lib/new_relic/version.rb +2 -2
  49. data/lib/newrelic_rpm.rb +1 -1
  50. data/lib/sequel/extensions/{newrelic_instrumentation.rb → new_relic_instrumentation.rb} +3 -3
  51. data/lib/sequel/plugins/{newrelic_instrumentation.rb → new_relic_instrumentation.rb} +3 -3
  52. data/lib/tasks/helpers/format.rb +1 -1
  53. data/lib/tasks/instrumentation_generator/instrumentation.thor +7 -10
  54. data/lib/tasks/instrumentation_generator/templates/Envfile.tt +1 -1
  55. data/newrelic.yml +5 -8
  56. data/newrelic_rpm.gemspec +16 -13
  57. metadata +13 -14
  58. data/lib/new_relic/agent/instrumentation/acts_as_solr.rb +0 -83
  59. data/lib/new_relic/agent/instrumentation/authlogic.rb +0 -33
  60. data/lib/new_relic/agent/instrumentation/data_mapper.rb +0 -215
  61. data/lib/new_relic/agent/instrumentation/rainbows_instrumentation.rb +0 -36
  62. data/lib/new_relic/agent/instrumentation/sunspot.rb +0 -41
@@ -176,13 +176,6 @@ module NewRelic
176
176
  proc { NewRelic::Agent::Threading::BacktraceService.is_supported? }
177
177
  end
178
178
 
179
- # This check supports the js_errors_beta key we've asked clients to
180
- # set. Once JS errors are GA, browser_monitoring.loader can stop
181
- # being dynamic.
182
- def self.browser_monitoring_loader
183
- proc { NewRelic::Agent.config[:js_errors_beta] ? "full" : "rum" }
184
- end
185
-
186
179
  def self.transaction_tracer_transaction_threshold
187
180
  proc { NewRelic::Agent.config[:apdex_t] * 4 }
188
181
  end
@@ -348,7 +341,7 @@ module NewRelic
348
341
  :public => true,
349
342
  :type => String,
350
343
  :allowed_from_server => false,
351
- :description => 'Your New Relic [license key](/docs/apis/intro-apis/new-relic-api-keys/#ingest-license-key).'
344
+ :description => 'Your New Relic <LicenseKey />.'
352
345
  },
353
346
  :log_level => {
354
347
  :default => 'info',
@@ -363,19 +356,19 @@ module NewRelic
363
356
  :public => true,
364
357
  :type => Array,
365
358
  :allowed_from_server => false,
366
- :description => <<-DESCRIPTION
367
- An array of ActiveSupport custom event names to subscribe to and instrument. For example,
368
- - one.custom.event
369
- - another.event
370
- - a.third.event
359
+ :description => <<~DESCRIPTION
360
+ An array of ActiveSupport custom event names to subscribe to and instrument. For example,
361
+ - one.custom.event
362
+ - another.event
363
+ - a.third.event
371
364
  DESCRIPTION
372
365
  },
366
+ # this is only set via server side config
373
367
  :apdex_t => {
374
368
  :default => 0.5,
375
- :public => true,
369
+ :public => false,
376
370
  :type => Float,
377
371
  :allowed_from_server => true,
378
- :deprecated => true,
379
372
  :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).'
380
373
  },
381
374
  :api_key => {
@@ -412,12 +405,12 @@ An array of ActiveSupport custom event names to subscribe to and instrument. For
412
405
  :public => true,
413
406
  :type => Boolean,
414
407
  :allowed_from_server => false,
415
- :description => <<-DESCRIPTION
416
- When `true`, the agent captures HTTP request parameters and attaches them to transaction traces, traced errors, and [`TransactionError` events](/attribute-dictionary?attribute_name=&events_tids%5B%5D=8241).
408
+ :description => <<~DESCRIPTION
409
+ When `true`, the agent captures HTTP request parameters and attaches them to transaction traces, traced errors, and [`TransactionError` events](/attribute-dictionary?attribute_name=&events_tids%5B%5D=8241).
417
410
 
418
- <Callout variant="caution">
419
- When using the `capture_params` setting, the Ruby agent will not attempt to filter secret information. <b>Recommendation:</b> To filter secret information from request parameters, use the [`attributes.include` setting](/docs/agents/ruby-agent/attributes/enable-disable-attributes-ruby) instead. For more information, see the <a href="/docs/agents/ruby-agent/attributes/ruby-attribute-examples#ex_req_params">Ruby attribute examples</a>.
420
- </Callout>
411
+ <Callout variant="caution">
412
+ When using the `capture_params` setting, the Ruby agent will not attempt to filter secret information. <b>Recommendation:</b> To filter secret information from request parameters, use the [`attributes.include` setting](/docs/agents/ruby-agent/attributes/enable-disable-attributes-ruby) instead. For more information, see the <a href="/docs/agents/ruby-agent/attributes/ruby-attribute-examples#ex_req_params">Ruby attribute examples</a>.
413
+ </Callout>
421
414
  DESCRIPTION
422
415
  },
423
416
  :'clear_transaction_state_after_fork' => {
@@ -566,14 +559,6 @@ When `true`, the agent captures HTTP request parameters and attaches them to tra
566
559
  :description => 'Defines the maximum number of seconds the agent should spend attempting to connect to the collector.'
567
560
  },
568
561
  # Transaction tracer
569
- :'transaction_tracer.capture_attributes' => {
570
- :default => true,
571
- :public => true,
572
- :type => Boolean,
573
- :deprecated => true,
574
- :allowed_from_server => false,
575
- :description => 'Use [`transaction_tracer.attributes.enabled`](#transaction_tracer-attributes-enabled) instead.'
576
- },
577
562
  :'transaction_tracer.enabled' => {
578
563
  :default => true,
579
564
  :public => true,
@@ -639,26 +624,18 @@ When `true`, the agent captures HTTP request parameters and attaches them to tra
639
624
  :description => 'Specify a threshold in seconds. Transactions with a duration longer than this threshold are eligible for transaction traces. Specify a float value or the string `apdex_f`.'
640
625
  },
641
626
  # Error collector
642
- :'error_collector.capture_attributes' => {
643
- :default => true,
644
- :public => true,
645
- :type => Boolean,
646
- :deprecated => true,
647
- :allowed_from_server => false,
648
- :description => 'Use [`error_collector.attributes.enabled`](#error_collector-attributes-enabled) instead.'
649
- },
650
627
  :'error_collector.ignore_classes' => {
651
- :default => [],
628
+ :default => ['ActionController::RoutingError', 'Sinatra::NotFound'],
652
629
  :public => true,
653
630
  :type => Array,
654
631
  :allowed_from_server => true,
655
632
  :dynamic_name => true,
656
- :description => <<-DESCRIPTION
657
- A list of error classes that the agent should ignore.
633
+ :description => <<~DESCRIPTION
634
+ A list of error classes that the agent should ignore.
658
635
 
659
- <Callout variant="caution">
660
- This option can't be set via environment variable.
661
- </Callout>
636
+ <Callout variant="caution">
637
+ This option can't be set via environment variable.
638
+ </Callout>
662
639
  DESCRIPTION
663
640
  },
664
641
  :'error_collector.capture_events' => {
@@ -683,12 +660,12 @@ A list of error classes that the agent should ignore.
683
660
  :type => Array,
684
661
  :allowed_from_server => true,
685
662
  :dynamic_name => true,
686
- :description => <<-DESCRIPTION
687
- A list of error classes that the agent should treat as expected.
663
+ :description => <<~DESCRIPTION
664
+ A list of error classes that the agent should treat as expected.
688
665
 
689
- <Callout variant="caution">
690
- This option can't be set via environment variable.
691
- </Callout>
666
+ <Callout variant="caution">
667
+ This option can't be set via environment variable.
668
+ </Callout>
692
669
  DESCRIPTION
693
670
  },
694
671
  :'error_collector.expected_messages' => {
@@ -697,12 +674,12 @@ A list of error classes that the agent should treat as expected.
697
674
  :type => Hash,
698
675
  :allowed_from_server => true,
699
676
  :dynamic_name => true,
700
- :description => <<-DESCRIPTION
701
- A map of error classes to a list of messages. When an error of one of the classes specified here occurs, if its error message contains one of the strings corresponding to it here, that error will be treated as expected.
677
+ :description => <<~DESCRIPTION
678
+ A map of error classes to a list of messages. When an error of one of the classes specified here occurs, if its error message contains one of the strings corresponding to it here, that error will be treated as expected.
702
679
 
703
- <Callout variant="caution">
704
- This option can't be set via environment variable.
705
- </Callout>
680
+ <Callout variant="caution">
681
+ This option can't be set via environment variable.
682
+ </Callout>
706
683
  DESCRIPTION
707
684
  },
708
685
  :'error_collector.expected_status_codes' => {
@@ -713,33 +690,19 @@ A map of error classes to a list of messages. When an error of one of the classe
713
690
  :dynamic_name => true,
714
691
  :description => 'A comma separated list of status codes, possibly including ranges. Errors associated with these status codes, where applicable, will be treated as expected.'
715
692
  },
716
- :'error_collector.ignore_errors' => {
717
- :default => 'ActionController::RoutingError,Sinatra::NotFound',
718
- :public => true,
719
- :type => String,
720
- :deprecated => true,
721
- :allowed_from_server => true,
722
- :dynamic_name => true,
723
- :description => <<-DESCRIPTION
724
- Use `error_collector.ignore_classes` instead. Specify a comma-delimited list of error classes that the agent should ignore.
725
693
 
726
- <Callout variant="caution">
727
- Server side configuration takes precedence for this setting over all environment configurations. This differs from all other configuration settings where environment variable take precedence over server side configuration.
728
- </Callout>
729
- DESCRIPTION
730
- },
731
694
  :'error_collector.ignore_messages' => {
732
695
  :default => {},
733
696
  :public => true,
734
697
  :type => Hash,
735
698
  :allowed_from_server => true,
736
699
  :dynamic_name => true,
737
- :description => <<-DESCRIPTION
738
- A map of error classes to a list of messages. When an error of one of the classes specified here occurs, if its error message contains one of the strings corresponding to it here, that error will be ignored.
700
+ :description => <<~DESCRIPTION
701
+ A map of error classes to a list of messages. When an error of one of the classes specified here occurs, if its error message contains one of the strings corresponding to it here, that error will be ignored.
739
702
 
740
- <Callout variant="caution">
741
- This option can't be set via environment variable.
742
- </Callout>
703
+ <Callout variant="caution">
704
+ This option can't be set via environment variable.
705
+ </Callout>
743
706
  DESCRIPTION
744
707
  },
745
708
  :'error_collector.ignore_status_codes' => {
@@ -773,51 +736,16 @@ A map of error classes to a list of messages. When an error of one of the classe
773
736
  :allowed_from_server => true,
774
737
  :description => 'If `true`, enables [auto-injection](/docs/browser/new-relic-browser/installation-configuration/adding-apps-new-relic-browser#select-apm-app) of the JavaScript header for page load timing (sometimes referred to as real user monitoring or RUM).'
775
738
  },
776
- :'browser_monitoring.capture_attributes' => {
777
- :default => false,
778
- :public => true,
779
- :type => Boolean,
780
- :deprecated => true,
781
- :allowed_from_server => false,
782
- :description => 'Use [`browser_monitoring.attributes.enabled`](#browser_monitoring-attributes-enabled) instead.'
783
- },
784
- # Analytics events
785
- :'analytics_events.capture_attributes' => {
786
- :default => true,
787
- :public => true,
788
- :type => Boolean,
789
- :deprecated => true,
790
- :allowed_from_server => false,
791
- :description => 'Use [`transaction_events.attributes.enabled`](#transaction_events-attributes-enabled) instead.'
792
- },
793
- :'analytics_events.enabled' => {
794
- :default => true,
795
- :public => true,
796
- :type => Boolean,
797
- :deprecated => true,
798
- :allowed_from_server => true,
799
- :description => deprecated_description(:'transaction_events.enabled', 'If `true`, enables analytics event sampling.')
800
- },
801
- :'analytics_events.max_samples_stored' => {
802
- :default => 1200,
803
- :public => true,
804
- :type => Integer,
805
- :deprecated => true,
806
- :allowed_from_server => true,
807
- :description => deprecated_description(:'transaction_events.max_samples_stored', 'Defines the maximum number of request events reported from a single harvest.')
808
- },
809
739
  # Transaction events
810
740
  :'transaction_events.enabled' => {
811
- :default => value_of(:'analytics_events.enabled'),
812
- :documentation_default => true,
741
+ :default => true,
813
742
  :public => true,
814
743
  :type => Boolean,
815
744
  :allowed_from_server => true,
816
745
  :description => 'If `true`, enables transaction event sampling.'
817
746
  },
818
747
  :'transaction_events.max_samples_stored' => {
819
- :default => value_of(:'analytics_events.max_samples_stored'),
820
- :documentation_default => 1200,
748
+ :default => 1200,
821
749
  :public => true,
822
750
  :type => Integer,
823
751
  :allowed_from_server => true,
@@ -885,8 +813,7 @@ A map of error classes to a list of messages. When an error of one of the classe
885
813
  :description => 'Prefix of attributes to include in all destinations. Allows `*` as wildcard at end.'
886
814
  },
887
815
  :'browser_monitoring.attributes.enabled' => {
888
- :default => value_of(:'browser_monitoring.capture_attributes'),
889
- :documentation_default => false,
816
+ :default => false,
890
817
  :public => true,
891
818
  :type => Boolean,
892
819
  :allowed_from_server => false,
@@ -909,8 +836,7 @@ A map of error classes to a list of messages. When an error of one of the classe
909
836
  :description => 'Prefix of attributes to include in browser monitoring. Allows `*` as wildcard at end.'
910
837
  },
911
838
  :'error_collector.attributes.enabled' => {
912
- :default => value_of(:'error_collector.capture_attributes'),
913
- :documentation_default => true,
839
+ :default => true,
914
840
  :public => true,
915
841
  :type => Boolean,
916
842
  :allowed_from_server => false,
@@ -956,8 +882,7 @@ A map of error classes to a list of messages. When an error of one of the classe
956
882
  :description => 'Prefix of attributes to include on span events. Allows `*` as wildcard at end.'
957
883
  },
958
884
  :'transaction_events.attributes.enabled' => {
959
- :default => value_of(:'analytics_events.capture_attributes'),
960
- :documentation_default => true,
885
+ :default => true,
961
886
  :public => true,
962
887
  :type => Boolean,
963
888
  :allowed_from_server => false,
@@ -1003,8 +928,7 @@ A map of error classes to a list of messages. When an error of one of the classe
1003
928
  :description => 'Prefix of attributes to include on transaction segments. Allows `*` as wildcard at end.'
1004
929
  },
1005
930
  :'transaction_tracer.attributes.enabled' => {
1006
- :default => value_of(:'transaction_tracer.capture_attributes'),
1007
- :documentation_default => true,
931
+ :default => true,
1008
932
  :public => true,
1009
933
  :type => Boolean,
1010
934
  :allowed_from_server => false,
@@ -1213,15 +1137,6 @@ A map of error classes to a list of messages. When an error of one of the classe
1213
1137
  :allowed_from_server => false,
1214
1138
  :description => 'If `true`, disables instrumentation for Active Record 4+'
1215
1139
  },
1216
- :disable_bunny => {
1217
- :default => false,
1218
- :public => true,
1219
- :type => Boolean,
1220
- :deprecated => true,
1221
- :dynamic_name => true,
1222
- :allowed_from_server => false,
1223
- :description => deprecated_description(:'instrumentation.bunny', 'If `true`, disables instrumentation for the bunny gem.')
1224
- },
1225
1140
  :disable_cpu_sampler => {
1226
1141
  :default => false,
1227
1142
  :public => true,
@@ -1230,48 +1145,6 @@ A map of error classes to a list of messages. When an error of one of the classe
1230
1145
  :allowed_from_server => false,
1231
1146
  :description => 'If `true`, the agent won\'t sample the CPU usage of the host process.'
1232
1147
  },
1233
- :disable_curb => {
1234
- :default => false,
1235
- :public => true,
1236
- :type => Boolean,
1237
- :deprecated => true,
1238
- :dynamic_name => true,
1239
- :allowed_from_server => false,
1240
- :description => deprecated_description(:'instrumentation.curb', 'If `true`, disables instrumentation for the curb gem.')
1241
- },
1242
- :disable_database_instrumentation => {
1243
- :default => false,
1244
- :public => true,
1245
- :type => Boolean,
1246
- :allowed_from_server => false,
1247
- :deprecated => true,
1248
- :description => 'Use [`disable_sequel_instrumentation`](#disable_sequel_instrumentation) instead.'
1249
- },
1250
- :disable_data_mapper => {
1251
- :default => false,
1252
- :public => true,
1253
- :type => Boolean,
1254
- :allowed_from_server => false,
1255
- :description => 'If `true`, disables DataMapper instrumentation.'
1256
- },
1257
- :disable_dalli => {
1258
- :default => value_of(:disable_memcache_instrumentation),
1259
- :documentation_default => false,
1260
- :public => true,
1261
- :type => Boolean,
1262
- :deprecated => true,
1263
- :allowed_from_server => false,
1264
- :description => deprecated_description(:'instrumentation.memcache', 'If `true`, disables instrumentation for the dalli gem.')
1265
- },
1266
- :disable_dalli_cas_client => {
1267
- :default => value_of(:disable_memcache_instrumentation),
1268
- :documentation_default => false,
1269
- :public => true,
1270
- :type => Boolean,
1271
- :deprecated => true,
1272
- :allowed_from_server => false,
1273
- :description => deprecated_description(:'instrumentation.memcache', "If `true`, disables instrumentation for the dalli gem's additional CAS client support.")
1274
- },
1275
1148
  :disable_delayed_job_sampler => {
1276
1149
  :default => false,
1277
1150
  :public => true,
@@ -1280,49 +1153,6 @@ A map of error classes to a list of messages. When an error of one of the classe
1280
1153
  :allowed_from_server => false,
1281
1154
  :description => 'If `true`, the agent won\'t measure the depth of Delayed Job queues.'
1282
1155
  },
1283
- :disable_dj => {
1284
- :default => false,
1285
- :public => true,
1286
- :deprecated => true,
1287
- :type => Boolean,
1288
- :allowed_from_server => false,
1289
- :description => deprecated_description(:'instrumentation.delayed_job', 'If `true`, disables [Delayed::Job instrumentation](/docs/agents/ruby-agent/background-jobs/delayedjob).')
1290
- },
1291
- :disable_excon => {
1292
- :default => false,
1293
- :public => true,
1294
- :type => Boolean,
1295
- :dynamic_name => true,
1296
- :deprecated => true,
1297
- :allowed_from_server => false,
1298
- :description => deprecated_description(:'instrumentation.excon', 'If `true`, disables instrumentation for the excon gem.')
1299
- },
1300
- :disable_memcached => {
1301
- :default => value_of(:disable_memcache_instrumentation),
1302
- :documentation_default => false,
1303
- :public => true,
1304
- :type => Boolean,
1305
- :deprecated => true,
1306
- :allowed_from_server => false,
1307
- :description => deprecated_description(:'instrumentation.memcached', 'If `true`, disables instrumentation for the memcached gem.')
1308
- },
1309
- :disable_memcache_client => {
1310
- :default => value_of(:disable_memcache_instrumentation),
1311
- :documentation_default => false,
1312
- :public => true,
1313
- :type => Boolean,
1314
- :deprecated => true,
1315
- :allowed_from_server => false,
1316
- :description => deprecated_description(:'instrumentation.memcache-client', 'If `true`, disables instrumentation for the memcache-client gem.')
1317
- },
1318
- :disable_memcache_instrumentation => {
1319
- :default => false,
1320
- :public => true,
1321
- :type => Boolean,
1322
- :deprecated => true,
1323
- :allowed_from_server => false,
1324
- :description => deprecated_description(:'instrumentation.memcache', 'If `true`, disables memcache instrumentation.')
1325
- },
1326
1156
  :disable_gc_profiler => {
1327
1157
  :default => false,
1328
1158
  :public => true,
@@ -1330,42 +1160,6 @@ A map of error classes to a list of messages. When an error of one of the classe
1330
1160
  :allowed_from_server => false,
1331
1161
  :description => 'If `true`, disables the use of GC::Profiler to measure time spent in garbage collection'
1332
1162
  },
1333
- :disable_grape => {
1334
- :default => false,
1335
- :public => true,
1336
- :type => Boolean,
1337
- :allowed_from_server => false,
1338
- :deprecated => true,
1339
- :description => deprecated_description(:'instrumentation.grape',
1340
- 'If `true`, the agent won\'t install Grape instrumentation.')
1341
- },
1342
- :disable_httpclient => {
1343
- :default => false,
1344
- :public => true,
1345
- :type => Boolean,
1346
- :dynamic_name => true,
1347
- :deprecated => true,
1348
- :allowed_from_server => false,
1349
- :description => deprecated_description(:'instrumentation.httpclient', 'If `true`, disables instrumentation for the httpclient gem.')
1350
- },
1351
- :disable_httprb => {
1352
- :default => false,
1353
- :public => true,
1354
- :type => Boolean,
1355
- :dynamic_name => true,
1356
- :deprecated => true,
1357
- :allowed_from_server => false,
1358
- :description => deprecated_description(:'instrumentation.httprb', 'If `true`, the agent won\'t install instrumentation for the http.rb gem.')
1359
- },
1360
- :disable_mongo => {
1361
- :default => false,
1362
- :public => true,
1363
- :type => Boolean,
1364
- :allowed_from_server => false,
1365
- :dynamic_name => true,
1366
- :deprecated => true,
1367
- :description => deprecated_description(:'instrumentation.mongo', 'If `true`, the agent won\'t install [instrumentation for the Mongo gem](/docs/agents/ruby-agent/frameworks/mongo-instrumentation).')
1368
- },
1369
1163
  :disable_memory_sampler => {
1370
1164
  :default => false,
1371
1165
  :public => true,
@@ -1381,78 +1175,6 @@ A map of error classes to a list of messages. When an error of one of the classe
1381
1175
  :allowed_from_server => false,
1382
1176
  :description => 'If `true`, the agent won\'t wrap third-party middlewares in instrumentation (regardless of whether they are installed via Rack::Builder or Rails).'
1383
1177
  },
1384
- :disable_net_http => {
1385
- :default => false,
1386
- :public => true,
1387
- :type => Boolean,
1388
- :dynamic_name => true,
1389
- :allowed_from_server => false,
1390
- :deprecated => true,
1391
- :description => deprecated_description(:'instrumentation.net_http',
1392
- 'If `true`, disables instrumentation for Net::HTTP.')
1393
- },
1394
- :disable_puma_rack => {
1395
- :default => value_of(:disable_rack),
1396
- :documentation_default => false,
1397
- :public => true,
1398
- :type => Boolean,
1399
- :dynamic_name => true,
1400
- :allowed_from_server => false,
1401
- :deprecated => true,
1402
- :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.')
1403
- },
1404
- :disable_puma_rack_urlmap => {
1405
- :default => value_of(:disable_rack_urlmap),
1406
- :documentation_default => false,
1407
- :public => true,
1408
- :type => Boolean,
1409
- :dynamic_name => true,
1410
- :allowed_from_server => false,
1411
- :deprecated => true,
1412
- :description => deprecated_description(:'instrumentation.puma_rack_urlmap', 'If `true`, prevents the agent from hooking into Puma::Rack::URLMap to install middleware tracing.')
1413
- },
1414
- :disable_rack => {
1415
- :default => false,
1416
- :public => true,
1417
- :type => Boolean,
1418
- :dynamic_name => true,
1419
- :allowed_from_server => false,
1420
- :deprecated => true,
1421
- :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.')
1422
- },
1423
- :disable_rack_urlmap => {
1424
- :default => false,
1425
- :public => true,
1426
- :type => Boolean,
1427
- :dynamic_name => true,
1428
- :allowed_from_server => false,
1429
- :deprecated => true,
1430
- :description => deprecated_description(:'instrumentation.rack_urlmap', 'If `true`, prevents the agent from hooking into Rack::URLMap to install middleware tracing.')
1431
- },
1432
- :disable_rake => {
1433
- :default => false,
1434
- :public => true,
1435
- :type => Boolean,
1436
- :allowed_from_server => false,
1437
- :deprecated => true,
1438
- :description => deprecated_description(:'instrumentation.rake', 'If `true`, disables Rake instrumentation.')
1439
- },
1440
- :disable_redis => {
1441
- :default => false,
1442
- :public => true,
1443
- :type => Boolean,
1444
- :deprecated => true,
1445
- :allowed_from_server => false,
1446
- :description => deprecated_description(:'instrumentation.redis', 'If `true`, the agent won\'t install [instrumentation for Redis](/docs/agents/ruby-agent/frameworks/redis-instrumentation).')
1447
- },
1448
- :disable_resque => {
1449
- :default => false,
1450
- :public => true,
1451
- :type => Boolean,
1452
- :deprecated => true,
1453
- :allowed_from_server => false,
1454
- :description => deprecated_description(:'instrumentation.resque', 'If `true`, disables [Resque instrumentation](/docs/agents/ruby-agent/background-jobs/resque-instrumentation).')
1455
- },
1456
1178
  :disable_samplers => {
1457
1179
  :default => false,
1458
1180
  :public => true,
@@ -1474,47 +1196,30 @@ A map of error classes to a list of messages. When an error of one of the classe
1474
1196
  :allowed_from_server => false,
1475
1197
  :description => 'If `true`, disables [Sidekiq instrumentation](/docs/agents/ruby-agent/background-jobs/sidekiq-instrumentation).'
1476
1198
  },
1477
- :disable_sinatra => {
1478
- :default => false,
1479
- :public => true,
1480
- :type => Boolean,
1481
- :deprecated => true,
1482
- :allowed_from_server => false,
1483
- :description => deprecated_description(:'instrumentation.sinatra', 'If `true` , disables [Sinatra instrumentation](/docs/agents/ruby-agent/frameworks/sinatra-support).')
1484
- },
1485
1199
  :disable_sinatra_auto_middleware => {
1486
1200
  :default => false,
1487
1201
  :public => true,
1488
1202
  :type => Boolean,
1489
1203
  :allowed_from_server => false,
1490
- :description => <<-DESCRIPTION
1491
- If `true`, disables agent middleware for Sinatra. This middleware is responsible for advanced feature support such as [cross application tracing](/docs/apm/transactions/cross-application-traces/cross-application-tracing), [page load timing](/docs/browser/new-relic-browser/getting-started/new-relic-browser), and [error collection](/docs/apm/applications-menu/events/view-apm-error-analytics).
1204
+ :description => <<~DESCRIPTION
1205
+ If `true`, disables agent middleware for Sinatra. This middleware is responsible for advanced feature support such as [cross application tracing](/docs/apm/transactions/cross-application-traces/cross-application-tracing), [page load timing](/docs/browser/new-relic-browser/getting-started/new-relic-browser), and [error collection](/docs/apm/applications-menu/events/view-apm-error-analytics).
1492
1206
 
1493
- <Callout variant="important">
1494
- Cross application tracing is deprecated in favor of [distributed tracing](/docs/apm/distributed-tracing/getting-started/introduction-distributed-tracing). Distributed tracing is on by default for Ruby agent versions 8.0.0 and above. Middlewares are not required to support distributed tracing.
1207
+ <Callout variant="important">
1208
+ Cross application tracing is deprecated in favor of [distributed tracing](/docs/apm/distributed-tracing/getting-started/introduction-distributed-tracing). Distributed tracing is on by default for Ruby agent versions 8.0.0 and above. Middlewares are not required to support distributed tracing.
1495
1209
 
1496
- To continue using cross application tracing, update the following options in your `newrelic.yml` configuration file:
1210
+ To continue using cross application tracing, update the following options in your `newrelic.yml` configuration file:
1497
1211
 
1498
- ```
1499
- # newrelic.yml
1212
+ ```
1213
+ # newrelic.yml
1500
1214
 
1501
- cross_application_tracer:
1502
- enabled: true
1503
- distributed_tracing:
1504
- enabled: false
1505
- ```
1506
- </Callout>
1215
+ cross_application_tracer:
1216
+ enabled: true
1217
+ distributed_tracing:
1218
+ enabled: false
1219
+ ```
1220
+ </Callout>
1507
1221
  DESCRIPTION
1508
1222
  },
1509
- :disable_typhoeus => {
1510
- :default => false,
1511
- :public => true,
1512
- :type => Boolean,
1513
- :dynamic_name => true,
1514
- :deprecated => true,
1515
- :allowed_from_server => false,
1516
- :description => deprecated_description(:'instrumentation.typhoeus', 'If `true`, the agent won\'t install instrumentation for the typhoeus gem.')
1517
- },
1518
1223
  :disable_view_instrumentation => {
1519
1224
  :default => false,
1520
1225
  :public => true,
@@ -1600,14 +1305,21 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1600
1305
  :description => 'Controls auto-instrumentation of ActiveSupport::Logger at start up. May be one of [auto|prepend|chain|disabled].'
1601
1306
  },
1602
1307
  :'instrumentation.bunny' => {
1603
- :default => instrumentation_value_of(:disable_bunny),
1604
- :documentation_default => 'auto',
1308
+ :default => 'auto',
1605
1309
  :public => true,
1606
1310
  :type => String,
1607
1311
  :dynamic_name => true,
1608
1312
  :allowed_from_server => false,
1609
1313
  :description => 'Controls auto-instrumentation of bunny at start up. May be one of [auto|prepend|chain|disabled].'
1610
1314
  },
1315
+ :'instrumentation.fiber' => {
1316
+ :default => 'auto',
1317
+ :public => true,
1318
+ :type => String,
1319
+ :dynamic_name => true,
1320
+ :allowed_from_server => false,
1321
+ :description => 'Controls auto-instrumentation of the Fiber class at start up. May be one of [auto|prepend|chain|disabled].'
1322
+ },
1611
1323
  :'instrumentation.concurrent_ruby' => {
1612
1324
  :default => 'auto',
1613
1325
  :public => true,
@@ -1617,7 +1329,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1617
1329
  :description => 'Controls auto-instrumentation of the concurrent-ruby library at start up. May be one of [auto|prepend|chain|disabled].'
1618
1330
  },
1619
1331
  :'instrumentation.curb' => {
1620
- :default => instrumentation_value_of(:disable_curb),
1332
+ :default => 'auto',
1621
1333
  :documentation_default => 'auto',
1622
1334
  :public => true,
1623
1335
  :type => String,
@@ -1626,7 +1338,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1626
1338
  :description => 'Controls auto-instrumentation of Curb at start up. May be one of [auto|prepend|chain|disabled].'
1627
1339
  },
1628
1340
  :'instrumentation.delayed_job' => {
1629
- :default => instrumentation_value_of(:disable_dj),
1341
+ :default => 'auto',
1630
1342
  :documentation_default => 'auto',
1631
1343
  :public => true,
1632
1344
  :type => String,
@@ -1643,18 +1355,17 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1643
1355
  :description => 'Controls auto-instrumentation of the elasticsearch library at start up. May be one of [auto|prepend|chain|disabled].'
1644
1356
  },
1645
1357
  :'instrumentation.excon' => {
1646
- :default => instrumentation_value_of(:disable_excon),
1358
+ :default => 'enabled',
1647
1359
  :documentation_default => 'enabled',
1648
- :public => :true,
1360
+ :public => true,
1649
1361
  :type => String,
1650
1362
  :dynamic_name => true,
1651
1363
  :allowed_from_server => false,
1652
1364
  :description => "Controls auto-instrumentation of Excon at start up. May be one of [enabled|disabled]."
1653
1365
  },
1654
1366
  :'instrumentation.grape' => {
1655
- :default => instrumentation_value_of(:disable_grape_instrumentation),
1656
- :documentation_default => 'auto',
1657
- :public => :true,
1367
+ :default => 'auto',
1368
+ :public => true,
1658
1369
  :type => String,
1659
1370
  :dynamic_name => true,
1660
1371
  :allowed_from_server => false,
@@ -1687,7 +1398,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1687
1398
  :description => 'Controls auto-instrumentation of gRPC servers at start up. May be one of [auto|prepend|chain|disabled].'
1688
1399
  },
1689
1400
  :'instrumentation.httpclient' => {
1690
- :default => instrumentation_value_of(:disable_httpclient),
1401
+ :default => 'auto',
1691
1402
  :documentation_default => 'auto',
1692
1403
  :public => true,
1693
1404
  :type => String,
@@ -1696,7 +1407,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1696
1407
  :description => "Controls auto-instrumentation of HTTPClient at start up. May be one of [auto|prepend|chain|disabled]."
1697
1408
  },
1698
1409
  :'instrumentation.httprb' => {
1699
- :default => instrumentation_value_of(:disable_httprb),
1410
+ :default => 'auto',
1700
1411
  :documentation_default => 'auto',
1701
1412
  :public => true,
1702
1413
  :type => String,
@@ -1714,8 +1425,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1714
1425
  :description => 'Controls auto-instrumentation of Ruby standard library Logger at start up. May be one of [auto|prepend|chain|disabled].'
1715
1426
  },
1716
1427
  :'instrumentation.memcache' => {
1717
- :default => instrumentation_value_of(:disable_dalli),
1718
- :documentation_default => 'auto',
1428
+ :default => 'auto',
1719
1429
  :public => true,
1720
1430
  :type => String,
1721
1431
  :dynamic_name => true,
@@ -1723,7 +1433,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1723
1433
  :description => 'Controls auto-instrumentation of dalli gem for Memcache at start up. May be one of [auto|prepend|chain|disabled].'
1724
1434
  },
1725
1435
  :'instrumentation.memcached' => {
1726
- :default => instrumentation_value_of(:disable_memcached),
1436
+ :default => 'auto',
1727
1437
  :documentation_default => 'auto',
1728
1438
  :public => true,
1729
1439
  :type => String,
@@ -1741,16 +1451,16 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1741
1451
  :description => 'Controls auto-instrumentation of memcache-client gem for Memcache at start up. May be one of [auto|prepend|chain|disabled].'
1742
1452
  },
1743
1453
  :'instrumentation.mongo' => {
1744
- :default => instrumentation_value_of(:disable_mongo),
1454
+ :default => 'enabled',
1745
1455
  :documentation_default => 'enabled',
1746
- :public => :true,
1456
+ :public => true,
1747
1457
  :type => String,
1748
1458
  :dynamic_name => true,
1749
1459
  :allowed_from_server => false,
1750
1460
  :description => "Controls auto-instrumentation of Mongo at start up. May be one of [enabled|disabled]."
1751
1461
  },
1752
1462
  :'instrumentation.net_http' => {
1753
- :default => instrumentation_value_of(:disable_net_http, :prepend_net_instrumentation),
1463
+ :default => 'auto',
1754
1464
  :documentation_default => 'auto',
1755
1465
  :public => true,
1756
1466
  :type => String,
@@ -1759,7 +1469,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1759
1469
  :description => "Controls auto-instrumentation of Net::HTTP at start up. May be one of [auto|prepend|chain|disabled]."
1760
1470
  },
1761
1471
  :'instrumentation.puma_rack' => {
1762
- :default => instrumentation_value_of(:disable_puma_rack), # TODO: MAJOR VERSION - change to value_of(:'instrumentation.rack') when we remove :disable_puma_rack in 8.0)
1472
+ :default => value_of(:'instrumentation.rack'),
1763
1473
  :documentation_default => 'auto',
1764
1474
  :public => true,
1765
1475
  :type => String,
@@ -1770,7 +1480,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1770
1480
  "application startup. May be one of [auto|prepend|chain|disabled]."
1771
1481
  },
1772
1482
  :'instrumentation.puma_rack_urlmap' => {
1773
- :default => instrumentation_value_of(:disable_puma_rack_urlmap), # TODO: MAJOR VERSION - change to value_of(:'instrumentation.rack_urlmap') when we remove :disable_puma_rack_urlmap in 8.0)
1483
+ :default => value_of(:'instrumentation.rack_urlmap'),
1774
1484
  :documentation_default => 'auto',
1775
1485
  :public => true,
1776
1486
  :type => String,
@@ -1779,7 +1489,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1779
1489
  :description => 'Controls auto-instrumentation of Puma::Rack::URLMap at start up. May be one of [auto|prepend|chain|disabled].'
1780
1490
  },
1781
1491
  :'instrumentation.rack' => {
1782
- :default => instrumentation_value_of(:disable_rack),
1492
+ :default => 'auto',
1783
1493
  :documentation_default => 'auto',
1784
1494
  :public => true,
1785
1495
  :type => String,
@@ -1790,7 +1500,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1790
1500
  "application startup. May be one of [auto|prepend|chain|disabled]."
1791
1501
  },
1792
1502
  :'instrumentation.rack_urlmap' => {
1793
- :default => instrumentation_value_of(:disable_rack_urlmap),
1503
+ :default => 'auto',
1794
1504
  :documentation_default => 'auto',
1795
1505
  :public => true,
1796
1506
  :type => String,
@@ -1799,17 +1509,15 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1799
1509
  :description => 'Controls auto-instrumentation of Rack::URLMap at start up. May be one of [auto|prepend|chain|disabled].'
1800
1510
  },
1801
1511
  :'instrumentation.rake' => {
1802
- :default => instrumentation_value_of(:disable_rake),
1803
- :documentation_default => 'auto',
1804
- :public => :true,
1512
+ :default => 'auto',
1513
+ :public => true,
1805
1514
  :type => String,
1806
1515
  :dynamic_name => true,
1807
1516
  :allowed_from_server => false,
1808
1517
  :description => "Controls auto-instrumentation of rake at start up. May be one of [auto|prepend|chain|disabled]."
1809
1518
  },
1810
1519
  :'instrumentation.redis' => {
1811
- :default => instrumentation_value_of(:disable_redis),
1812
- :documentation_default => 'auto',
1520
+ :default => 'auto',
1813
1521
  :public => true,
1814
1522
  :type => String,
1815
1523
  :dynamic_name => true,
@@ -1817,7 +1525,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1817
1525
  :description => "Controls auto-instrumentation of Redis at start up. May be one of [auto|prepend|chain|disabled]."
1818
1526
  },
1819
1527
  :'instrumentation.resque' => {
1820
- :default => instrumentation_value_of(:disable_resque),
1528
+ :default => 'auto',
1821
1529
  :documentation_default => 'auto',
1822
1530
  :public => true,
1823
1531
  :type => String,
@@ -1826,9 +1534,8 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1826
1534
  :description => "Controls auto-instrumentation of resque at start up. May be one of [auto|prepend|chain|disabled]."
1827
1535
  },
1828
1536
  :'instrumentation.sinatra' => {
1829
- :default => instrumentation_value_of(:disable_sinatra),
1830
- :documentation_default => 'auto',
1831
- :public => :true,
1537
+ :default => 'auto',
1538
+ :public => true,
1832
1539
  :type => String,
1833
1540
  :dynamic_name => true,
1834
1541
  :allowed_from_server => false,
@@ -1843,7 +1550,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1843
1550
  :description => "Controls auto-instrumentation of the Thread class at start up to allow the agent to correctly nest spans inside of an asynchronous transaction. This does not enable the agent to automatically trace all threads created (see `instrumentation.thread.tracing`). May be one of [auto|prepend|chain|disabled]."
1844
1551
  },
1845
1552
  :'instrumentation.thread.tracing' => {
1846
- :default => false,
1553
+ :default => true,
1847
1554
  :public => true,
1848
1555
  :type => Boolean,
1849
1556
  :allowed_from_server => false,
@@ -1865,7 +1572,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1865
1572
  :description => 'Controls auto-instrumentation of the Tilt template rendering library at start up. May be one of [auto|prepend|chain|disabled].'
1866
1573
  },
1867
1574
  :'instrumentation.typhoeus' => {
1868
- :default => instrumentation_value_of(:disable_typhoeus),
1575
+ :default => 'auto',
1869
1576
  :documentation_default => 'auto',
1870
1577
  :public => true,
1871
1578
  :type => String,
@@ -1907,12 +1614,17 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1907
1614
  # Rails
1908
1615
  :'defer_rails_initialization' => {
1909
1616
  :default => false,
1910
- :public => false,
1617
+ :public => true,
1911
1618
  :type => Boolean,
1619
+ :external => true, # this config is used directly from the ENV variables
1912
1620
  :allowed_from_server => false,
1913
- :description => 'This configuration option is currently unreachable. Please do not use. ' \
1914
- 'If `true`, when the agent is in an application using Ruby on Rails, it will start after ' \
1915
- 'config/initializers have run.'
1621
+ :description => <<-DESCRIPTION
1622
+ If `true`, when the agent is in an application using Ruby on Rails, it will start after `config/initializers` run.
1623
+
1624
+ <Callout variant="caution">
1625
+ This option may only be set by environment variable.
1626
+ </Callout>
1627
+ DESCRIPTION
1916
1628
  },
1917
1629
  # Rake
1918
1630
  :'rake.tasks' => {
@@ -1934,16 +1646,6 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1934
1646
  :allowed_from_server => false,
1935
1647
  :description => 'Timeout for waiting on connect to complete before a rake task'
1936
1648
  },
1937
- # Resque
1938
- :'resque.capture_params' => {
1939
- :default => false,
1940
- :public => true,
1941
- :type => Boolean,
1942
- :allowed_from_server => false,
1943
- :dynamic_name => true,
1944
- :deprecated => true,
1945
- :description => 'If `true`, enables the capture of job arguments for transaction traces and traced errors in Resque.'
1946
- },
1947
1649
  # Rules
1948
1650
  :'rules.ignore_url_regexes' => {
1949
1651
  :default => [],
@@ -1953,16 +1655,6 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
1953
1655
  :transform => DefaultSource.method(:convert_to_regexp_list),
1954
1656
  :description => 'Define transactions you want the agent to ignore, by specifying a list of patterns matching the URI you want to ignore. For more detail, see [the docs on ignoring specific transactions](/docs/agents/ruby-agent/api-guides/ignoring-specific-transactions/#config-ignoring).'
1955
1657
  },
1956
- # Sidekiq
1957
- :'sidekiq.capture_params' => {
1958
- :default => false,
1959
- :public => true,
1960
- :type => Boolean,
1961
- :allowed_from_server => false,
1962
- :dynamic_name => true,
1963
- :deprecated => true,
1964
- :description => 'If `true`, enables the capture of job arguments for transaction traces and traced errors in Sidekiq.'
1965
- },
1966
1658
  # Slow SQL
1967
1659
  :'slow_sql.enabled' => {
1968
1660
  :default => value_of(:'transaction_tracer.enabled'),
@@ -2151,7 +1843,7 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
2151
1843
  :description => 'Real user monitoring license key for the browser timing header.'
2152
1844
  },
2153
1845
  :'browser_monitoring.loader' => {
2154
- :default => DefaultSource.browser_monitoring_loader,
1846
+ :default => 'rum',
2155
1847
  :public => false,
2156
1848
  :type => String,
2157
1849
  :allowed_from_server => true,
@@ -2207,15 +1899,6 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
2207
1899
  :allowed_from_server => true,
2208
1900
  :description => 'Number of seconds betwixt connections to the New Relic data collection service.'
2209
1901
  },
2210
- :disable_grape_instrumentation => {
2211
- :default => false,
2212
- :public => false,
2213
- :type => Boolean,
2214
- :allowed_from_server => false,
2215
- :deprecated => true,
2216
- :description => deprecated_description(:'instrumentation.grape',
2217
- 'If `true`, the agent won\'t install Grape instrumentation.')
2218
- },
2219
1902
  :dispatcher => {
2220
1903
  :default => DefaultSource.dispatcher,
2221
1904
  :public => false,
@@ -2237,31 +1920,6 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
2237
1920
  :allowed_from_server => false,
2238
1921
  :description => 'Internal name for controlling Rails 3+ middleware instrumentation'
2239
1922
  },
2240
- :disable_rake_instrumentation => {
2241
- :default => false,
2242
- :public => false,
2243
- :type => Boolean,
2244
- :allowed_from_server => false,
2245
- :deprecated => true,
2246
- :description => deprecated_description(:'instrumentation.rake', 'Enable or disable Rake instrumentation. Preferred key is `disable_rake`')
2247
- },
2248
- :disable_redis_instrumentation => {
2249
- :default => false,
2250
- :public => false,
2251
- :type => Boolean,
2252
- :deprecated => true,
2253
- :allowed_from_server => false,
2254
- :description => deprecated_description(:'instrumentation.redis', 'Disables installation of Redis instrumentation. Standard key to use is disable_redis.')
2255
- },
2256
- :cross_application_tracing => {
2257
- :default => nil,
2258
- :allow_nil => true,
2259
- :public => false,
2260
- :type => Boolean,
2261
- :allowed_from_server => false,
2262
- :deprecated => true,
2263
- :description => 'Deprecated in favor of distributed_tracing.enabled'
2264
- },
2265
1923
  :enabled => {
2266
1924
  :default => true,
2267
1925
  :public => false,
@@ -2299,17 +1957,8 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
2299
1957
  :allowed_from_server => true,
2300
1958
  :description => 'Number of seconds betwixt connections to the New Relic event collection services.'
2301
1959
  },
2302
- :'event_report_period.analytic_event_data' => {
2303
- :default => 60,
2304
- :public => false,
2305
- :type => Integer,
2306
- :dynamic_name => true,
2307
- :deprecated => true,
2308
- :allowed_from_server => true,
2309
- :description => deprecated_description(:'event_report_period.transaction_event_data', 'Number of seconds betwixt connections to the New Relic transaction event collection services.')
2310
- },
2311
1960
  :'event_report_period.transaction_event_data' => {
2312
- :default => value_of(:'event_report_period.analytic_event_data'),
1961
+ :default => 60,
2313
1962
  :public => false,
2314
1963
  :type => Integer,
2315
1964
  :dynamic_name => true,
@@ -2401,14 +2050,6 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
2401
2050
  :allowed_from_server => true,
2402
2051
  :description => 'JavaScript agent loader content.'
2403
2052
  },
2404
- :js_errors_beta => {
2405
- :default => false,
2406
- :public => false,
2407
- :type => Boolean,
2408
- :allowed_from_server => false,
2409
- :deprecated => true,
2410
- :description => 'Enable or disable beta JavaScript error reporting.'
2411
- },
2412
2053
  :keep_alive_timeout => {
2413
2054
  :default => 60,
2414
2055
  :public => false,
@@ -2416,14 +2057,6 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
2416
2057
  :allowed_from_server => true,
2417
2058
  :description => 'Timeout for keep alive on TCP connection to collector if supported by Ruby version. Only used in conjunction when aggressive_keepalive is enabled.'
2418
2059
  },
2419
- :keep_retrying => {
2420
- :default => true,
2421
- :public => false,
2422
- :type => Boolean,
2423
- :deprecated => true,
2424
- :allowed_from_server => false,
2425
- :description => 'Enable or disable retrying failed connections to the New Relic data collection service.'
2426
- },
2427
2060
  :max_payload_size_in_bytes => {
2428
2061
  :default => 1000000,
2429
2062
  :public => false,
@@ -2445,15 +2078,6 @@ If `true`, disables agent middleware for Sinatra. This middleware is responsible
2445
2078
  :allowed_from_server => false,
2446
2079
  :description => 'Port for the New Relic data collection service.'
2447
2080
  },
2448
- :prepend_net_instrumentation => {
2449
- :default => true,
2450
- :public => false,
2451
- :type => Boolean,
2452
- :allowed_from_server => false,
2453
- :deprecated => true,
2454
- :description => deprecated_description(:'instrumentation.net_http',
2455
- 'If `true`, uses `Module#prepend` rather than alias_method for Net::HTTP instrumentation.')
2456
- },
2457
2081
  :primary_application_id => {
2458
2082
  :default => nil,
2459
2083
  :allow_nil => true,