newrelic-infinite_tracing 8.15.0 → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/infinite_tracing/client.rb +9 -5
- data/newrelic-infinite_tracing.gemspec +15 -15
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a32499e0797624c48ec0460d03f653500817b6b2fbda3104dbffe7024eac258
|
4
|
+
data.tar.gz: 60519228806303911d7881040b85b89198d90c404e2784c4073bfd0564f5dd43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e652bf4a31cbbe196783cf781c8eb9cbf2394c3cd7bfbcd8f75e4fbcad70ccd2367dc7122b6ccacd6b9c4f5a4257514c19b21082d2a19026d012e5ef4a7ae3a
|
7
|
+
data.tar.gz: 54a9cfd73368a604f0dda1e96536687728025006c8e974bf1b9485b792572189768a38e6afe957eaf880ed1ab5b701df533f1845fc98ee0df66364311488a6ba
|
@@ -133,9 +133,11 @@ module NewRelic::Agent
|
|
133
133
|
end
|
134
134
|
|
135
135
|
def restart
|
136
|
-
|
137
|
-
|
138
|
-
|
136
|
+
NewRelic::Agent.disable_all_tracing do
|
137
|
+
reset_connection
|
138
|
+
transfer_buffer
|
139
|
+
start_streaming
|
140
|
+
end
|
139
141
|
end
|
140
142
|
|
141
143
|
def stop
|
@@ -150,8 +152,10 @@ module NewRelic::Agent
|
|
150
152
|
def start_streaming(exponential_backoff = true)
|
151
153
|
return if suspended?
|
152
154
|
|
153
|
-
|
154
|
-
|
155
|
+
NewRelic::Agent.disable_all_tracing do
|
156
|
+
Connection.instance.wait_for_agent_connect
|
157
|
+
@lock.synchronize { response_handler(exponential_backoff) }
|
158
|
+
end
|
155
159
|
end
|
156
160
|
|
157
161
|
def record_spans(exponential_backoff)
|
@@ -34,19 +34,19 @@ Gem::Specification.new do |s|
|
|
34
34
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to?(:required_rubygems_version=)
|
35
35
|
s.authors = ["Tanna McClure", "Kayla Reopelle", "James Bunch", "Hannah Ramadan"]
|
36
36
|
s.licenses = ['Apache-2.0']
|
37
|
-
s.description =
|
38
|
-
The New Relic Ruby agent requires the gem newrelic_rpm, and it includes distributed
|
39
|
-
tracing that uses head-based sampling (standard distributed tracing).
|
40
|
-
|
41
|
-
If you want distributed tracing to use tail-based sampling (Infinite Tracing),
|
42
|
-
you need to add both newrelic_rpm and newrelic-infinite_tracing to your application's
|
43
|
-
Gemfile. For more information, see: https://docs.newrelic.com/docs/understand-dependencies/distributed-tracing/get-started/introduction-distributed-tracing
|
44
|
-
|
45
|
-
New Relic is a performance management system, developed by New Relic,
|
46
|
-
Inc (http://www.newrelic.com). New Relic provides you with deep
|
47
|
-
information about the performance of your web application as it runs
|
48
|
-
in production. The New Relic Ruby Agent is dual-purposed as a either a
|
49
|
-
Gem or plugin, hosted on https://github.com/newrelic/newrelic-ruby-agent/
|
37
|
+
s.description = <<~EOS
|
38
|
+
The New Relic Ruby agent requires the gem newrelic_rpm, and it includes distributed
|
39
|
+
tracing that uses head-based sampling (standard distributed tracing).
|
40
|
+
|
41
|
+
If you want distributed tracing to use tail-based sampling (Infinite Tracing),
|
42
|
+
you need to add both newrelic_rpm and newrelic-infinite_tracing to your application's
|
43
|
+
Gemfile. For more information, see: https://docs.newrelic.com/docs/understand-dependencies/distributed-tracing/get-started/introduction-distributed-tracing
|
44
|
+
|
45
|
+
New Relic is a performance management system, developed by New Relic,
|
46
|
+
Inc (http://www.newrelic.com). New Relic provides you with deep
|
47
|
+
information about the performance of your web application as it runs
|
48
|
+
in production. The New Relic Ruby Agent is dual-purposed as a either a
|
49
|
+
Gem or plugin, hosted on https://github.com/newrelic/newrelic-ruby-agent/
|
50
50
|
EOS
|
51
51
|
|
52
52
|
s.email = "support@newrelic.com"
|
@@ -75,8 +75,8 @@ Gem or plugin, hosted on https://github.com/newrelic/newrelic-ruby-agent/
|
|
75
75
|
s.add_dependency 'grpc', '~> 1.34'
|
76
76
|
|
77
77
|
s.add_development_dependency 'rake', '12.3.3'
|
78
|
-
s.add_development_dependency 'rb-inotify'
|
79
|
-
s.add_development_dependency 'listen'
|
78
|
+
s.add_development_dependency 'rb-inotify'
|
79
|
+
s.add_development_dependency 'listen'
|
80
80
|
s.add_development_dependency 'minitest', '~> 5.15'
|
81
81
|
s.add_development_dependency 'minitest-stub-const', '0.6'
|
82
82
|
s.add_development_dependency 'mocha', '~> 1.9.0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic-infinite_tracing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 9.0.0
|
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-
|
14
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: newrelic_rpm
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 9.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 9.0.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: grpc
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,30 +59,30 @@ dependencies:
|
|
59
59
|
name: rb-inotify
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- -
|
62
|
+
- - ">="
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version: 0
|
64
|
+
version: '0'
|
65
65
|
type: :development
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0
|
71
|
+
version: '0'
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: listen
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
|
-
- -
|
76
|
+
- - ">="
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
78
|
+
version: '0'
|
79
79
|
type: :development
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- -
|
83
|
+
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
85
|
+
version: '0'
|
86
86
|
- !ruby/object:Gem::Dependency
|
87
87
|
name: minitest
|
88
88
|
requirement: !ruby/object:Gem::Requirement
|