sensu-plugins-eventstore 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/metrics-eventstore-stats-stream.rb +3 -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: 8b9c05cad2bd86d213bbfdb41daa9afb22f05382
|
4
|
+
data.tar.gz: 401860b2886e5609e1b175e94e068a132a5c6c83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 262e1c307443025976514bd0b5b6458eb78c4175cf338bcf6f155fd0c4e12bbf0aeafddb453efb3b17d466d2282d958c8aada75f5b5c19f755cdca682da1ad65
|
7
|
+
data.tar.gz: 18154f197b881eecb206558cc2c7d1b08f46d76a85965468ab70d2e66c0f5dc326b5fc1ba135d9e8efe857d1c4df7ec3c280641f02c6016f8a111a4ad6af48a4
|
@@ -90,7 +90,9 @@ class Stats < Sensu::Plugin::Metric::CLI::Graphite
|
|
90
90
|
|
91
91
|
def get_queue_scheme
|
92
92
|
return config[:queue_scheme] unless config[:queue_scheme].empty?
|
93
|
-
|
93
|
+
#get the first part of the cluster dns
|
94
|
+
dns_name = /^[^.]+/.match config[:cluster_dns]
|
95
|
+
"#{dns_name}.eventstore"
|
94
96
|
end
|
95
97
|
|
96
98
|
def run
|