mtr_monitor 0.19.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aeabbe48387119e1600b78288faf7a8020eabb01
4
- data.tar.gz: bfd527edfa5ff5269ef72763d7521e431de43624
3
+ metadata.gz: 216fbb219b4e25dc96db100a8e3301567a7f35ca
4
+ data.tar.gz: 0c868a8045186925f324d54ab9e734641d518193
5
5
  SHA512:
6
- metadata.gz: edbf53bf490b0714e699b6f57cc40fb3f01058822cc5ea1ab0f15dbbf0c5ab142fb14261dd1c61f5cb09f08dd0190a17c4393320af5d589b89ce11bc5887ddfc
7
- data.tar.gz: 7b98dd952a32caeadf513029bc9364164c103a6f39140a47b816dc033fedd5b81e742dd1ad749de113fe98130f77d222de757c7cd1ee3dc79063b8a79802b9a1
6
+ metadata.gz: 8c36f4e0fcb3dc1542992bc661561ea13c2b8bc1172bf5feabe525382f62cbbd3f411197a08e54338be6bf64f0fad6ce121790619af0fe7abeea5bd2d5e46523
7
+ data.tar.gz: 58114a469cd54fb63a7b8568367fc4355aaf2c5a39bfe5fea2c2ba6d650533ba09a24772a74c3e9d3b9b99abde00c1ee80a8748be1df18a41f6300b95e0bf49c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mtr_monitor (0.19.0)
4
+ mtr_monitor (1.0.0)
5
5
  logdna
6
6
  rt-watchman (~> 0.10.0)
7
7
 
@@ -44,4 +44,4 @@ DEPENDENCIES
44
44
  rspec (~> 3.0)
45
45
 
46
46
  BUNDLED WITH
47
- 1.16.0
47
+ 1.16.1
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("DOMAIN=#{ENV.fetch("DOMAIN")}\n")
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
- domain = ENV.fetch("DOMAIN")
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
- domain,
27
+ mtr_target_domain,
28
28
  s3_bucket,
29
29
  mtr_options,
30
30
  aws_access_key_id,
@@ -1,3 +1,3 @@
1
1
  module MtrMonitor
2
- VERSION = "0.19.0"
2
+ VERSION = "1.0.0"
3
3
  end
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.19.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-25 00:00:00.000000000 Z
11
+ date: 2018-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logdna