mtr_monitor 0.14.2 → 0.14.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/mtr_monitor/metrics.rb +2 -2
- data/lib/mtr_monitor/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: d8d23ba285ef34672d0c8f96938ec3cfef9d5ff8
|
4
|
+
data.tar.gz: 871644ffceac2078b2309c85e5bb7deeb8fbd18b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a09b775dc1a25dcb26b7aa4fe158d1362d1c9b64417ac825ee8e94aaa862f438ecf0a52a63cc4ca3b907c1d293a2b6bc7cd7975fdce01ca3589949a0ef37925c
|
7
|
+
data.tar.gz: fc120a74a0d7cc1a26c408c5c46f9ee918fbe39c41763cd763491149aa27d28576e6dcbfeae2f993d9304b88b99f3f08861afdc9dc5c7a085042e6351085bdf0
|
data/Gemfile.lock
CHANGED
data/lib/mtr_monitor/metrics.rb
CHANGED
@@ -6,9 +6,9 @@ module MtrMonitor
|
|
6
6
|
|
7
7
|
logger.info "Submitting pulse: network.mtr.pulse, tags: #{[hostname, name]}, prefix: #{Watchman.prefix} port: #{Watchman.port}"
|
8
8
|
|
9
|
-
|
9
|
+
10.times do # To make sure pulse is successfully submitted to grafana
|
10
10
|
Watchman.submit("network.mtr.pulse", 1, :gauge, :tags => [hostname, name])
|
11
|
-
sleep
|
11
|
+
sleep 1
|
12
12
|
end
|
13
13
|
|
14
14
|
hops(log_path).each do |hop|
|
data/lib/mtr_monitor/version.rb
CHANGED