newrelic_rpm 6.9.0.363 → 6.10.0.364
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -0
- data/CHANGELOG.md +59 -5
- data/lib/new_relic/agent.rb +3 -2
- data/lib/new_relic/agent/agent.rb +2 -2
- data/lib/new_relic/agent/datastores/mongo.rb +1 -1
- data/lib/new_relic/agent/distributed_tracing/trace_context_payload.rb +1 -1
- data/lib/new_relic/agent/error_collector.rb +30 -11
- data/lib/new_relic/agent/error_event_aggregator.rb +4 -4
- data/lib/new_relic/agent/hostname.rb +7 -1
- data/lib/new_relic/agent/http_clients/abstract.rb +82 -0
- data/lib/new_relic/agent/http_clients/curb_wrappers.rb +24 -19
- data/lib/new_relic/agent/http_clients/excon_wrappers.rb +28 -13
- data/lib/new_relic/agent/http_clients/http_rb_wrappers.rb +17 -21
- data/lib/new_relic/agent/http_clients/httpclient_wrappers.rb +10 -11
- data/lib/new_relic/agent/http_clients/net_http_wrappers.rb +16 -4
- data/lib/new_relic/agent/http_clients/typhoeus_wrappers.rb +4 -6
- data/lib/new_relic/agent/http_clients/uri_util.rb +3 -2
- data/lib/new_relic/agent/instrumentation/action_cable_subscriber.rb +4 -5
- data/lib/new_relic/agent/instrumentation/action_controller_subscriber.rb +4 -0
- data/lib/new_relic/agent/instrumentation/action_view_subscriber.rb +11 -2
- data/lib/new_relic/agent/instrumentation/active_record.rb +4 -2
- data/lib/new_relic/agent/instrumentation/active_record_subscriber.rb +7 -2
- data/lib/new_relic/agent/instrumentation/active_storage_subscriber.rb +8 -4
- data/lib/new_relic/agent/instrumentation/bunny.rb +44 -27
- data/lib/new_relic/agent/instrumentation/curb.rb +58 -17
- data/lib/new_relic/agent/instrumentation/data_mapper.rb +3 -1
- data/lib/new_relic/agent/instrumentation/excon/connection.rb +6 -3
- data/lib/new_relic/agent/instrumentation/excon/middleware.rb +2 -1
- data/lib/new_relic/agent/instrumentation/http.rb +5 -2
- data/lib/new_relic/agent/instrumentation/httpclient.rb +4 -2
- data/lib/new_relic/agent/instrumentation/memcache.rb +3 -1
- data/lib/new_relic/agent/instrumentation/memcache/dalli.rb +6 -2
- data/lib/new_relic/agent/instrumentation/mongo.rb +9 -3
- data/lib/new_relic/agent/instrumentation/mongodb_command_subscriber.rb +13 -0
- data/lib/new_relic/agent/instrumentation/net.rb +5 -2
- data/lib/new_relic/agent/instrumentation/notifications_subscriber.rb +25 -1
- data/lib/new_relic/agent/instrumentation/redis.rb +9 -3
- data/lib/new_relic/agent/instrumentation/sidekiq.rb +0 -1
- data/lib/new_relic/agent/instrumentation/typhoeus.rb +22 -5
- data/lib/new_relic/agent/logging.rb +1 -1
- data/lib/new_relic/agent/method_tracer_helpers.rb +1 -1
- data/lib/new_relic/agent/noticible_error.rb +22 -0
- data/lib/new_relic/agent/span_event_primitive.rb +43 -32
- data/lib/new_relic/agent/tracer.rb +30 -15
- data/lib/new_relic/agent/transaction.rb +47 -43
- data/lib/new_relic/agent/transaction/abstract_segment.rb +26 -0
- data/lib/new_relic/agent/transaction/external_request_segment.rb +25 -9
- data/lib/new_relic/agent/transaction_error_primitive.rb +5 -3
- data/lib/new_relic/cli/commands/install.rb +3 -2
- data/lib/new_relic/noticed_error.rb +28 -9
- data/lib/new_relic/rack/browser_monitoring.rb +2 -1
- data/lib/new_relic/version.rb +1 -1
- data/lib/tasks/multiverse.rb +25 -0
- data/lib/tasks/tests.rake +1 -1
- data/test/agent_helper.rb +217 -64
- metadata +4 -3
- data/lib/new_relic/agent/http_clients/abstract_request.rb +0 -31
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: 6.
|
4
|
+
version: 6.10.0.364
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Pine
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-02
|
14
|
+
date: 2020-04-02 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake
|
@@ -286,7 +286,7 @@ files:
|
|
286
286
|
- lib/new_relic/agent/harvester.rb
|
287
287
|
- lib/new_relic/agent/heap.rb
|
288
288
|
- lib/new_relic/agent/hostname.rb
|
289
|
-
- lib/new_relic/agent/http_clients/
|
289
|
+
- lib/new_relic/agent/http_clients/abstract.rb
|
290
290
|
- lib/new_relic/agent/http_clients/curb_wrappers.rb
|
291
291
|
- lib/new_relic/agent/http_clients/excon_wrappers.rb
|
292
292
|
- lib/new_relic/agent/http_clients/http_rb_wrappers.rb
|
@@ -372,6 +372,7 @@ files:
|
|
372
372
|
- lib/new_relic/agent/new_relic_service/json_marshaller.rb
|
373
373
|
- lib/new_relic/agent/new_relic_service/marshaller.rb
|
374
374
|
- lib/new_relic/agent/new_relic_service/security_policy_settings.rb
|
375
|
+
- lib/new_relic/agent/noticible_error.rb
|
375
376
|
- lib/new_relic/agent/null_logger.rb
|
376
377
|
- lib/new_relic/agent/obfuscator.rb
|
377
378
|
- lib/new_relic/agent/parameter_filtering.rb
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# This file is distributed under New Relic's license terms.
|
3
|
-
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.
|
4
|
-
|
5
|
-
module NewRelic
|
6
|
-
module Agent
|
7
|
-
module HTTPClients
|
8
|
-
|
9
|
-
# This class provides a public interface for wrapping HTTP requests. This
|
10
|
-
# may be used to create wrappers that are compatible with New Relic's
|
11
|
-
# external request API.
|
12
|
-
#
|
13
|
-
# @api public
|
14
|
-
class AbstractRequest
|
15
|
-
ERROR_MESSAGE = 'Subclasses of NewRelic::Agent::HTTPClients::AbstractRequest must implement a '.freeze
|
16
|
-
|
17
|
-
def []
|
18
|
-
raise NotImplementedError, ERROR_MESSAGE + ':[] method'
|
19
|
-
end
|
20
|
-
|
21
|
-
def []=
|
22
|
-
raise NotImplementedError, ERROR_MESSAGE + ':[]= method'
|
23
|
-
end
|
24
|
-
|
25
|
-
def host_from_header
|
26
|
-
raise NotImplementedError, ERROR_MESSAGE + ':host_from_header method'
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|