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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92f79692738e8ca0a70ffeba59050004a16fa9f6
4
- data.tar.gz: d38c3ec9af97a0e24d11cae34f66f35e0161cc9b
3
+ metadata.gz: a6f479658fb20a59cacba6b3e6dd04fe9bd5dd31
4
+ data.tar.gz: 532be1f2a8106f9b74d11bd9ed45fc7dcc6077cc
5
5
  SHA512:
6
- metadata.gz: f00f2203385c28e58fde92e1104137c40d58fdf83c4e809761d056bb207177648bbc9c61ab49c404fcb45522d92fd869a916d1f28cb0385af78a3528f6176650
7
- data.tar.gz: c269304d9e959009ae525425bf83813dfc07b53e1c24d36f3e7554dfd023323723da07bea3d83515da767da73e09164d693dc8d42f56cd89a4f7069ceea7db4f
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} (#{@agent_id}) @ #{@timestamp.utc}"
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
  }
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Monitor
3
- VERSION = '1.3160.0'
3
+ VERSION = '1.3163.0'
4
4
  end
5
5
  end
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.3160.0
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-18 00:00:00.000000000 Z
11
+ date: 2015-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine