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 +4 -4
- data/bin/metrics-turbine.rb +1 -1
- data/lib/sensu-plugins-turbine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a2ecc91d9c3d8c7f213ed0211d9a2df8b91d4a2
|
4
|
+
data.tar.gz: 936f4070df5c614aeaede92704e454459001effd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a90a49074c651c28fa802f3faef7995b01e0032c6ef58085dc57f1d7649a73f1f347ca364ac9b79117765f535040925457a1ef262ed91106e0ad270d3e2c2c2
|
7
|
+
data.tar.gz: e8438d79ebe61b6450cdef57bfa804cebb49af929f7fec1cc7d96aed7921cfd81f853d6bfed4716d0c33fa0e25cc56a239580bf29115ea43261e377d41352c57
|
data/bin/metrics-turbine.rb
CHANGED
@@ -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
|
60
|
+
source.start
|
61
61
|
source.message do |message|
|
62
62
|
json_data = JSON.parse(message)
|
63
63
|
if json_data['name'] == @thread_pool
|