newrelic_rpm 8.13.1 → 8.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -1
  3. data/.rubocop.yml +1 -0
  4. data/CHANGELOG.md +3257 -3152
  5. data/CONTRIBUTING.md +1 -2
  6. data/init.rb +1 -1
  7. data/lib/new_relic/agent/agent.rb +14 -466
  8. data/lib/new_relic/agent/agent_helpers/connect.rb +227 -0
  9. data/lib/new_relic/agent/agent_helpers/harvest.rb +153 -0
  10. data/lib/new_relic/agent/agent_helpers/shutdown.rb +72 -0
  11. data/lib/new_relic/agent/agent_helpers/special_startup.rb +75 -0
  12. data/lib/new_relic/agent/agent_helpers/start_worker_thread.rb +167 -0
  13. data/lib/new_relic/agent/agent_helpers/startup.rb +202 -0
  14. data/lib/new_relic/agent/agent_helpers/transmit.rb +76 -0
  15. data/lib/new_relic/agent/configuration/default_source.rb +22 -0
  16. data/lib/new_relic/agent/datastores.rb +2 -2
  17. data/lib/new_relic/agent/guid_generator.rb +11 -2
  18. data/lib/new_relic/agent/instrumentation/active_job.rb +7 -7
  19. data/lib/new_relic/agent/instrumentation/active_merchant.rb +2 -2
  20. data/lib/new_relic/agent/instrumentation/active_record.rb +9 -9
  21. data/lib/new_relic/agent/instrumentation/active_record_notifications.rb +24 -24
  22. data/lib/new_relic/agent/instrumentation/active_storage.rb +2 -2
  23. data/lib/new_relic/agent/instrumentation/active_support.rb +12 -0
  24. data/lib/new_relic/agent/instrumentation/active_support_logger.rb +3 -3
  25. data/lib/new_relic/agent/instrumentation/acts_as_solr.rb +2 -2
  26. data/lib/new_relic/agent/instrumentation/authlogic.rb +2 -2
  27. data/lib/new_relic/agent/instrumentation/bunny/instrumentation.rb +3 -3
  28. data/lib/new_relic/agent/instrumentation/bunny.rb +4 -4
  29. data/lib/new_relic/agent/instrumentation/curb/instrumentation.rb +1 -1
  30. data/lib/new_relic/agent/instrumentation/curb.rb +6 -6
  31. data/lib/new_relic/agent/instrumentation/custom_events_subscriber.rb +37 -0
  32. data/lib/new_relic/agent/instrumentation/data_mapper.rb +50 -50
  33. data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +5 -5
  34. data/lib/new_relic/agent/instrumentation/elasticsearch.rb +5 -5
  35. data/lib/new_relic/agent/instrumentation/excon/middleware.rb +1 -1
  36. data/lib/new_relic/agent/instrumentation/excon.rb +9 -9
  37. data/lib/new_relic/agent/instrumentation/grape.rb +8 -8
  38. data/lib/new_relic/agent/instrumentation/grpc/client/instrumentation.rb +1 -1
  39. data/lib/new_relic/agent/instrumentation/grpc_client.rb +3 -3
  40. data/lib/new_relic/agent/instrumentation/grpc_server.rb +4 -4
  41. data/lib/new_relic/agent/instrumentation/httpclient/instrumentation.rb +1 -1
  42. data/lib/new_relic/agent/instrumentation/httpclient.rb +2 -2
  43. data/lib/new_relic/agent/instrumentation/httprb/instrumentation.rb +1 -1
  44. data/lib/new_relic/agent/instrumentation/httprb.rb +3 -3
  45. data/lib/new_relic/agent/instrumentation/logger.rb +3 -3
  46. data/lib/new_relic/agent/instrumentation/memcache/instrumentation.rb +3 -3
  47. data/lib/new_relic/agent/instrumentation/memcache.rb +16 -16
  48. data/lib/new_relic/agent/instrumentation/mongo.rb +1 -1
  49. data/lib/new_relic/agent/instrumentation/net_http.rb +6 -6
  50. data/lib/new_relic/agent/instrumentation/padrino.rb +3 -3
  51. data/lib/new_relic/agent/instrumentation/passenger_instrumentation.rb +5 -5
  52. data/lib/new_relic/agent/instrumentation/rack.rb +14 -14
  53. data/lib/new_relic/agent/instrumentation/rails3/action_controller.rb +5 -5
  54. data/lib/new_relic/agent/instrumentation/rails_middleware.rb +3 -3
  55. data/lib/new_relic/agent/instrumentation/rails_notifications/action_cable.rb +6 -6
  56. data/lib/new_relic/agent/instrumentation/rails_notifications/action_controller.rb +2 -2
  57. data/lib/new_relic/agent/instrumentation/rails_notifications/action_view.rb +5 -3
  58. data/lib/new_relic/agent/instrumentation/rails_notifications/custom_events.rb +30 -0
  59. data/lib/new_relic/agent/instrumentation/rainbows_instrumentation.rb +4 -4
  60. data/lib/new_relic/agent/instrumentation/rake.rb +7 -7
  61. data/lib/new_relic/agent/instrumentation/redis/instrumentation.rb +29 -8
  62. data/lib/new_relic/agent/instrumentation/redis.rb +4 -4
  63. data/lib/new_relic/agent/instrumentation/resque.rb +9 -9
  64. data/lib/new_relic/agent/instrumentation/sequel.rb +2 -2
  65. data/lib/new_relic/agent/instrumentation/sidekiq.rb +3 -3
  66. data/lib/new_relic/agent/instrumentation/sinatra.rb +7 -7
  67. data/lib/new_relic/agent/instrumentation/sunspot.rb +4 -4
  68. data/lib/new_relic/agent/instrumentation/thread.rb +3 -3
  69. data/lib/new_relic/agent/instrumentation/tilt.rb +3 -3
  70. data/lib/new_relic/agent/instrumentation/typhoeus/instrumentation.rb +2 -2
  71. data/lib/new_relic/agent/instrumentation/typhoeus.rb +1 -1
  72. data/lib/new_relic/agent/method_tracer_helpers.rb +6 -11
  73. data/lib/new_relic/agent/tracer.rb +1 -1
  74. data/lib/new_relic/agent/transaction/segment.rb +6 -0
  75. data/lib/new_relic/control/instance_methods.rb +6 -2
  76. data/lib/new_relic/recipes/helpers/send_deployment.rb +2 -1
  77. data/lib/new_relic/version.rb +2 -2
  78. data/lib/newrelic_rpm.rb +13 -2
  79. data/lib/sequel/extensions/newrelic_instrumentation.rb +1 -1
  80. data/lib/sequel/plugins/newrelic_instrumentation.rb +1 -1
  81. data/newrelic.yml +10 -0
  82. data/test/agent_helper.rb +5 -5
  83. metadata +12 -6
  84. data/lib/new_relic/agent/agent/shutdown.rb +0 -35
  85. data/lib/new_relic/agent/agent/special_startup.rb +0 -72
  86. data/lib/new_relic/agent/agent/start_worker_thread.rb +0 -163
  87. data/lib/new_relic/agent/agent/startup.rb +0 -197
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c5439c88f9169482c8899f11dc1f44062a80416ec8c8afa6e29fc426adf716e
4
- data.tar.gz: 496c2021677de4853c07550f43d76fc78c73cd3dcae8b5e632f72e7f8e1db68f
3
+ metadata.gz: 49ca87c2e7358491ffae831592a15cd16b7941c383ed820c08bef95848755488
4
+ data.tar.gz: 6531168cb2c4fcefa32c48efb457013798f7e2ca0bcdd42e3773ea77c91af072
5
5
  SHA512:
