mtr_monitor 1.0.2 → 1.0.3

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: b80f26bcce145aac758a5ef0c3c29a4f88912a86
4
- data.tar.gz: c1b10674a71198487e5f6f512542c4301bdf8d33
3
+ metadata.gz: 29da8921c97474e00e39649ac486dd94c8d12dec
4
+ data.tar.gz: 754b44042a9375c4d8bcf4a11fbc8c297321dc6f
5
5
  SHA512:
6
- metadata.gz: 3aece3a10003872ebf9fa2646c09b4131c5839b819bba6ff18f6f50ccb6dbcc74f8c228936fab61781793db0cea3a6388874054bbb2b3286110f6985873f67e6
7
- data.tar.gz: f6d602fc1f7c54b107b679860b6c86ea81227e30640d9c1563d3cbd489e02a2a308ee7bff8295753d9fbabed08c93b6f33d989af84d0f3dfd1fb81e6b439f905
6
+ metadata.gz: 9b49264162f76f36a9758dd6b7cd197047dd348c93504536c08c427b7917cf73d0ce3769731871c277921795c496c52cd19f6b73ff5c9ffd74cb5190e53a70e6
7
+ data.tar.gz: bae7a596eb6630d7d5c81fdc6f20eab57d709228ea2be8a8b2707ab138f80193bdf68c2bd3905ccf4cdb5a22f5aae2f2ba34b3a6790db6289b618bf9693a9f27
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mtr_monitor (1.0.2)
4
+ mtr_monitor (1.0.3)
5
5
  logdna
6
6
  rt-watchman (~> 0.10.0)
7
7
 
@@ -13,13 +13,14 @@ module MtrMonitor
13
13
  :level => "DEBUG"
14
14
  }
15
15
 
16
- @logdna = Logdna::Ruby.new(logdna_ingestion_key, config)
17
16
  @mtr_log = File.read(local_log_path)
17
+ @logdna = Logdna::Ruby.new(logdna_ingestion_key, config)
18
+ @logger = logger
18
19
  end
19
20
 
20
21
  def submit
21
- logdna.log(tier1_provider)
22
- logger.info("Network provider: #{tier1_provider} -- Emitted to LogDNA")
22
+ @logdna.log(tier1_provider)
23
+ @logger.info("Network provider: #{tier1_provider} -- Emitted to LogDNA")
23
24
  end
24
25
 
25
26
  private
@@ -1,3 +1,3 @@
1
1
  module MtrMonitor
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
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: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - RenderedText DevOps Team