newrelic-manticore 0.1.1.rc2-java → 0.1.2-java
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 +7 -2
- data/lib/new_relic/manticore/instrumentation.rb +6 -7
- data/lib/newrelic/manticore/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 384a5c873ddc6183ca9179c5b2060f408a3141666bef46a35f996bfc0349daff
|
|
4
|
+
data.tar.gz: c9a3a04cb32931f85253933438f0740a3c499717cdbd50b587127945041283e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de7ccebfc9d7c74c6074f3f661c3586cdadc419a0ca3901b4fe5ae5e896d5cc48759f8ec2ee46ace4833beb9be351aab18952d401e2a69940a3999f877a9c5fb
|
|
7
|
+
data.tar.gz: fdc1a23c186692fbabc731902f4e84444022d62d7a4da55f30b7183798c8613f72c1607185f12e5ba5720756ea33f23e21e9cc0bda26a0a014c5e6b5249cbc11
|
data/Changelog.md
CHANGED
|
@@ -4,10 +4,15 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.1.2] - 2018-10-11
|
|
8
|
+
### Fixed
|
|
9
|
+
Detection whether manticore is used inside a database segment was not reliable and is now more robust
|
|
10
|
+
|
|
7
11
|
## [0.1.1] - 2018-10-09
|
|
8
12
|
### Fixed
|
|
9
|
-
Time spent inside Manticore requests inside database calls where not included in the exclusive time stats of the database request
|
|
13
|
+
- Time spent inside Manticore requests inside database calls where not included in the exclusive time stats of the database request.
|
|
14
|
+
- Fixed instrumentation when using manticore with faraday adapter.
|
|
10
15
|
|
|
11
16
|
## [0.1.0] - 2018-10-09
|
|
12
17
|
### Added
|
|
13
|
-
Basic manticore instrumentation
|
|
18
|
+
- Basic manticore instrumentation.
|
|
@@ -19,14 +19,14 @@ module NewRelic
|
|
|
19
19
|
# operation
|
|
20
20
|
def self.create_segment?
|
|
21
21
|
state = NewRelic::Agent::TransactionState.tl_get
|
|
22
|
-
return false unless state &&
|
|
22
|
+
return false unless state &&
|
|
23
|
+
state.current_transaction
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
return true unless state.current_transaction.current_segment
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
)
|
|
27
|
+
!state.current_transaction.current_segment.is_a?(
|
|
28
|
+
::NewRelic::Agent::Transaction::DatastoreSegment
|
|
29
|
+
)
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# rubocop:disable Metrics/BlockLength
|
|
@@ -81,7 +81,6 @@ module NewRelic
|
|
|
81
81
|
def call_with_newrelic_trace
|
|
82
82
|
if NewRelic::Manticore.create_segment?
|
|
83
83
|
segment = create_newrelic_segment
|
|
84
|
-
|
|
85
84
|
segment.add_request_headers(WrappedRequest.new(@request))
|
|
86
85
|
on_complete do |response|
|
|
87
86
|
begin
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: newrelic-manticore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Dominik Goltermann
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2018-10-
|
|
12
|
+
date: 2018-10-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -192,9 +192,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
192
192
|
version: '0'
|
|
193
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
requirements:
|
|
195
|
-
- - "
|
|
195
|
+
- - ">="
|
|
196
196
|
- !ruby/object:Gem::Version
|
|
197
|
-
version:
|
|
197
|
+
version: '0'
|
|
198
198
|
requirements: []
|
|
199
199
|
rubyforge_project:
|
|
200
200
|
rubygems_version: 2.7.6
|