instana 1.199.3 → 1.199.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 312c663203c4deb4371785441a0d2fa2283b9809795bbfb2f5e00a6d9d29cea8
|
4
|
+
data.tar.gz: 23393b6158d94cdfd25c1f25c5af4ec6575fdda93b2e5f7292b02dd3e929841c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b010383d56419547cc186a43532d90a1f26c01e3a0cde126257fc9e2633e033cccb7ec8b34583808a2f806cb58b579d4384dbdc43f49e7064f32099be1d5eff4
|
7
|
+
data.tar.gz: 30359b5a5e3e25d86517773a9e9aa53c7688470f34472c40ce3078d28f6cc025b56d5417916eba377587b9abd45943f5459f9029e7bf1f2db3ad2612a1e372c9
|
@@ -19,19 +19,24 @@ module Instana
|
|
19
19
|
return if ENV.key?('INSTANA_TEST')
|
20
20
|
|
21
21
|
@future = Concurrent::Promises.future do
|
22
|
-
|
23
|
-
@discovery.delete_observers
|
24
|
-
@discovery
|
25
|
-
.with_observer(HostAgentActivationObserver.new(client, @discovery))
|
26
|
-
.with_observer(HostAgentReportingObserver.new(client, @discovery))
|
27
|
-
|
28
|
-
@discovery.swap { nil }
|
29
|
-
client
|
22
|
+
announce
|
30
23
|
end
|
31
24
|
end
|
32
25
|
|
33
26
|
alias start spawn_background_thread
|
34
|
-
|
27
|
+
|
28
|
+
def announce
|
29
|
+
client = until_not_nil { HostAgentLookup.new.call }
|
30
|
+
@discovery.delete_observers
|
31
|
+
@discovery
|
32
|
+
.with_observer(HostAgentActivationObserver.new(client, @discovery))
|
33
|
+
.with_observer(HostAgentReportingObserver.new(client, @discovery))
|
34
|
+
|
35
|
+
@discovery.swap { nil }
|
36
|
+
client
|
37
|
+
end
|
38
|
+
|
39
|
+
alias after_fork announce
|
35
40
|
|
36
41
|
# @return [Boolean] true if the agent able to send spans to the backend
|
37
42
|
def ready?
|
data/lib/instana/version.rb
CHANGED