newrelic_rpm 9.4.0 → 9.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/new_relic/agent/instrumentation/roda/instrumentation.rb +1 -1
- data/lib/new_relic/agent/instrumentation/roda/roda_transaction_namer.rb +1 -1
- data/lib/new_relic/agent/instrumentation/roda.rb +1 -0
- data/lib/new_relic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d061626a8cd184640b8e8bf85c54d475f66f98cadf9385043e91b42d6abff6a
|
4
|
+
data.tar.gz: 29165d5746ceedf8a3cc7862420547e523c6f121a8e3d2b710cf90bb2a3a627c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4c874df18c760e0a79c7fd14577b18a291449d73f781e2fb9e48fcb6ddc60bc3e0a8750a146393ac73248a7a68f84b371d9ee908b297f58323cf3095f96f806
|
7
|
+
data.tar.gz: b3d1137d3eb8db15695052498e32069feb4d6f69b20847de646d0fdbd925a5de1bd15895e1f561092fc3cdc66400adc1ef25d16b19ac342fe53ec7acaf2d24c5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# New Relic Ruby Agent Release Notes
|
2
2
|
|
3
|
+
## v9.4.2
|
4
|
+
|
5
|
+
Version 9.4.2 of the agent re-addresses the 9.4.0 issue of `NoMethodError` seen when using the `uppy-s3_multipart` gem.
|
6
|
+
|
7
|
+
- **Bugfix: Resolve NoMethodError**
|
8
|
+
|
9
|
+
Ruby agent 9.4.1 attempted to fix a `NoMethodError` introduced in 9.4.0. A missing `require` prevented a method from scoping appropriately and has now been added. Thanks to [@spickermann](https://github.com/spickermann) and [@ColinOrr](https://github.com/ColinOrr) for working with us to get this resolved. [PR#2167](https://github.com/newrelic/newrelic-ruby-agent/pull/2167)
|
10
|
+
|
11
|
+
## v9.4.1
|
12
|
+
|
13
|
+
Version 9.4.1 of the agent resolves a `NoMethodError` introduced in 9.4.0.
|
14
|
+
|
15
|
+
- **Bugfix: Resolve NoMethodError**
|
16
|
+
|
17
|
+
Ruby agent 9.4.0 introduced [Roda instrumentation](https://github.com/newrelic/newrelic-ruby-agent/pull/2144), which caused a `NoMethodError` to be raised when attempting to name a Roda transaction. This has been fixed. Thanks to [@spickermann](https://github.com/spickermann) for reporting this issue. [PR#2167](https://github.com/newrelic/newrelic-ruby-agent/pull/2167)
|
18
|
+
|
3
19
|
## v9.4.0
|
4
20
|
|
5
21
|
Version 9.4.0 of the agent adds [Roda](https://roda.jeremyevans.net/) instrumentation, adds a new `allow_all_headers` configuration option to permit capturing all HTTP headers, introduces improved error tracking functionality by associating a transaction id with each error, and uses more reliable network timeout logic.
|
@@ -41,7 +41,7 @@ module NewRelic::Agent::Instrumentation
|
|
41
41
|
def _roda_handle_main_route_with_tracing(*args)
|
42
42
|
perform_action_with_newrelic_trace(
|
43
43
|
category: :roda,
|
44
|
-
name: TransactionNamer.transaction_name(request),
|
44
|
+
name: ::NewRelic::Agent::Instrumentation::Roda::TransactionNamer.transaction_name(request),
|
45
45
|
params: ::NewRelic::Agent::ParameterFiltering::apply_filters(request.env, rack_request_params)
|
46
46
|
) do
|
47
47
|
yield
|
@@ -10,7 +10,7 @@ module NewRelic
|
|
10
10
|
extend self
|
11
11
|
|
12
12
|
ROOT = '/'.freeze
|
13
|
-
REGEX_MULTIPLE_SLASHES = %r{^[
|
13
|
+
REGEX_MULTIPLE_SLASHES = %r{^[/^]*(.*?)[/$?]*$}.freeze
|
14
14
|
|
15
15
|
def transaction_name(request)
|
16
16
|
path = request.path || ::NewRelic::Agent::UNKNOWN_METRIC
|
data/lib/new_relic/version.rb
CHANGED
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.
|
4
|
+
version: 9.4.2
|
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-08-
|
14
|
+
date: 2023-08-18 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|