sensu-plugins-turbine 1.0.1 → 1.0.2
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 -0
- 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: cc03c14037e40e024e445472354c99029efbe75e
|
4
|
+
data.tar.gz: adc58b6972c4b12f3b52daef0901c009b9769c17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12e55c88c8ff05168722d6d6262b826a4828c3c8ff1c15b29ef3d477ada46643eae3f8c6571f042d0fb6fdfa1f293f948f917de53e9a4cfdb86e46efa64fdb45
|
7
|
+
data.tar.gz: 9771f455ebf715554a344d47024a66ad8d7320f6d730abb3970195b6d042b1d8e3f24a816655ef9a221df6d277d4c4c5b09eb760582e67084ade4fb686a40616
|
data/bin/metrics-turbine.rb
CHANGED
@@ -61,6 +61,7 @@ class PodsMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
61
61
|
json_data = JSON.parse(message)
|
62
62
|
if json_data['name'] == @thread_pool
|
63
63
|
info.size.times { |i| output "#{@scheme}.#{json_data['name']}.#{info[i]}", json_data[info[i]] }
|
64
|
+
source.close
|
64
65
|
end
|
65
66
|
end
|
66
67
|
source.start
|