newrelic-manticore 1.0.2.rc1-java → 1.1.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +4 -1
- data/lib/new_relic/manticore/instrumentation.rb +1 -1
- data/lib/new_relic/manticore/wrapped_response.rb +4 -1
- data/lib/newrelic/manticore/version.rb +1 -1
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c256dc6043c87d492a31fed2d54badc182355e381749f2f8bc713e26f2884645
|
4
|
+
data.tar.gz: 50b8a66933485be87c00bb3b565d75ea2f446abf88cbe99d583d310ed258c895
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 031bddad31fcbd50d3b52941c6a524aae5a0d34c2f8d1d6b6494c68af11a38d0ba336dc2ee28424c84dc102c5b9dc0cf555756ca3cb9dfa315ecc263c8b490b0
|
7
|
+
data.tar.gz: aaa0e23732c386559b95df1ebacbc2c338d033336a421b9c5f5e12f3e13ad81171ea2ae89bd76b1b20ac4c9d47135790e7a9042b88d22667f5c9607be44be02f
|
data/Changelog.md
CHANGED
@@ -4,7 +4,10 @@ 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
|
-
##
|
7
|
+
## [1.1.0] - 2020-08-27
|
8
|
+
### Added
|
9
|
+
- Record response status on external request span
|
10
|
+
|
8
11
|
### Changed
|
9
12
|
- Require ruby > 2.0.0
|
10
13
|
|
@@ -82,7 +82,7 @@ module NewRelic
|
|
82
82
|
segment.add_request_headers(WrappedRequest.new(@request))
|
83
83
|
on_complete do |response|
|
84
84
|
begin
|
85
|
-
segment.
|
85
|
+
segment.process_response_headers(WrappedResponse.new(response))
|
86
86
|
ensure
|
87
87
|
segment.finish
|
88
88
|
end
|
@@ -1,9 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "new_relic/agent/http_clients/abstract"
|
4
|
+
|
3
5
|
module NewRelic
|
4
6
|
module Manticore
|
5
|
-
class WrappedResponse
|
7
|
+
class WrappedResponse < NewRelic::Agent::HTTPClients::AbstractResponse
|
6
8
|
def initialize(response)
|
9
|
+
super(response)
|
7
10
|
@headers = response.headers
|
8
11
|
end
|
9
12
|
|
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: 1.0
|
4
|
+
version: 1.1.0
|
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: 2020-08-
|
12
|
+
date: 2020-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -21,8 +21,8 @@ dependencies:
|
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 0.6.4
|
23
23
|
name: manticore
|
24
|
-
prerelease: false
|
25
24
|
type: :runtime
|
25
|
+
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - "~>"
|
@@ -38,8 +38,8 @@ dependencies:
|
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '6'
|
40
40
|
name: newrelic_rpm
|
41
|
-
prerelease: false
|
42
41
|
type: :runtime
|
42
|
+
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
@@ -52,8 +52,8 @@ dependencies:
|
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0'
|
54
54
|
name: bundler
|
55
|
-
prerelease: false
|
56
55
|
type: :development
|
56
|
+
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -66,8 +66,8 @@ dependencies:
|
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '0'
|
68
68
|
name: faraday
|
69
|
-
prerelease: false
|
70
69
|
type: :development
|
70
|
+
prerelease: false
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
@@ -80,8 +80,8 @@ dependencies:
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
name: minitest
|
83
|
-
prerelease: false
|
84
83
|
type: :development
|
84
|
+
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -94,8 +94,8 @@ dependencies:
|
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '0'
|
96
96
|
name: pry
|
97
|
-
prerelease: false
|
98
97
|
type: :development
|
98
|
+
prerelease: false
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -111,8 +111,8 @@ dependencies:
|
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: 12.3.3
|
113
113
|
name: rake
|
114
|
-
prerelease: false
|
115
114
|
type: :development
|
115
|
+
prerelease: false
|
116
116
|
version_requirements: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
118
|
- - "~>"
|
@@ -128,8 +128,8 @@ dependencies:
|
|
128
128
|
- !ruby/object:Gem::Version
|
129
129
|
version: '3.0'
|
130
130
|
name: rspec
|
131
|
-
prerelease: false
|
132
131
|
type: :development
|
132
|
+
prerelease: false
|
133
133
|
version_requirements: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
@@ -142,8 +142,8 @@ dependencies:
|
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '1'
|
144
144
|
name: rt_rubocop_defaults
|
145
|
-
prerelease: false
|
146
145
|
type: :development
|
146
|
+
prerelease: false
|
147
147
|
version_requirements: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - "~>"
|
@@ -156,8 +156,8 @@ dependencies:
|
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '2'
|
158
158
|
name: rubocop_runner
|
159
|
-
prerelease: false
|
160
159
|
type: :development
|
160
|
+
prerelease: false
|
161
161
|
version_requirements: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
163
|
- - "~>"
|
@@ -205,11 +205,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
205
|
version: 2.0.0
|
206
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
207
|
requirements:
|
208
|
-
- - "
|
208
|
+
- - ">="
|
209
209
|
- !ruby/object:Gem::Version
|
210
|
-
version:
|
210
|
+
version: '0'
|
211
211
|
requirements: []
|
212
|
-
rubygems_version: 3.
|
212
|
+
rubygems_version: 3.0.6
|
213
213
|
signing_key:
|
214
214
|
specification_version: 4
|
215
215
|
summary: Newrelic support for manticore
|