instana 1.4.5 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/instana/agent.rb +5 -3
- data/lib/instana/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 359eb9e6f94b0a6ea70072310f8eb59c4b964766
|
|
4
|
+
data.tar.gz: 06daf1c2ef5af35a81216572131b5d0dca9212f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b8ccc331cc71b9b8d63f9fcd88f4aa83e89a346bd4072a30f140ef64252785bb3ac852fc5184bfc26781323281ccad46da8d2fc4a6167beb1940c36a7d97eeec
|
|
7
|
+
data.tar.gz: f0cdf9f600f5cffefe78bb5809fc16601a56bf57ddc69a3e57e7b1ed7a472215ba49e9ca143907bbd0e8af14839ab384051f5341cb5b07b16e04f27103b3d626
|
data/lib/instana/agent.rb
CHANGED
|
@@ -101,9 +101,11 @@ module Instana
|
|
|
101
101
|
# We attempt to announce this ruby sensor to the host agent.
|
|
102
102
|
# In case of failure, we try again in 30 seconds.
|
|
103
103
|
@announce_timer = @timers.every(30) do
|
|
104
|
-
if
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
if @state == :unannounced
|
|
105
|
+
if host_agent_ready? && announce_sensor
|
|
106
|
+
transition_to(:announced)
|
|
107
|
+
::Instana.logger.warn "Host agent available. We're in business. (#{@state} pid:#{Process.pid} #{@process[:name]})"
|
|
108
|
+
end
|
|
107
109
|
end
|
|
108
110
|
end
|
|
109
111
|
|
data/lib/instana/version.rb
CHANGED
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.4.
|
|
4
|
+
version: 1.4.6
|
|
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-05-
|
|
11
|
+
date: 2017-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|