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.
- checksums.yaml +4 -4
- data/.build_ignore +26 -0
- data/CHANGELOG.md +70 -0
- data/README.md +4 -4
- data/lib/new_relic/agent/configuration/default_source.rb +77 -29
- data/lib/new_relic/agent/configuration/manager.rb +3 -2
- data/lib/new_relic/agent/configuration/yaml_source.rb +13 -0
- data/lib/new_relic/agent/distributed_tracing.rb +1 -1
- data/lib/new_relic/agent/instrumentation/active_record.rb +1 -1
- data/lib/new_relic/agent/instrumentation/active_record_notifications.rb +2 -1
- data/lib/new_relic/agent/instrumentation/concurrent_ruby/chain.rb +1 -1
- data/lib/new_relic/agent/instrumentation/concurrent_ruby/instrumentation.rb +1 -2
- data/lib/new_relic/agent/instrumentation/concurrent_ruby/prepend.rb +1 -1
- data/lib/new_relic/agent/instrumentation/fiber/chain.rb +10 -3
- data/lib/new_relic/agent/instrumentation/fiber/instrumentation.rb +1 -2
- data/lib/new_relic/agent/instrumentation/fiber/prepend.rb +10 -3
- data/lib/new_relic/agent/instrumentation/memcache/instrumentation.rb +3 -3
- data/lib/new_relic/agent/instrumentation/rails_notifications/action_cable.rb +1 -1
- data/lib/new_relic/agent/instrumentation/thread/chain.rb +1 -1
- data/lib/new_relic/agent/instrumentation/thread/instrumentation.rb +0 -1
- data/lib/new_relic/agent/instrumentation/thread/prepend.rb +1 -1
- data/lib/new_relic/agent/log_event_aggregator.rb +49 -2
- data/lib/new_relic/agent/log_event_attributes.rb +115 -0
- data/lib/new_relic/agent/logging.rb +4 -4
- data/lib/new_relic/agent/method_tracer_helpers.rb +26 -5
- data/lib/new_relic/agent/tracer.rb +2 -2
- data/lib/new_relic/agent.rb +38 -1
- data/lib/new_relic/cli/command.rb +1 -0
- data/lib/new_relic/dependency_detection.rb +6 -0
- data/lib/new_relic/latest_changes.rb +1 -1
- data/lib/new_relic/rack/browser_monitoring.rb +1 -1
- data/lib/new_relic/supportability_helper.rb +1 -0
- data/lib/new_relic/traced_thread.rb +2 -3
- data/lib/new_relic/version.rb +2 -2
- data/lib/sequel/extensions/new_relic_instrumentation.rb +1 -1
- data/lib/tasks/bump_version.rake +21 -0
- data/lib/tasks/helpers/newrelicyml.rb +144 -0
- data/lib/tasks/helpers/version_bump.rb +62 -0
- data/lib/tasks/newrelicyml.rake +13 -0
- data/newrelic.yml +307 -266
- data/newrelic_rpm.gemspec +10 -7
- metadata +13 -25
- data/.gitignore +0 -43
- data/.project +0 -23
- data/.rubocop.yml +0 -1845
- data/.rubocop_todo.yml +0 -61
- data/.simplecov +0 -16
- data/.snyk +0 -11
- data/.yardopts +0 -27
- data/Brewfile +0 -13
- data/DOCKER.md +0 -167
- data/Dockerfile +0 -10
- data/Guardfile +0 -27
- data/config/database.yml +0 -5
- data/config.dot +0 -278
- data/docker-compose.yml +0 -107
- data/lefthook.yml +0 -9
- data/lib/tasks/helpers/removers.rb +0 -33
- data/lib/tasks/multiverse.rake +0 -6
- data/lib/tasks/multiverse.rb +0 -84
data/newrelic_rpm.gemspec
CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
https://github.com/newrelic/newrelic-ruby-agent/
|
22
22
|
EOS
|
23
23
|
s.email = 'support@newrelic.com'
|
24
|
+
# TODO: MAJOR VERSION - remove newrelic_cmd, deprecated since version 2.13
|
24
25
|
s.executables = %w[newrelic_cmd newrelic nrdebug]
|
25
26
|
s.extra_rdoc_files = [
|
26
27
|
'CHANGELOG.md',
|
@@ -38,12 +39,14 @@ Gem::Specification.new do |s|
|
|
38
39
|
'homepage_uri' => 'https://newrelic.com/ruby'
|
39
40
|
}
|
40
41
|
|
41
|
-
|
42
|
-
|
43
|
-
|
42
|
+
reject_list = File.read('./.build_ignore').split("\n")
|
43
|
+
file_list = `git ls-files -z`.split("\x0").reject { |f| reject_list.any? { |rf| f.start_with?(rf) } }
|
44
|
+
# test/agent_helper.rb is a requirement for the NewRelic::Agent.require_test_helper public API
|
45
|
+
test_helper_path = 'test/agent_helper.rb'
|
46
|
+
file_list << test_helper_path
|
44
47
|
s.files = file_list
|
45
48
|
|
46
|
-
s.homepage = 'https://github.com/newrelic/
|
49
|
+
s.homepage = 'https://github.com/newrelic/newrelic-ruby-agent'
|
47
50
|
s.require_paths = ['lib']
|
48
51
|
s.summary = 'New Relic Ruby Agent'
|
49
52
|
s.add_development_dependency 'bundler'
|
@@ -55,14 +58,14 @@ Gem::Specification.new do |s|
|
|
55
58
|
s.add_development_dependency 'pry' unless ENV['CI']
|
56
59
|
s.add_development_dependency 'rake', '12.3.3'
|
57
60
|
|
58
|
-
s.add_development_dependency 'rubocop', '1.
|
59
|
-
s.add_development_dependency 'rubocop-ast', '1.
|
61
|
+
s.add_development_dependency 'rubocop', '1.51' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
|
62
|
+
s.add_development_dependency 'rubocop-ast', '1.28.1' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
|
60
63
|
s.add_development_dependency 'rubocop-minitest', '0.27.0' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
|
61
64
|
s.add_development_dependency 'rubocop-performance', '1.16.0' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
|
62
65
|
s.add_development_dependency 'rubocop-rake', '0.6.0' unless ENV['CI'] && RUBY_VERSION < '3.0.0'
|
63
66
|
|
64
67
|
s.add_development_dependency 'simplecov' if RUBY_VERSION >= '2.7.0'
|
65
68
|
s.add_development_dependency 'thor' unless ENV['CI']
|
66
|
-
s.add_development_dependency 'warning'
|
69
|
+
s.add_development_dependency 'warning'
|
67
70
|
s.add_development_dependency 'yard'
|
68
71
|
end
|
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.
|
4
|
+
version: 9.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanna McClure
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2023-
|
14
|
+
date: 2023-07-11 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -89,28 +89,28 @@ dependencies:
|
|
89
89
|
requirements:
|
90
90
|
- - '='
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: 1.
|
92
|
+
version: '1.51'
|
93
93
|
type: :development
|
94
94
|
prerelease: false
|
95
95
|
version_requirements: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
97
|
- - '='
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: 1.
|
99
|
+
version: '1.51'
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
name: rubocop-ast
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
104
|
- - '='
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version: 1.
|
106
|
+
version: 1.28.1
|
107
107
|
type: :development
|
108
108
|
prerelease: false
|
109
109
|
version_requirements: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
111
|
- - '='
|
112
112
|
- !ruby/object:Gem::Version
|
113
|
-
version: 1.
|
113
|
+
version: 1.28.1
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: rubocop-minitest
|
116
116
|
requirement: !ruby/object:Gem::Requirement
|
@@ -215,20 +215,10 @@ extra_rdoc_files:
|
|
215
215
|
- CONTRIBUTING.md
|
216
216
|
- newrelic.yml
|
217
217
|
files:
|
218
|
-
- ".
|
219
|
-
- ".project"
|
220
|
-
- ".rubocop.yml"
|
221
|
-
- ".rubocop_todo.yml"
|
222
|
-
- ".simplecov"
|
223
|
-
- ".snyk"
|
224
|
-
- ".yardopts"
|
225
|
-
- Brewfile
|
218
|
+
- ".build_ignore"
|
226
219
|
- CHANGELOG.md
|
227
220
|
- CONTRIBUTING.md
|
228
|
-
- DOCKER.md
|
229
|
-
- Dockerfile
|
230
221
|
- Gemfile
|
231
|
-
- Guardfile
|
232
222
|
- LICENSE
|
233
223
|
- README.md
|
234
224
|
- Rakefile
|
@@ -237,12 +227,8 @@ files:
|
|
237
227
|
- bin/newrelic
|
238
228
|
- bin/newrelic_cmd
|
239
229
|
- bin/nrdebug
|
240
|
-
- config.dot
|
241
|
-
- config/database.yml
|
242
|
-
- docker-compose.yml
|
243
230
|
- init.rb
|
244
231
|
- install.rb
|
245
|
-
- lefthook.yml
|
246
232
|
- lib/new_relic/agent.rb
|
247
233
|
- lib/new_relic/agent/adaptive_sampler.rb
|
248
234
|
- lib/new_relic/agent/agent.rb
|
@@ -483,6 +469,7 @@ files:
|
|
483
469
|
- lib/new_relic/agent/linking_metadata.rb
|
484
470
|
- lib/new_relic/agent/local_log_decorator.rb
|
485
471
|
- lib/new_relic/agent/log_event_aggregator.rb
|
472
|
+
- lib/new_relic/agent/log_event_attributes.rb
|
486
473
|
- lib/new_relic/agent/log_once.rb
|
487
474
|
- lib/new_relic/agent/log_priority.rb
|
488
475
|
- lib/new_relic/agent/logging.rb
|
@@ -615,14 +602,16 @@ files:
|
|
615
602
|
- lib/sequel/extensions/new_relic_instrumentation.rb
|
616
603
|
- lib/sequel/plugins/new_relic_instrumentation.rb
|
617
604
|
- lib/tasks/all.rb
|
605
|
+
- lib/tasks/bump_version.rake
|
618
606
|
- lib/tasks/config.rake
|
619
607
|
- lib/tasks/coverage_report.rake
|
620
608
|
- lib/tasks/helpers/config.html.erb
|
621
609
|
- lib/tasks/helpers/config.text.erb
|
622
610
|
- lib/tasks/helpers/format.rb
|
623
611
|
- lib/tasks/helpers/matches.rb
|
612
|
+
- lib/tasks/helpers/newrelicyml.rb
|
624
613
|
- lib/tasks/helpers/prompt.rb
|
625
|
-
- lib/tasks/helpers/
|
614
|
+
- lib/tasks/helpers/version_bump.rb
|
626
615
|
- lib/tasks/install.rake
|
627
616
|
- lib/tasks/instrumentation_generator/README.md
|
628
617
|
- lib/tasks/instrumentation_generator/TODO.md
|
@@ -637,15 +626,14 @@ files:
|
|
637
626
|
- lib/tasks/instrumentation_generator/templates/prepend.tt
|
638
627
|
- lib/tasks/instrumentation_generator/templates/prepend_method.tt
|
639
628
|
- lib/tasks/instrumentation_generator/templates/test.tt
|
640
|
-
- lib/tasks/multiverse.rake
|
641
|
-
- lib/tasks/multiverse.rb
|
642
629
|
- lib/tasks/newrelic.rb
|
630
|
+
- lib/tasks/newrelicyml.rake
|
643
631
|
- lib/tasks/tests.rake
|
644
632
|
- newrelic.yml
|
645
633
|
- newrelic_rpm.gemspec
|
646
634
|
- recipes/newrelic.rb
|
647
635
|
- test/agent_helper.rb
|
648
|
-
homepage: https://github.com/newrelic/
|
636
|
+
homepage: https://github.com/newrelic/newrelic-ruby-agent
|
649
637
|
licenses:
|
650
638
|
- Apache-2.0
|
651
639
|
metadata:
|
data/.gitignore
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
.ruby-version
|
2
|
-
Gemfile.lock
|
3
|
-
Guard*
|
4
|
-
.DS\_Store
|
5
|
-
.svn/
|
6
|
-
*~
|
7
|
-
*.rbc
|
8
|
-
pkg/
|
9
|
-
*.gem
|
10
|
-
!rails
|
11
|
-
.idea/
|
12
|
-
tmp/
|
13
|
-
TAGS
|
14
|
-
tags
|
15
|
-
*.swp
|
16
|
-
*.swo
|
17
|
-
|
18
|
-
coverage
|
19
|
-
/doc/
|
20
|
-
/log/
|
21
|
-
/lerg/
|
22
|
-
gems/newrelic_rpm.gemspec
|
23
|
-
gems/newrelic_rpm*.tar.gz
|
24
|
-
lib/new_relic/build.rb
|
25
|
-
.pryrc
|
26
|
-
.tm_properties
|
27
|
-
.bundle
|
28
|
-
.yardoc
|
29
|
-
artifacts/
|
30
|
-
test/performance/log/
|
31
|
-
test/performance/script/log/
|
32
|
-
infinite_tracing/log/
|
33
|
-
test/fixtures/cross_agent_tests/*/README.md
|
34
|
-
node_modules/
|
35
|
-
yarn.lock
|
36
|
-
package-lock.json
|
37
|
-
errors.txt
|
38
|
-
.history/
|
39
|
-
vendor/
|
40
|
-
Brewfile.lock.json
|
41
|
-
.github/actions/simplecov-report/lib/
|
42
|
-
test/minitest/minitest_time_report
|
43
|
-
gem_manifest_*.json
|
data/.project
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<projectDescription>
|
3
|
-
<name>New Relic Agent</name>
|
4
|
-
<comment></comment>
|
5
|
-
<projects>
|
6
|
-
</projects>
|
7
|
-
<buildSpec>
|
8
|
-
<buildCommand>
|
9
|
-
<name>com.aptana.ide.core.unifiedBuilder</name>
|
10
|
-
<arguments>
|
11
|
-
</arguments>
|
12
|
-
</buildCommand>
|
13
|
-
<buildCommand>
|
14
|
-
<name>org.rubypeople.rdt.core.rubybuilder</name>
|
15
|
-
<arguments>
|
16
|
-
</arguments>
|
17
|
-
</buildCommand>
|
18
|
-
</buildSpec>
|
19
|
-
<natures>
|
20
|
-
<nature>com.aptana.ruby.core.rubynature</nature>
|
21
|
-
<nature>org.rubypeople.rdt.core.rubynature</nature>
|
22
|
-
</natures>
|
23
|
-
</projectDescription>
|