newrelic_rpm 9.6.0 → 9.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -2
  3. data/CONTRIBUTING.md +0 -7
  4. data/bin/newrelic +2 -9
  5. data/bin/newrelic_rpm +15 -0
  6. data/init.rb +2 -2
  7. data/lib/new_relic/agent/agent.rb +1 -1
  8. data/lib/new_relic/agent/agent_helpers/shutdown.rb +1 -1
  9. data/lib/new_relic/agent/agent_helpers/special_startup.rb +1 -1
  10. data/lib/new_relic/agent/agent_helpers/start_worker_thread.rb +2 -2
  11. data/lib/new_relic/agent/agent_helpers/startup.rb +2 -2
  12. data/lib/new_relic/agent/attribute_filter.rb +3 -3
  13. data/lib/new_relic/agent/configuration/default_source.rb +14 -2
  14. data/lib/new_relic/agent/configuration/manager.rb +8 -7
  15. data/lib/new_relic/agent/datastores/mongo/metric_translator.rb +1 -1
  16. data/lib/new_relic/agent/distributed_tracing/distributed_trace_payload.rb +3 -3
  17. data/lib/new_relic/agent/event_loop.rb +1 -1
  18. data/lib/new_relic/agent/http_clients/abstract.rb +4 -0
  19. data/lib/new_relic/agent/http_clients/async_http_wrappers.rb +0 -3
  20. data/lib/new_relic/agent/http_clients/curb_wrappers.rb +1 -3
  21. data/lib/new_relic/agent/http_clients/ethon_wrappers.rb +0 -2
  22. data/lib/new_relic/agent/http_clients/excon_wrappers.rb +0 -3
  23. data/lib/new_relic/agent/http_clients/http_rb_wrappers.rb +1 -3
  24. data/lib/new_relic/agent/http_clients/httpclient_wrappers.rb +0 -3
  25. data/lib/new_relic/agent/http_clients/httpx_wrappers.rb +0 -2
  26. data/lib/new_relic/agent/http_clients/net_http_wrappers.rb +1 -4
  27. data/lib/new_relic/agent/http_clients/typhoeus_wrappers.rb +0 -3
  28. data/lib/new_relic/agent/instrumentation/active_merchant.rb +1 -1
  29. data/lib/new_relic/agent/instrumentation/elasticsearch/instrumentation.rb +1 -1
  30. data/lib/new_relic/agent/instrumentation/fiber/instrumentation.rb +1 -4
  31. data/lib/new_relic/agent/instrumentation/sinatra/ignorer.rb +1 -1
  32. data/lib/new_relic/agent/instrumentation/sinatra.rb +1 -1
  33. data/lib/new_relic/agent/instrumentation/thread/instrumentation.rb +1 -4
  34. data/lib/new_relic/agent/instrumentation/view_component/chain.rb +21 -0
  35. data/lib/new_relic/agent/instrumentation/view_component/instrumentation.rb +38 -0
  36. data/lib/new_relic/agent/instrumentation/view_component/prepend.rb +13 -0
  37. data/lib/new_relic/agent/instrumentation/view_component.rb +26 -0
  38. data/lib/new_relic/agent/javascript_instrumentor.rb +0 -1
  39. data/lib/new_relic/agent/new_relic_service/encoders.rb +2 -2
  40. data/lib/new_relic/agent/new_relic_service.rb +8 -6
  41. data/lib/new_relic/agent/obfuscator.rb +0 -2
  42. data/lib/new_relic/agent/pipe_channel_manager.rb +2 -2
  43. data/lib/new_relic/agent/rules_engine/segment_terms_rule.rb +1 -2
  44. data/lib/new_relic/agent/sql_sampler.rb +0 -1
  45. data/lib/new_relic/agent/tracer.rb +4 -3
  46. data/lib/new_relic/agent/transaction/tracing.rb +11 -1
  47. data/lib/new_relic/agent/vm/{mri_vm.rb → c_ruby_vm.rb} +7 -15
  48. data/lib/new_relic/agent/vm.rb +2 -2
  49. data/lib/new_relic/agent/worker_loop.rb +1 -1
  50. data/lib/new_relic/agent.rb +5 -5
  51. data/lib/new_relic/base64.rb +25 -0
  52. data/lib/new_relic/cli/command.rb +6 -4
  53. data/lib/new_relic/constants.rb +2 -0
  54. data/lib/new_relic/control/frameworks/rails.rb +3 -3
  55. data/lib/new_relic/control/instrumentation.rb +1 -1
  56. data/lib/new_relic/local_environment.rb +22 -13
  57. data/lib/new_relic/supportability_helper.rb +1 -1
  58. data/lib/new_relic/version.rb +1 -1
  59. data/lib/tasks/config.rake +1 -1
  60. data/lib/tasks/helpers/config.html.erb +6 -6
  61. data/lib/tasks/helpers/newrelicyml.rb +1 -1
  62. data/newrelic.yml +6 -2
  63. data/newrelic_rpm.gemspec +3 -5
  64. data/test/agent_helper.rb +14 -2
  65. metadata +12 -21
  66. data/bin/newrelic_cmd +0 -7
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic_rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.6.0
4
+ version: 9.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanna McClure
@@ -11,22 +11,8 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-10-30 00:00:00.000000000 Z
14
+ date: 2024-01-10 00:00:00.000000000 Z
15
15
  dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: base64
