instana 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +2 -0
  3. data/.gitignore +1 -0
  4. data/.travis.yml +24 -2
  5. data/Gemfile +2 -22
  6. data/README.md +1 -1
  7. data/Rakefile +15 -0
  8. data/Tracing.md +29 -2
  9. data/gemfiles/libraries.gemfile +50 -0
  10. data/gemfiles/rails32.gemfile +45 -0
  11. data/gemfiles/rails42.gemfile +44 -0
  12. data/gemfiles/rails50.gemfile +44 -0
  13. data/instana.gemspec +6 -8
  14. data/lib/instana/config.rb +7 -5
  15. data/lib/instana/frameworks/instrumentation/abstract_mysql_adapter.rb +55 -0
  16. data/lib/instana/frameworks/instrumentation/action_controller.rb +105 -0
  17. data/lib/instana/frameworks/instrumentation/active_record.rb +22 -0
  18. data/lib/instana/frameworks/instrumentation/mysql2_adapter.rb +81 -0
  19. data/lib/instana/frameworks/instrumentation/mysql_adapter.rb +56 -0
  20. data/lib/instana/frameworks/instrumentation/postgresql_adapter.rb +71 -0
  21. data/lib/instana/frameworks/rails.rb +5 -0
  22. data/lib/instana/test.rb +40 -0
  23. data/lib/instana/tracer.rb +19 -0
  24. data/lib/instana/tracing/span.rb +3 -3
  25. data/lib/instana/version.rb +1 -1
  26. data/log/.keep +0 -0
  27. data/test/agent/agent_test.rb +139 -0
  28. data/test/apps/cuba.rb +15 -0
  29. data/test/apps/roda.rb +10 -0
  30. data/test/apps/sinatra.rb +5 -0
  31. data/test/config_test.rb +17 -0
  32. data/test/frameworks/cuba_test.rb +44 -0
  33. data/test/frameworks/rack_test.rb +152 -0
  34. data/test/frameworks/rails/actioncontroller_test.rb +123 -0
  35. data/test/frameworks/rails/activerecord3_test.rb +134 -0
  36. data/test/frameworks/rails/activerecord4_test.rb +134 -0
  37. data/test/frameworks/rails/activerecord5_test.rb +90 -0
  38. data/test/frameworks/roda_test.rb +44 -0
  39. data/test/frameworks/sinatra_test.rb +44 -0
  40. data/test/instana_test.rb +27 -0
  41. data/test/instrumentation/dalli_test.rb +274 -0
  42. data/test/instrumentation/excon_test.rb +171 -0
  43. data/test/instrumentation/net-http_test.rb +140 -0
  44. data/test/instrumentation/rest-client_test.rb +61 -0
  45. data/test/models/block.rb +18 -0
  46. data/test/servers/rackapp_6511.rb +20 -0
  47. data/test/servers/rails_3205.rb +95 -0
  48. data/test/test_helper.rb +39 -0
  49. data/test/tracing/custom_test.rb +143 -0
  50. data/test/tracing/id_management_test.rb +96 -0
  51. data/test/tracing/opentracing_test.rb +377 -0
  52. data/test/tracing/trace_test.rb +50 -0
  53. data/test/tracing/tracer_async_test.rb +298 -0
  54. data/test/tracing/tracer_test.rb +202 -0
  55. metadata +114 -4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Giacomo Lombardo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-17 00:00:00.000000000 Z
11
+ date: 2017-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,48 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: byebug
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 8.0.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 8.0.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 0.10.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 0.10.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-byebug
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 3.0.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 3.0.0
55
97
  - !ruby/object:Gem::Dependency
56
98
  name: sys-proctable
57
99
  requirement: !ruby/object:Gem::Requirement
@@ -128,6 +170,10 @@ files:
128
170
  - bin/console
129
171
  - bin/setup
130
172
  - examples/tracing.rb
173
+ - gemfiles/libraries.gemfile
174
+ - gemfiles/rails32.gemfile
175
+ - gemfiles/rails42.gemfile
176
+ - gemfiles/rails50.gemfile
131
177
  - instana.gemspec
132
178
  - lib/instana.rb
133
179
  - lib/instana/agent.rb
@@ -140,6 +186,12 @@ files:
140
186
  - lib/instana/eum/eum-test.js.erb
141
187
  - lib/instana/eum/eum.js.erb
142
188
  - lib/instana/frameworks/cuba.rb
