newrelic_rpm 9.20.0 → 9.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/new_relic/agent/serverless_handler.rb +7 -1
- data/lib/new_relic/agent/transaction/tracing.rb +2 -1
- 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: 28a51810c279118b462ee016c67fd8d62cde2bf457bfc2ca33e687712a3b3514
|
4
|
+
data.tar.gz: c9b530fcf6ea3c2775c1100dfa112ba1d356c8a18a2b18535be1184ebcbc7805
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 299297fc139e0ed8475254cfd73d1d43cea58743fcc89c6e9a02c31a59a44545062c47da422c1126306ac55a9d93a3dc028d9a235739c3d1d8cb642df5f0fc18
|
7
|
+
data.tar.gz: c41fdc820bcc54b2fd2a61777b979319af9aeabf77c4b9721a2f385bfd4cef62277d84030b281a38ab8e02684f88603e76a45be6cad64324517f310e6ba1d877
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# New Relic Ruby Agent Release Notes
|
2
2
|
|
3
|
+
## v9.21.0
|
4
|
+
|
5
|
+
- **Feature: In Serverless APM mode, use event source name as transaction name prefix**
|
6
|
+
|
7
|
+
The agent will now use the event source name as a prefix for the transaction name in Serverless APM mode. This will help to better identify the source of the transaction in the New Relic UI. [PR#3245](https://github.com/newrelic/newrelic-ruby-agent/pull/3245)
|
8
|
+
|
9
|
+
- **Bugfix: Revert changed logic for how we track the thread the span starts in**
|
10
|
+
|
11
|
+
This change restores the previous behavior of tracking the thread the span starts in, addressing issues that arose from the updated logic. Thank you [@david-zw-liu](https://github.com/david-zw-liu) for bringing this to our attention. [PR#3248](https://github.com/newrelic/newrelic-ruby-agent/pull/3248)
|
12
|
+
|
3
13
|
## v9.20.0
|
4
14
|
|
5
15
|
- **Feature: Add ECS Docker ID for Fargate**
|
@@ -40,7 +40,13 @@ module NewRelic
|
|
40
40
|
|
41
41
|
@event, @context = event, context
|
42
42
|
|
43
|
-
|
43
|
+
txn_name = function_name
|
44
|
+
if ENV['NEW_RELIC_APM_LAMBDA_MODE'] == 'true'
|
45
|
+
source = event_source_event_info['name'] if event_source_event_info
|
46
|
+
txn_name = "#{source.upcase} #{txn_name}" if source
|
47
|
+
end
|
48
|
+
|
49
|
+
NewRelic::Agent::Tracer.in_transaction(category: category, name: txn_name) do
|
44
50
|
prep_transaction
|
45
51
|
|
46
52
|
process_response(NewRelic::LanguageSupport.constantize(namespace)
|
@@ -42,7 +42,8 @@ module NewRelic
|
|
42
42
|
def thread_starting_span
|
43
43
|
# if the previous current segment was in another thread, use the thread local parent
|
44
44
|
if ThreadLocalStorage[:newrelic_thread_span_parent] &&
|
45
|
-
current_segment
|
45
|
+
current_segment &&
|
46
|
+
current_segment.starting_segment_key != NewRelic::Agent::Tracer.current_segment_key
|
46
47
|
|
47
48
|
ThreadLocalStorage[:newrelic_thread_span_parent]
|
48
49
|
end
|
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
|
+
version: 9.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tanna McClure
|
@@ -787,7 +787,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
787
787
|
- !ruby/object:Gem::Version
|
788
788
|
version: 1.3.1
|
789
789
|
requirements: []
|
790
|
-
rubygems_version: 3.6.
|
790
|
+
rubygems_version: 3.6.9
|
791
791
|
specification_version: 4
|
792
792
|
summary: New Relic Ruby Agent
|
793
793
|
test_files: []
|