sensu-plugins-turbine 1.0.3 → 1.0.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
  SHA1:
3
- metadata.gz: cef31953abcf2895a5a879428f0f48b6fece6814
4
- data.tar.gz: 354d69aee115a63d7f1e6688542a8115be310594
3
+ metadata.gz: 6a2ecc91d9c3d8c7f213ed0211d9a2df8b91d4a2
4
+ data.tar.gz: 936f4070df5c614aeaede92704e454459001effd
5
5
  SHA512:
6
- metadata.gz: 8f5922c388c3180a4f09b218a1e3d27291252210f8a0c5caf3cc6d34dc2723ea29ea635ac4953291ff899b2c10612466df00a2cc64da4e9908045cf39cfc5170
7
- data.tar.gz: c1602bb722cb967bb161a2b80399e4d2bfe4e2430da46cfc6ac5905885c335c29f00e5cd66b87bc8e629b6df02d4a535dcd866cf583d9ea45d1339ef390a0a76
6
+ metadata.gz: 9a90a49074c651c28fa802f3faef7995b01e0032c6ef58085dc57f1d7649a73f1f347ca364ac9b79117765f535040925457a1ef262ed91106e0ad270d3e2c2c2
7
+ data.tar.gz: e8438d79ebe61b6450cdef57bfa804cebb49af929f7fec1cc7d96aed7921cfd81f853d6bfed4716d0c33fa0e25cc56a239580bf29115ea43261e377d41352c57
@@ -57,7 +57,7 @@ class PodsMetrics < Sensu::Plugin::Metric::CLI::Graphite
57
57
  info = %w(rollingCountSuccess currentActiveCount currentConcurrentExecutionCount rollingMaxConcurrentExecutionCount rollingCountBadRequests)
58
58
  EM.run do
59
59
  source = EventMachine::EventSource.new(@url)
60
- source start
60
+ source.start
61
61
  source.message do |message|
62
62
  json_data = JSON.parse(message)
63
63
  if json_data['name'] == @thread_pool
@@ -2,7 +2,7 @@ module SensuPluginsTurbine
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 3
5
+ PATCH = 4
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-turbine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - mickfeech and contributors