6
- metadata.gz: fdc8298c1fc3f96a1ed63a919ff5aed1bfbdf423a9e1f4b69afb21b9729000e53c4f28c59a776e854875160c4accc9b0b6eff5a019b435c6582eadeba688bb05
7
- data.tar.gz: 9375a116af17397f6c05dc6d0a9d413ff147f097647340e1dd4f635f457398caf437034ad92a64ba10cbe4e7ee5db076cc9bdc447c32ecaf20f5ad6cf1f9948b
6
+ metadata.gz: ff267f3c298e097fd669ed70880f7facb2f85f6402cc117cef50c2449d72795784835076a215f788733abe6a0b28e3541215ce04608be0fc634883ab8931476f
7
+ data.tar.gz: 52f6cfd4e327d3c788661d667605d7585015d0ec43ca21fe93fa1fff48251a8721717aa454be7515bed2f0d7751f58f99090504a4cf6d85d391ac3c8d738cd7f
data/.gitignore CHANGED
@@ -30,7 +30,6 @@ artifacts/
30
30
  test/performance/log/
31
31
  test/performance/script/log/
32
32
  infinite_tracing/log/
33
- infinite_tracing/test/new_relic/infinite_tracing/log
34
33
  test/fixtures/cross_agent_tests/*/README.md
35
34
  node_modules/
36
35
  yarn.lock
data/.rubocop.yml CHANGED
@@ -1341,6 +1341,7 @@ Style/MethodCallWithArgsParentheses:
1341
1341
  - skip
1342
1342
  - source
1343
1343
  - stub
1344
+ - stub_const
1344
1345
  AllowedPatterns: [^assert, ^refute]
1345
1346
 
1346
1347
  Style/MethodCallWithoutArgsParentheses: