mtr_monitor 0.14.1 → 0.14.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9795b0a099078402e4348409e0a176a902da2a47
4
- data.tar.gz: 47b9ff485612c6a62de9fba7dd3fb5b133c1162c
3
+ metadata.gz: bf2f55e4ec8aa4498e12b6e4b411427e77bb8820
4
+ data.tar.gz: a89811b1024b6d61e2f41cf003ba0cd6136b0631
5
5
  SHA512:
6
- metadata.gz: a7e60d238ed1a35e7453b4bd09b35ea26e39708a786b2b8c732671bd177bb208dcc74b415194d06d1f2f343f442c9c1facbd25b40bb7fa660a013f58862ea8f0
7
- data.tar.gz: 4d9c1599054f099b4cdb0e0635c42eaa495c562b0c6241bf009ab3105fcb02ca78ea3b94d5415253db6a1b16257fcd980fc4795e7860968eb2d26733d20dab77
6
+ metadata.gz: 8464b6acc5efd39778ca4cf5d94d9d774b95065934dafb780700e4973393db43517ad8fed929d73e0a1d8c7d8ca1a4ccd07e1abecf49cf68fe2cb6ad0164f71d
7
+ data.tar.gz: 49829aefd7bc9a3ce06c6c860d485ba9fa3fa60408ac61d24489b28bc3124a512e69b2212c88554fa5bf2718b09158e9e9829a7918be248739790696ecc69b6f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mtr_monitor (0.14.1)
4
+ mtr_monitor (0.14.2)
5
5
  rt-watchman (~> 0.10.0)
6
6
 
7
7
  GEM
@@ -5,8 +5,11 @@ module MtrMonitor
5
5
  hostname = hostname.gsub(".", "-")
6
6
 
7
7
  logger.info "Submitting pulse: network.mtr.pulse, tags: #{[hostname, name]}, prefix: #{Watchman.prefix} port: #{Watchman.port}"
8
-
9
- Watchman.submit("network.mtr.pulse", 1, :gauge, :tags => [hostname, name])
8
+
9
+ 2.times do # To make sure pulse is successfully submitted to grafana
10
+ Watchman.submit("network.mtr.pulse", 1, :gauge, :tags => [hostname, name])
11
+ sleep 5
12
+ end
10
13
 
11
14
  hops(log_path).each do |hop|
12
15
  hop_name = hop.name.gsub(".", "-").gsub("?", "q")
@@ -1,3 +1,3 @@
1
1
  module MtrMonitor
2
- VERSION = "0.14.1"
2
+ VERSION = "0.14.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtr_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - RenderedText DevOps Team