18
- requirement: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: '0'
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
16
  - !ruby/object:Gem::Dependency
31
17
  name: bundler
32
18
  requirement: !ruby/object:Gem::Requirement
@@ -117,14 +103,14 @@ dependencies:
117
103
  requirements:
118
104
  - - '='
119
105
  - !ruby/object:Gem::Version
120
- version: '1.54'
106
+ version: 1.57.2
121
107
  type: :development
122
108
  prerelease: false
123
109
  version_requirements: !ruby/object:Gem::Requirement
124
110
  requirements:
125
111
  - - '='
126
112
  - !ruby/object:Gem::Version
127
- version: '1.54'
113
+ version: 1.57.2
128
114
  - !ruby/object:Gem::Dependency
129
115
  name: rubocop-ast
130
116
  requirement: !ruby/object:Gem::Requirement
@@ -232,7 +218,7 @@ description: |
232
218
  https://github.com/newrelic/newrelic-ruby-agent/
233
219
  email: support@newrelic.com
234
220
  executables:
235
- - newrelic_cmd
221
+ - newrelic_rpm
236
222
  - newrelic
237
223
  - nrdebug
238
224
  extensions: []
@@ -253,7 +239,7 @@ files:
253
239
  - THIRD_PARTY_NOTICES.md
254
240
  - Thorfile
255
241
  - bin/newrelic
256
- - bin/newrelic_cmd
242
+ - bin/newrelic_rpm
257
243
  - bin/nrdebug
258
244
  - init.rb
259
245
  - install.rb
@@ -520,6 +506,10 @@ files:
520
506
  - lib/new_relic/agent/instrumentation/typhoeus/chain.rb
521
507
  - lib/new_relic/agent/instrumentation/typhoeus/instrumentation.rb
522
508
  - lib/new_relic/agent/instrumentation/typhoeus/prepend.rb
509
+ - lib/new_relic/agent/instrumentation/view_component.rb
510
+ - lib/new_relic/agent/instrumentation/view_component/chain.rb
511
+ - lib/new_relic/agent/instrumentation/view_component/instrumentation.rb
512
+ - lib/new_relic/agent/instrumentation/view_component/prepend.rb
523
513
  - lib/new_relic/agent/internal_agent_error.rb
524
514
  - lib/new_relic/agent/javascript_instrumentor.rb
525
515
  - lib/new_relic/agent/linking_metadata.rb
@@ -608,11 +598,12 @@ files:
608
598
  - lib/new_relic/agent/utilization/vendor.rb
609
599
  - lib/new_relic/agent/utilization_data.rb
610
600
  - lib/new_relic/agent/vm.rb
601
+ - lib/new_relic/agent/vm/c_ruby_vm.rb
611
602
  - lib/new_relic/agent/vm/jruby_vm.rb
612
603
  - lib/new_relic/agent/vm/monotonic_gc_profiler.rb
613
- - lib/new_relic/agent/vm/mri_vm.rb
614
604
  - lib/new_relic/agent/vm/snapshot.rb
615
605
  - lib/new_relic/agent/worker_loop.rb
606
+ - lib/new_relic/base64.rb
616
607
  - lib/new_relic/cli/command.rb
617
608
  - lib/new_relic/cli/commands/deployments.rb
618
609
  - lib/new_relic/cli/commands/install.rb
data/bin/newrelic_cmd DELETED
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- # This command has been renamed "newrelic"
5
- # executes one of the commands in the new_relic/commands directory
6
- # pass the name of the command as an argument
7
- load File.dirname(__FILE__) + '/newrelic'