189
+ - lib/instana/frameworks/instrumentation/abstract_mysql_adapter.rb
190
+ - lib/instana/frameworks/instrumentation/action_controller.rb
191
+ - lib/instana/frameworks/instrumentation/active_record.rb
192
+ - lib/instana/frameworks/instrumentation/mysql2_adapter.rb
193
+ - lib/instana/frameworks/instrumentation/mysql_adapter.rb
194
+ - lib/instana/frameworks/instrumentation/postgresql_adapter.rb
143
195
  - lib/instana/frameworks/rails.rb
144
196
  - lib/instana/frameworks/roda.rb
145
197
  - lib/instana/frameworks/sinatra.rb
@@ -155,6 +207,7 @@ files:
155
207
  - lib/instana/opentracing/tracer.rb
156
208
  - lib/instana/rack.rb
157
209
  - lib/instana/setup.rb
210
+ - lib/instana/test.rb
158
211
  - lib/instana/thread_local.rb
159
212
  - lib/instana/tracer.rb
160
213
  - lib/instana/tracing/processor.rb
@@ -164,6 +217,35 @@ files:
164
217
  - lib/instana/util.rb
165
218
  - lib/instana/version.rb
166
219
  - lib/opentracing.rb
220
+ - log/.keep
221
+ - test/agent/agent_test.rb
222
+ - test/apps/cuba.rb
223
+ - test/apps/roda.rb
224
+ - test/apps/sinatra.rb
225
+ - test/config_test.rb
226
+ - test/frameworks/cuba_test.rb
227
+ - test/frameworks/rack_test.rb
228
+ - test/frameworks/rails/actioncontroller_test.rb
229
+ - test/frameworks/rails/activerecord3_test.rb
230
+ - test/frameworks/rails/activerecord4_test.rb
231
+ - test/frameworks/rails/activerecord5_test.rb
232
+ - test/frameworks/roda_test.rb
233
+ - test/frameworks/sinatra_test.rb
234
+ - test/instana_test.rb
235
+ - test/instrumentation/dalli_test.rb
236
+ - test/instrumentation/excon_test.rb
237
+ - test/instrumentation/net-http_test.rb
238
+ - test/instrumentation/rest-client_test.rb
239
+ - test/models/block.rb
240
+ - test/servers/rackapp_6511.rb
241
+ - test/servers/rails_3205.rb
242
+ - test/test_helper.rb
243
+ - test/tracing/custom_test.rb
244
+ - test/tracing/id_management_test.rb
245
+ - test/tracing/opentracing_test.rb
246
+ - test/tracing/trace_test.rb
247
+ - test/tracing/tracer_async_test.rb
248
+ - test/tracing/tracer_test.rb
167
249
  homepage: https://www.instana.com/
168
250
  licenses: []
169
251
  metadata: {}
@@ -183,8 +265,36 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
265
  version: '0'
184
266
  requirements: []
185
267
  rubyforge_project:
186
- rubygems_version: 2.5.2
268
+ rubygems_version: 2.6.8
187
269
  signing_key:
188
270
  specification_version: 4
189
271
  summary: Ruby sensor for Instana
190
- test_files: []
272
+ test_files:
273
+ - test/agent/agent_test.rb
274
+ - test/apps/cuba.rb
275
+ - test/apps/roda.rb
276
+ - test/apps/sinatra.rb
277
+ - test/config_test.rb
278
+ - test/frameworks/cuba_test.rb
279
+ - test/frameworks/rack_test.rb
280
+ - test/frameworks/rails/actioncontroller_test.rb
281
+ - test/frameworks/rails/activerecord3_test.rb
282
+ - test/frameworks/rails/activerecord4_test.rb
283
+ - test/frameworks/rails/activerecord5_test.rb
284
+ - test/frameworks/roda_test.rb
285
+ - test/frameworks/sinatra_test.rb
286
+ - test/instana_test.rb
287
+ - test/instrumentation/dalli_test.rb
288
+ - test/instrumentation/excon_test.rb
289
+ - test/instrumentation/net-http_test.rb
290
+ - test/instrumentation/rest-client_test.rb
291
+ - test/models/block.rb
292
+ - test/servers/rackapp_6511.rb
293
+ - test/servers/rails_3205.rb
294
+ - test/test_helper.rb
295
+ - test/tracing/custom_test.rb
296
+ - test/tracing/id_management_test.rb
297
+ - test/tracing/opentracing_test.rb
298
+ - test/tracing/trace_test.rb
299
+ - test/tracing/tracer_async_test.rb
300
+ - test/tracing/tracer_test.rb