mtr_monitor 0.19.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/Makefile +12 -3
- data/Rakefile +1 -1
- data/exe/mtr_report +2 -2
- data/lib/mtr_monitor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 216fbb219b4e25dc96db100a8e3301567a7f35ca
|
4
|
+
data.tar.gz: 0c868a8045186925f324d54ab9e734641d518193
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c36f4e0fcb3dc1542992bc661561ea13c2b8bc1172bf5feabe525382f62cbbd3f411197a08e54338be6bf64f0fad6ce121790619af0fe7abeea5bd2d5e46523
|
7
|
+
data.tar.gz: 58114a469cd54fb63a7b8568367fc4355aaf2c5a39bfe5fea2c2ba6d650533ba09a24772a74c3e9d3b9b99abde00c1ee80a8748be1df18a41f6300b95e0bf49c
|
data/Gemfile.lock
CHANGED
data/Makefile
CHANGED
@@ -22,22 +22,31 @@ http-endpoint-push: http-endpoint-build
|
|
22
22
|
docker push renderedtext/mtr-nginx
|
23
23
|
|
24
24
|
deploy-us-east-1:
|
25
|
+
DIG_IP_ADDRESS=yes \
|
26
|
+
SLEEP_TIME=5 \
|
25
27
|
NAME="us-east-1-to-hetzner" \
|
26
28
|
SERVER="ec2.mtr-monitor.us-east-1.semaphoreci.com" \
|
27
29
|
HOSTNAME="mtr-monitor.us-east-1.semaphoreci.com" \
|
28
|
-
MTR_OPTIONS="-z -c 50 -f 12"
|
30
|
+
MTR_OPTIONS="-w -z -c 50 -f 12" \
|
31
|
+
MTR_TARGET_DOMAIN=136.243.108.222 \
|
29
32
|
bundle exec rake deploy
|
30
33
|
|
31
34
|
deploy-us-west-1:
|
35
|
+
DIG_IP_ADDRESS=yes \
|
36
|
+
SLEEP_TIME=5 \
|
32
37
|
NAME="us-west-1-to-hetzner" \
|
33
38
|
SERVER="ec2.mtr-monitor.us-west-1.semaphoreci.com" \
|
34
39
|
HOSTNAME="mtr-monitor.us-west-1.semaphoreci.com" \
|
35
|
-
MTR_OPTIONS="-z -c 50 -f 12"
|
40
|
+
MTR_OPTIONS="-w -z -c 50 -f 12" \
|
41
|
+
MTR_TARGET_DOMAIN=136.243.108.222 \
|
36
42
|
bundle exec rake deploy
|
37
43
|
|
38
44
|
deploy-us-west-2:
|
45
|
+
DIG_IP_ADDRESS=yes \
|
46
|
+
SLEEP_TIME=5 \
|
39
47
|
NAME="us-west-2-to-hetzner" \
|
40
48
|
SERVER="ec2.mtr-monitor.us-west-2.semaphoreci.com" \
|
41
49
|
HOSTNAME="mtr-monitor.us-west-2.semaphoreci.com" \
|
42
|
-
MTR_OPTIONS="-z -c 50 -f 12"
|
50
|
+
MTR_OPTIONS="-w -z -c 50 -f 12" \
|
51
|
+
MTR_TARGET_DOMAIN=136.243.108.222 \
|
43
52
|
bundle exec rake deploy
|
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ task :deploy do
|
|
11
11
|
|
12
12
|
File.open(".env", "w") do |f|
|
13
13
|
f.write("LOGDNA_INGESTION_KEY=#{ENV.fetch("LOGDNA_INGESTION_KEY")}\n")
|
14
|
-
f.write("
|
14
|
+
f.write("MTR_TARGET_DOMAIN=#{ENV.fetch("MTR_TARGET_DOMAIN")}\n")
|
15
15
|
f.write("WATCHMAN_HOST=#{ENV.fetch("WATCHMAN_HOST")}\n")
|
16
16
|
f.write("SLEEP_TIME=#{ENV.fetch("SLEEP_TIME")}\n")
|
17
17
|
f.write("AWS_SECRET_ACCESS_KEY=#{ENV.fetch("AWS_SECRET_ACCESS_KEY")}\n")
|
data/exe/mtr_report
CHANGED
@@ -9,7 +9,7 @@ require "logger"
|
|
9
9
|
logger = Logger.new(STDOUT)
|
10
10
|
|
11
11
|
name = ENV.fetch("NAME")
|
12
|
-
|
12
|
+
mtr_target_domain = ENV.fetch("MTR_TARGET_DOMAIN")
|
13
13
|
s3_bucket = ENV.fetch("S3_BUCKET")
|
14
14
|
aws_access_key_id = ENV.fetch("AWS_ACCESS_KEY_ID")
|
15
15
|
aws_secret_access_key = ENV.fetch("AWS_SECRET_ACCESS_KEY")
|
@@ -24,7 +24,7 @@ Watchman.prefix = "mtr-monitor.prod"
|
|
24
24
|
|
25
25
|
loop do
|
26
26
|
report = MtrMonitor::Report.new(name,
|
27
|
-
|
27
|
+
mtr_target_domain,
|
28
28
|
s3_bucket,
|
29
29
|
mtr_options,
|
30
30
|
aws_access_key_id,
|
data/lib/mtr_monitor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mtr_monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RenderedText DevOps Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logdna
|