sensu-plugins-turbine 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/metrics-turbine.rb +1 -1
- data/lib/sensu-plugins-turbine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODljNWNmMTI2NWMxMDc1YzlhYzBkZGQ0NjZhZWE0ZGYyMzQ1NTkwZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTBhODc5MWEyY2YwYmMzYTAwY2E1ZTI2YTk1MjcxZjRlMjk4NTVlZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGRkZjYxY2ExYzc1MzI0MTRkNzY1YzUxZDQ1NjFkOTYyNjk4ZDJiZmY4NTNm
|
10
|
+
NDZmM2IyOTY0OGM3ZTFmNmVlN2E3YTQ1MTk1M2I2YjMyNmQzNDJhNTZmZGZi
|
11
|
+
YWJkMjk5Mjk4ZGI4Y2E1Mjg0OTAwMjY2ZGE4YTQwNjhkYjBkMGI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2I1OWRmMzc2YTNkNmUyODQ4NzZmNjNjNWM4NTg4MzdkZjNlNzYwZTdmMTI0
|
14
|
+
NTJiMDZmZmM1OGUxYjEyZGRkZTBiMzM2NTkwNmMyOTI3MDUzNGQzMTVhOTI0
|
15
|
+
NzA4MTRkNmU4YjVkNDU5OTdlYTRiMjhjNTc2ODA4NjZlZGJjN2M=
|
data/bin/metrics-turbine.rb
CHANGED
@@ -67,7 +67,7 @@ class PodsMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
67
67
|
if json_data.end_with?('}')
|
68
68
|
message = JSON.parse(json_data)
|
69
69
|
if message['name'] == @thread_pool
|
70
|
-
info.size.times { |i| output "#{
|
70
|
+
info.size.times { |i| output "#{@scheme}.#{message['name']}.#{info[i]}.#{message[info[i]]}" unless message[info[i]].nil? }
|
71
71
|
EventMachine.stop
|
72
72
|
end
|
73
73
|
end
|