oboe 2.7.5.wolf3-java → 2.7.5.1-java
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 +4 -4
- data/.travis.yml +5 -4
- data/CHANGELOG.md +17 -2
- data/Gemfile +1 -0
- data/Rakefile +1 -0
- data/lib/oboe/version.rb +1 -1
- data/test/instrumentation/typhoeus_test.rb +112 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce92819a96ee793cbe17199fc0fbfe12c03b8548
|
4
|
+
data.tar.gz: 22a7a87fa39eda4a1e2c52854fb71508f923dc0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c184bb5ebe38c0ee89b6ebe09f99a371a576bd61f23354fddf99c1eadf7026696deadefe14651628af9aa87b0f1594df00565e9954b4ec1d9ba252b51f628198
|
7
|
+
data.tar.gz: 0f27e2ae0c3077d80560e47fd2111a464ecdc72dc8a4ece0ecd3d845cbac46cfb1e8b91589f8a1cdac9887ea8de1e36b07acba4f6027e2139ade9f26af002ed9
|
data/.travis.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
language: ruby
|
2
2
|
|
3
|
-
cache:
|
3
|
+
cache:
|
4
4
|
bundler: true
|
5
5
|
directories:
|
6
6
|
- vendor/bundle
|
@@ -24,12 +24,13 @@ before_install:
|
|
24
24
|
- gem update --system 2.1.11
|
25
25
|
- gem --version
|
26
26
|
- sudo sh -c "echo 'JVM_OPTS=\"\${JVM_OPTS} -Djava.net.preferIPv4Stack=false\"' >> /usr/local/cassandra/conf/cassandra-env.sh"
|
27
|
+
- echo "127.0.0.1 localhost" | sudo tee /etc/hosts
|
27
28
|
- echo "127.0.0.1 " `hostname` | sudo tee /etc/hosts
|
28
29
|
- sudo service cassandra start
|
29
30
|
|
30
31
|
before_script: sleep 10
|
31
32
|
|
32
|
-
install:
|
33
|
+
install:
|
33
34
|
- wget https://www.tracelytics.com/install_tracelytics.sh
|
34
35
|
- sudo sh ./install_tracelytics.sh f51e2a43-0ee5-4851-8a54-825773b3218e
|
35
36
|
- sudo apt-get install -y tracelytics-java-agent
|
@@ -40,7 +41,7 @@ before_script:
|
|
40
41
|
|
41
42
|
script: "bundle exec rake test"
|
42
43
|
|
43
|
-
services:
|
44
|
+
services:
|
44
45
|
- mongodb
|
45
46
|
- memcached
|
46
47
|
- cassandra
|
@@ -48,4 +49,4 @@ services:
|
|
48
49
|
|
49
50
|
matrix:
|
50
51
|
allow_failures:
|
51
|
-
|
52
|
+
|
data/CHANGELOG.md
CHANGED
@@ -4,12 +4,27 @@ https://github.com/appneta/oboe-ruby/releases
|
|
4
4
|
|
5
5
|
Dates in this file are in the format MM/DD/YYYY.
|
6
6
|
|
7
|
+
# oboe 2.7.5.1 (11/20/2014)
|
8
|
+
|
9
|
+
This patch release includes:
|
10
|
+
|
11
|
+
* New [Typhoeus](https://github.com/typhoeus/typhoeus) instrumentation: #90
|
12
|
+
* JRuby: Better Handling of Agent JSON Parsing Errors: #89
|
13
|
+
* Faraday doesn't Log like the others; Fixup Verbose Logging: #79
|
14
|
+
* Add DB Adapters to __Init reporting: #83
|
15
|
+
* Extended Typhoeus tests: #92
|
16
|
+
|
17
|
+
Pushed to Rubygems:
|
18
|
+
|
19
|
+
https://rubygems.org/gems/oboe/versions/2.7.5.1
|
20
|
+
https://rubygems.org/gems/oboe/versions/2.7.5.1-java
|
21
|
+
|
7
22
|
# oboe 2.7.4.1 (10/26/2014)
|
8
23
|
|
9
24
|
This patch release includes:
|
10
25
|
|
11
26
|
* Make Oboe::API available even when liboboe.so is not #81 (thanks Cannon!)
|
12
|
-
* Add OS and Oboe::Config info to
|
27
|
+
* Add OS and Oboe::Config info to support report #80
|
13
28
|
|
14
29
|
Pushed to Rubygems:
|
15
30
|
|
@@ -22,7 +37,7 @@ This patch release includes:
|
|
22
37
|
|
23
38
|
* Fix require statements under certain variations of REE-1.8.7: #78 (thanks @madrobby)
|
24
39
|
* Faraday instrumentation fails to capture and pass params update block: #79
|
25
|
-
* Add method to log environment details for support investigations (`Oboe.
|
40
|
+
* Add method to log environment details for support investigations (`Oboe.support_ report`): #77
|
26
41
|
|
27
42
|
Pushed to Rubygems:
|
28
43
|
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/lib/oboe/version.rb
CHANGED
@@ -46,7 +46,116 @@ describe Oboe::Inst::TyphoeusRequestOps do
|
|
46
46
|
traces[3]['Label'].must_equal 'exit'
|
47
47
|
end
|
48
48
|
|
49
|
-
it 'should trace a typhoeus request
|
49
|
+
it 'should trace a typhoeus POST request' do
|
50
|
+
Oboe::API.start_trace('typhoeus_test') do
|
51
|
+
Typhoeus.post("https://internal.tv.appneta.com/api-v2/log_message",
|
52
|
+
:body => { :key => "oboe-ruby-fake", :content => "oboe-ruby repo test suite"})
|
53
|
+
end
|
54
|
+
|
55
|
+
traces = get_all_traces
|
56
|
+
traces.count.must_equal 5
|
57
|
+
|
58
|
+
validate_outer_layers(traces, 'typhoeus_test')
|
59
|
+
|
60
|
+
traces[1]['Layer'].must_equal 'typhoeus'
|
61
|
+
traces[1].key?('Backtrace').must_equal Oboe::Config[:typhoeus][:collect_backtraces]
|
62
|
+
|
63
|
+
traces[2]['Layer'].must_equal 'typhoeus'
|
64
|
+
traces[2]['Label'].must_equal 'info'
|
65
|
+
traces[2]['IsService'].must_equal '1'
|
66
|
+
traces[2]['RemoteProtocol'].downcase.must_equal 'https'
|
67
|
+
traces[2]['RemoteHost'].must_equal 'internal.tv.appneta.com'
|
68
|
+
traces[2]['RemotePort'].must_equal '443'
|
69
|
+
traces[2]['ServiceArg'].must_equal '/api-v2/log_message'
|
70
|
+
traces[2]['HTTPMethod'].must_equal 'post'
|
71
|
+
traces[2]['HTTPStatus'].must_equal '302'
|
72
|
+
|
73
|
+
traces[3]['Layer'].must_equal 'typhoeus'
|
74
|
+
traces[3]['Label'].must_equal 'exit'
|
75
|
+
end
|
76
|
+
|
77
|
+
it 'should trace a typhoeus PUT request' do
|
78
|
+
Oboe::API.start_trace('typhoeus_test') do
|
79
|
+
Typhoeus.put("https://internal.tv.appneta.com/api-v2/log_message",
|
80
|
+
:body => { :key => "oboe-ruby-fake", :content => "oboe-ruby repo test suite"})
|
81
|
+
end
|
82
|
+
|
83
|
+
traces = get_all_traces
|
84
|
+
traces.count.must_equal 5
|
85
|
+
|
86
|
+
validate_outer_layers(traces, 'typhoeus_test')
|
87
|
+
|
88
|
+
traces[1]['Layer'].must_equal 'typhoeus'
|
89
|
+
traces[1].key?('Backtrace').must_equal Oboe::Config[:typhoeus][:collect_backtraces]
|
90
|
+
|
91
|
+
traces[2]['Layer'].must_equal 'typhoeus'
|
92
|
+
traces[2]['Label'].must_equal 'info'
|
93
|
+
traces[2]['IsService'].must_equal '1'
|
94
|
+
traces[2]['RemoteProtocol'].downcase.must_equal 'https'
|
95
|
+
traces[2]['RemoteHost'].must_equal 'internal.tv.appneta.com'
|
96
|
+
traces[2]['RemotePort'].must_equal '443'
|
97
|
+
traces[2]['ServiceArg'].must_equal '/api-v2/log_message'
|
98
|
+
traces[2]['HTTPMethod'].must_equal 'put'
|
99
|
+
traces[2]['HTTPStatus'].must_equal '405'
|
100
|
+
|
101
|
+
traces[3]['Layer'].must_equal 'typhoeus'
|
102
|
+
traces[3]['Label'].must_equal 'exit'
|
103
|
+
end
|
104
|
+
|
105
|
+
it 'should trace a typhoeus DELETE request' do
|
106
|
+
Oboe::API.start_trace('typhoeus_test') do
|
107
|
+
Typhoeus.delete("https://internal.tv.appneta.com/api-v2/log_message")
|
108
|
+
end
|
109
|
+
|
110
|
+
traces = get_all_traces
|
111
|
+
traces.count.must_equal 5
|
112
|
+
|
113
|
+
validate_outer_layers(traces, 'typhoeus_test')
|
114
|
+
|
115
|
+
traces[1]['Layer'].must_equal 'typhoeus'
|
116
|
+
traces[1].key?('Backtrace').must_equal Oboe::Config[:typhoeus][:collect_backtraces]
|
117
|
+
|
118
|
+
traces[2]['Layer'].must_equal 'typhoeus'
|
119
|
+
traces[2]['Label'].must_equal 'info'
|
120
|
+
traces[2]['IsService'].must_equal '1'
|
121
|
+
traces[2]['RemoteProtocol'].downcase.must_equal 'https'
|
122
|
+
traces[2]['RemoteHost'].must_equal 'internal.tv.appneta.com'
|
123
|
+
traces[2]['RemotePort'].must_equal '443'
|
124
|
+
traces[2]['ServiceArg'].must_equal '/api-v2/log_message'
|
125
|
+
traces[2]['HTTPMethod'].must_equal 'delete'
|
126
|
+
traces[2]['HTTPStatus'].must_equal '405'
|
127
|
+
|
128
|
+
traces[3]['Layer'].must_equal 'typhoeus'
|
129
|
+
traces[3]['Label'].must_equal 'exit'
|
130
|
+
end
|
131
|
+
|
132
|
+
it 'should trace a typhoeus HEAD request' do
|
133
|
+
Oboe::API.start_trace('typhoeus_test') do
|
134
|
+
Typhoeus.head("http://www.appneta.com/")
|
135
|
+
end
|
136
|
+
|
137
|
+
traces = get_all_traces
|
138
|
+
traces.count.must_equal 5
|
139
|
+
|
140
|
+
validate_outer_layers(traces, 'typhoeus_test')
|
141
|
+
|
142
|
+
traces[1]['Layer'].must_equal 'typhoeus'
|
143
|
+
traces[1].key?('Backtrace').must_equal Oboe::Config[:typhoeus][:collect_backtraces]
|
144
|
+
|
145
|
+
traces[2]['Layer'].must_equal 'typhoeus'
|
146
|
+
traces[2]['Label'].must_equal 'info'
|
147
|
+
traces[2]['IsService'].must_equal '1'
|
148
|
+
traces[2]['RemoteProtocol'].downcase.must_equal 'http'
|
149
|
+
traces[2]['RemoteHost'].must_equal 'www.appneta.com'
|
150
|
+
traces[2]['ServiceArg'].must_equal '/'
|
151
|
+
traces[2]['HTTPMethod'].must_equal 'head'
|
152
|
+
traces[2]['HTTPStatus'].must_equal '200'
|
153
|
+
|
154
|
+
traces[3]['Layer'].must_equal 'typhoeus'
|
155
|
+
traces[3]['Label'].must_equal 'exit'
|
156
|
+
end
|
157
|
+
|
158
|
+
it 'should trace a typhoeus GET request to an instr\'d app' do
|
50
159
|
Oboe::API.start_trace('typhoeus_test') do
|
51
160
|
Typhoeus.get("www.gameface.in/gamers")
|
52
161
|
end
|
@@ -71,7 +180,8 @@ describe Oboe::Inst::TyphoeusRequestOps do
|
|
71
180
|
traces[3]['Layer'].must_equal 'typhoeus'
|
72
181
|
traces[3]['Label'].must_equal 'exit'
|
73
182
|
end
|
74
|
-
|
183
|
+
|
184
|
+
it 'should trace a typhoeus GET request with DNS error' do
|
75
185
|
Oboe::API.start_trace('typhoeus_test') do
|
76
186
|
Typhoeus.get("thisdomaindoesntexisthopefully.asdf/products/traceview/")
|
77
187
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oboe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.5.
|
4
|
+
version: 2.7.5.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Peter Giacomo Lombardo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-11-
|
12
|
+
date: 2014-11-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -171,9 +171,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
171
171
|
version: 1.8.6
|
172
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
173
|
requirements:
|
174
|
-
- - '
|
174
|
+
- - '>='
|
175
175
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
176
|
+
version: '0'
|
177
177
|
requirements: []
|
178
178
|
rubyforge_project:
|
179
179
|
rubygems_version: 2.1.9
|