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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/mtr_monitor/tier1_logger.rb +4 -3
- 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: 29da8921c97474e00e39649ac486dd94c8d12dec
|
4
|
+
data.tar.gz: 754b44042a9375c4d8bcf4a11fbc8c297321dc6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b49264162f76f36a9758dd6b7cd197047dd348c93504536c08c427b7917cf73d0ce3769731871c277921795c496c52cd19f6b73ff5c9ffd74cb5190e53a70e6
|
7
|
+
data.tar.gz: bae7a596eb6630d7d5c81fdc6f20eab57d709228ea2be8a8b2707ab138f80193bdf68c2bd3905ccf4cdb5a22f5aae2f2ba34b3a6790db6289b618bf9693a9f27
|
data/Gemfile.lock
CHANGED
@@ -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
|
data/lib/mtr_monitor/version.rb
CHANGED