mina-instana 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/lib/mina/instana.rb +5 -1
- data/lib/mina/instana/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: e60aecb3b5375f498336821e184ac08c15331bba
|
4
|
+
data.tar.gz: da3e5d9a13a64663ccab547ce1a503acf40c38ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8281c16d55fac71b793a228b47e1f10eaf0853a31e44baa15f1996f218bee4b155343aec72ea239f9a6a6ccb9ca426c5aa57f380ebb12d95b7779c5e5df49e27
|
7
|
+
data.tar.gz: 59c8bc5784607dac37acd0cbafea79348c097e41e912ab1a8dea8eb3f280bfe660ed1b7bc733448e06e0e2a22bc6496319cded703a8c99fa18d94b9024e907c4
|
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# mina-instana
|
2
2
|
|
3
|
-
Send [Mina](http://nadarei.co/mina/) deploy events to Instana.
|
3
|
+
Send [Mina](http://nadarei.co/mina/) deploy events to [Instana](https://www.instana.com/).
|
4
|
+
|
5
|
+
![instana deploy notification started 2017-03-12 at 15 08 10](https://cloud.githubusercontent.com/assets/395132/23832516/063eab12-0736-11e7-9862-071649928131.png)
|
6
|
+
![instana deploy notification finished 2017-03-12 at 15 07 00](https://cloud.githubusercontent.com/assets/395132/23832517/0646b262-0736-11e7-9388-1525329ecd5c.png)
|
4
7
|
|
5
8
|
## Installation
|
6
9
|
|
@@ -28,6 +31,8 @@ Deploy...
|
|
28
31
|
|
29
32
|
Profit!
|
30
33
|
|
34
|
+
_Note: The Instana agent should be running on the same host from where deploys are launched._
|
35
|
+
|
31
36
|
## Development
|
32
37
|
|
33
38
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/mina/instana.rb
CHANGED
@@ -29,6 +29,8 @@ namespace :instana do
|
|
29
29
|
Net::HTTP.start(uri.hostname, uri.port) do |http|
|
30
30
|
http.request(req)
|
31
31
|
end
|
32
|
+
rescue Errno::ECONNREFUSED
|
33
|
+
print_error "The Instana host agent isn't running on localhost. Can't post deploy notifications."
|
32
34
|
rescue => e
|
33
35
|
print_error "Error posting notification to Instana: #{e.inspect}"
|
34
36
|
end
|
@@ -55,7 +57,9 @@ namespace :instana do
|
|
55
57
|
Net::HTTP.start(uri.hostname, uri.port) do |http|
|
56
58
|
http.request(req)
|
57
59
|
end
|
58
|
-
rescue
|
60
|
+
rescue Errno::ECONNREFUSED
|
61
|
+
print_error "The Instana host agent isn't running on localhost. Can't post deploy notifications."
|
62
|
+
rescue => e
|
59
63
|
print_error "Error posting notification to Instana: #{e.inspect}"
|
60
64
|
end
|
61
65
|
end
|
data/lib/mina/instana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mina-instana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Giacomo Lombardo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mina
|