mtr_monitor 0.14.0 → 0.14.1
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/version.rb +1 -1
- data/lib/mtr_monitor.rb +1 -7
- 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: 9795b0a099078402e4348409e0a176a902da2a47
|
4
|
+
data.tar.gz: 47b9ff485612c6a62de9fba7dd3fb5b133c1162c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7e60d238ed1a35e7453b4bd09b35ea26e39708a786b2b8c732671bd177bb208dcc74b415194d06d1f2f343f442c9c1facbd25b40bb7fa660a013f58862ea8f0
|
7
|
+
data.tar.gz: 4d9c1599054f099b4cdb0e0635c42eaa495c562b0c6241bf009ab3105fcb02ca78ea3b94d5415253db6a1b16257fcd980fc4795e7860968eb2d26733d20dab77
|
data/Gemfile.lock
CHANGED
data/lib/mtr_monitor/version.rb
CHANGED
data/lib/mtr_monitor.rb
CHANGED
@@ -42,13 +42,7 @@ module MtrMonitor
|
|
42
42
|
@dig_ip_address = dig_ip_address
|
43
43
|
@logger = logger || Logger.new(STDOUT)
|
44
44
|
|
45
|
-
path =
|
46
|
-
@name,
|
47
|
-
Time.now.strftime("%Y-%m-%d"),
|
48
|
-
@host_ip_address.gsub(".", "-"),
|
49
|
-
Time.now.strftime("%H-%M"),
|
50
|
-
".log"
|
51
|
-
].join("/")
|
45
|
+
path = "#{@name}/#{Time.now.strftime("%Y-%m-%d")}/#{@host_ip_address.gsub(".", "-")}/#{Time.now.strftime("%H-%M")}.log"
|
52
46
|
|
53
47
|
@log_path = "#{MtrMonitor::REPORTS_PATH}/#{path.gsub("/", "-")}"
|
54
48
|
@s3_path = "s3://#{@s3_bucket}/#{path}"
|