instana 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/instana.gemspec +1 -1
- data/lib/instana/tracing/processor.rb +1 -1
- data/lib/instana/version.rb +1 -1
- data/test/instrumentation/grpc_test.rb +24 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f4bc2a5ccafd6784e94f221a85e0fba6834fe23
|
4
|
+
data.tar.gz: f23e89da1122a87d34206ffaaa213aef0833c692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f653bfd0c09c1a1bd878b809b475c668d91c7c7bc759fbd306801d49a1bf18bea66b89747176043c72102e98e439005205170e8d2bfa63ecdf21e2dbbc225f27
|
7
|
+
data.tar.gz: 497fa0cd4b43d55260eceb7c34bbc66b6e0b8a497283b607a05761cfb1cf9afd0ad67bc849f0bb28ba7ea84aa7263849ce7239f33a3a9a7b07939a081acdc873
|
data/instana.gemspec
CHANGED
@@ -25,7 +25,7 @@ module Instana
|
|
25
25
|
#
|
26
26
|
# @param [Trace] the trace to be added to the queue
|
27
27
|
def add(trace)
|
28
|
-
::Instana.logger.debug("Queuing completed trace id: #{trace.id}")
|
28
|
+
# ::Instana.logger.debug("Queuing completed trace id: #{trace.id}")
|
29
29
|
@queue.push(trace)
|
30
30
|
end
|
31
31
|
|
data/lib/instana/version.rb
CHANGED
@@ -79,6 +79,9 @@ class GrpcTest < Minitest::Test
|
|
79
79
|
|
80
80
|
assert 'Hello World', response.message
|
81
81
|
|
82
|
+
# Pause for a split second to allow traces to be queued
|
83
|
+
sleep 0.2
|
84
|
+
|
82
85
|
assert_equal 2, ::Instana.processor.queue_count
|
83
86
|
client_trace, server_trace = differentiate_trace(
|
84
87
|
Instana.processor.queued_traces
|
@@ -111,6 +114,9 @@ class GrpcTest < Minitest::Test
|
|
111
114
|
|
112
115
|
assert '01234', response.message
|
113
116
|
|
117
|
+
# Pause for a split second to allow traces to be queued
|
118
|
+
sleep 0.2
|
119
|
+
|
114
120
|
assert_equal 2, ::Instana.processor.queue_count
|
115
121
|
client_trace, server_trace = differentiate_trace(
|
116
122
|
Instana.processor.queued_traces
|
@@ -138,10 +144,11 @@ class GrpcTest < Minitest::Test
|
|
138
144
|
PingPongService::PingRequest.new(message: 'Hello World')
|
139
145
|
)
|
140
146
|
end
|
141
|
-
sleep 1
|
142
|
-
|
143
147
|
assert %w(0 1 2 3 4), responses.map(&:message)
|
144
148
|
|
149
|
+
# Pause for a split second to allow traces to be queued
|
150
|
+
sleep 0.2
|
151
|
+
|
145
152
|
assert_equal 2, ::Instana.processor.queue_count
|
146
153
|
client_trace, server_trace = differentiate_trace(
|
147
154
|
Instana.processor.queued_traces
|
@@ -175,6 +182,9 @@ class GrpcTest < Minitest::Test
|
|
175
182
|
|
176
183
|
assert %w(0 2 4 6 8), responses.to_a.map(&:message)
|
177
184
|
|
185
|
+
# Pause for a split second to allow traces to be queued
|
186
|
+
sleep 0.2
|
187
|
+
|
178
188
|
assert_equal 2, ::Instana.processor.queue_count
|
179
189
|
client_trace, server_trace = differentiate_trace(
|
180
190
|
Instana.processor.queued_traces
|
@@ -202,6 +212,9 @@ class GrpcTest < Minitest::Test
|
|
202
212
|
end
|
203
213
|
end
|
204
214
|
|
215
|
+
# Pause for a split second to allow traces to be queued
|
216
|
+
sleep 0.2
|
217
|
+
|
205
218
|
assert_equal 2, ::Instana.processor.queue_count
|
206
219
|
client_trace, server_trace = differentiate_trace(
|
207
220
|
Instana.processor.queued_traces
|
@@ -234,6 +247,9 @@ class GrpcTest < Minitest::Test
|
|
234
247
|
end
|
235
248
|
end
|
236
249
|
|
250
|
+
# Pause for a split second to allow traces to be queued
|
251
|
+
sleep 0.2
|
252
|
+
|
237
253
|
assert_equal 2, ::Instana.processor.queue_count
|
238
254
|
client_trace, server_trace = differentiate_trace(
|
239
255
|
Instana.processor.queued_traces
|
@@ -264,7 +280,9 @@ class GrpcTest < Minitest::Test
|
|
264
280
|
rescue
|
265
281
|
end
|
266
282
|
end
|
267
|
-
|
283
|
+
|
284
|
+
# Pause for a split second to allow traces to be queued
|
285
|
+
sleep 0.2
|
268
286
|
|
269
287
|
assert_equal 2, ::Instana.processor.queue_count
|
270
288
|
client_trace, server_trace = differentiate_trace(
|
@@ -294,7 +312,9 @@ class GrpcTest < Minitest::Test
|
|
294
312
|
end
|
295
313
|
)
|
296
314
|
end
|
297
|
-
|
315
|
+
|
316
|
+
# Pause for a split second to allow traces to be queued
|
317
|
+
sleep 0.2
|
298
318
|
|
299
319
|
assert_equal 2, ::Instana.processor.queue_count
|
300
320
|
client_trace, server_trace = differentiate_trace(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Giacomo Lombardo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
145
|
+
version: 1.8.1
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
152
|
+
version: 1.8.1
|
153
153
|
description: Provides Ruby sensor instrumentation for Instana.
|
154
154
|
email:
|
155
155
|
- pglombardo@gmail.com
|