sensu-plugins-turbine 0.0.2 → 0.0.3
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
|
+
ODFmOTRjOTI1MTQwNDlkOWQ3N2YxZmYyYzYzNDIyNGUwNzg3NGE0NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTI0N2U0YTYyNjI4ZWE5NTY2NWI4NTc4NDM4YzU5NDg4ZjliYmIyZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTE5MTdhNmNlZGNiNTUwMWEzNTdiNjFkZmMyYjAyMDFiY2ViMGYwOGJjZTcw
|
10
|
+
OWM3NDYzOTc0ODA2OGJhNWU1ZmE2MWE4Nzg1N2Q3MjRjNThlODAxYTk3ZjE5
|
11
|
+
NzgxZTQxZmQyYTkxNjg2N2FmMTVkOWNkMDIwYWNmZGQ0ODQzODA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDBhZDQ4MjRkZWI4Y2UwN2M4ZTg3NTg2NTEzNWFiNWVkZjgyMzhkODZmNjE5
|
14
|
+
MjY2Y2NiYjhkYmM4ZTllYjYyNzkwYTBmYTIyNGI5NjM4YjQxOTRhZWViZGUx
|
15
|
+
YTU2NGFmMzUzOGY3MDgyZjIxMmFhOTA0NTNmYTg3YzIyNzk1ODE=
|
data/bin/metrics-turbine.rb
CHANGED
@@ -62,7 +62,7 @@ class PodsMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
62
62
|
if json_data.end_with?('}')
|
63
63
|
message = JSON.parse(json_data)
|
64
64
|
if message['name'] == @thread_pool
|
65
|
-
info.size.times { |i|
|
65
|
+
info.size.times { |i| output "#{config[:scheme]}.#{message['name']}.#{info[i]}.#{message[info[i]]}" unless message[info[i]].nil? }
|
66
66
|
EventMachine.stop
|
67
67
|
end
|
68
68
|
end
|