newrelic-infinite_tracing 6.15.0 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/infinite_tracing/client.rb +1 -0
- data/lib/infinite_tracing/connection.rb +7 -1
- data/newrelic-infinite_tracing.gemspec +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c0cb119fdd9c9388989d99d116add07d20eeeaaab5f0b8e3bc533c4be9f750c
|
4
|
+
data.tar.gz: 925054cff0d639af379cecdaa726230221fe0a5d41def09a86f8e0455c0089e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 373451194aa1a8c8738582a74a2ffa7d10d9c2b0fc7110951caf68d90ed0465794d3835491c71dbb789b080f717b0eed6fc51a3c3530dcd05568e05d1f091266
|
7
|
+
data.tar.gz: 7f4a47aac1e4b26e600985e2abeadbf18f0f11c6ca38cf9a4b2422f21995fbe3a9f7193ca544ac4aa19efa548017f9aa7fc0c9396ed0e3b569cb17a4600429db
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# New Relic Infinite Tracing for Ruby Agent Release Notes #
|
2
2
|
|
3
|
+
## v7.0.0
|
4
|
+
* Bugfix: Fixes an intermittent bug where the agent was unable to start when infinite tracing was enabled.
|
5
|
+
|
3
6
|
## v6.15.0
|
4
7
|
* Adds data from the agents connect response `request_headers_map` to the metadata for the connection to the infinite trace observer.
|
5
8
|
|
@@ -81,8 +81,15 @@ module NewRelic::Agent
|
|
81
81
|
# We attempt to connect and record spans with reconnection backoff in order to deal with
|
82
82
|
# unavailable errors coming from the stub being created and record_span call
|
83
83
|
def rpc
|
84
|
+
wait_for_agent_connect
|
84
85
|
@rpc ||= Channel.new.stub
|
85
86
|
end
|
87
|
+
|
88
|
+
def wait_for_agent_connect
|
89
|
+
@lock.synchronize do
|
90
|
+
@agent_started.wait(@lock) if !@agent_connected
|
91
|
+
end
|
92
|
+
end
|
86
93
|
|
87
94
|
# The metadata for the RPC calls is a blocking call waiting for the Agent to
|
88
95
|
# connect and receive the server side configuration, which contains the license_key
|
@@ -91,7 +98,6 @@ module NewRelic::Agent
|
|
91
98
|
return @metadata if @metadata
|
92
99
|
|
93
100
|
@lock.synchronize do
|
94
|
-
@agent_started.wait(@lock) if !@agent_connected
|
95
101
|
|
96
102
|
@metadata = {
|
97
103
|
"license_key" => license_key,
|
@@ -32,9 +32,9 @@ Gem::Specification.new do |s|
|
|
32
32
|
|
33
33
|
s.name = "newrelic-infinite_tracing"
|
34
34
|
s.version = NewRelic::VERSION::STRING
|
35
|
-
s.required_ruby_version = '>= 2.
|
35
|
+
s.required_ruby_version = '>= 2.5.0'
|
36
36
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
37
|
-
s.authors = [ "
|
37
|
+
s.authors = [ "Aaron Huntsman", "Tanna McClure", "Michael Lang" ]
|
38
38
|
s.date = Time.now.strftime('%Y-%m-%d')
|
39
39
|
s.licenses = ['Apache-2.0']
|
40
40
|
s.description = <<-EOS
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic-infinite_tracing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Aaron Huntsman
|
8
8
|
- Tanna McClure
|
9
9
|
- Michael Lang
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-04-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: newrelic_rpm
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 7.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
28
|
+
version: 7.0.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: grpc
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -277,14 +277,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
277
277
|
requirements:
|
278
278
|
- - ">="
|
279
279
|
- !ruby/object:Gem::Version
|
280
|
-
version: 2.
|
280
|
+
version: 2.5.0
|
281
281
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
283
|
- - ">"
|
284
284
|
- !ruby/object:Gem::Version
|
285
285
|
version: 1.3.1
|
286
286
|
requirements: []
|
287
|
-
rubygems_version: 3.1.
|
287
|
+
rubygems_version: 3.1.6
|
288
288
|
signing_key:
|
289
289
|
specification_version: 4
|
290
290
|
summary: New Relic Infinite Tracing for the Ruby agent
|