bosh-monitor 1.3160.0 → 1.3163.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bosh/monitor/events/heartbeat.rb +4 -1
- data/lib/bosh/monitor/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: a6f479658fb20a59cacba6b3e6dd04fe9bd5dd31
|
4
|
+
data.tar.gz: 532be1f2a8106f9b74d11bd9ed45fc7dcc6077cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a709952218d35dadbb555b2e717d1f703765c8252cfb4a3685c0c4c1cd1d8738ab33acfb2fab2ff14db4962c3905bf42c2f76d78ecb309b93ea9cc0f395f3f8
|
7
|
+
data.tar.gz: 2d431b530f7dbf38ba15261958405ebe48dfa9bcfd0f33014b34b5a696ab0d5ff68447d7695a1cf7acb67f0c5eae898d3fab7f4c8d9ec1b72f7dba5117493b01
|
@@ -24,11 +24,13 @@ module Bosh::Monitor
|
|
24
24
|
@agent_id = @attributes["agent_id"]
|
25
25
|
@job = @attributes["job"]
|
26
26
|
@index = @attributes["index"].to_s
|
27
|
+
@node_id = @attributes["node_id"]
|
27
28
|
@job_state = @attributes["job_state"]
|
28
29
|
|
29
30
|
@tags = {}
|
30
31
|
@tags["job"] = @job if @job
|
31
32
|
@tags["index"] = @index if @index
|
33
|
+
@tags["node_id"] = @node_id if @node_id
|
32
34
|
@tags["role"] = guess_role
|
33
35
|
|
34
36
|
@vitals = @attributes["vitals"] || {}
|
@@ -58,7 +60,7 @@ module Bosh::Monitor
|
|
58
60
|
end
|
59
61
|
|
60
62
|
def short_description
|
61
|
-
"Heartbeat from #{@job}/#{@index} (
|
63
|
+
"Heartbeat from #{@job}/#{@index} (agent_id=#{@agent_id} node_id=#{@node_id}) @ #{@timestamp.utc}"
|
62
64
|
end
|
63
65
|
|
64
66
|
def to_s
|
@@ -74,6 +76,7 @@ module Bosh::Monitor
|
|
74
76
|
:agent_id => @agent_id,
|
75
77
|
:job => @job,
|
76
78
|
:index => @index,
|
79
|
+
:node_id => @node_id,
|
77
80
|
:job_state => @job_state,
|
78
81
|
:vitals => @vitals
|
79
82
|
}
|
data/lib/bosh/monitor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3163.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VMware
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|