instana 1.10.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.codeclimate.yml +23 -0
- data/.gitignore +16 -0
- data/.rubocop.yml +1156 -0
- data/.travis.yml +43 -0
- data/Configuration.md +149 -0
- data/Dockerfile +13 -0
- data/Gemfile +41 -0
- data/LICENSE +21 -0
- data/README.md +102 -0
- data/Rakefile +56 -0
- data/Tracing.md +145 -0
- data/Troubleshooting.md +32 -0
- data/benchmarks/Gemfile +7 -0
- data/benchmarks/id_generation.rb +12 -0
- data/benchmarks/opentracing.rb +26 -0
- data/benchmarks/rack_vanilla_vs_traced.rb +80 -0
- data/benchmarks/stackprof_rack_tracing.rb +77 -0
- data/benchmarks/time_processing.rb +12 -0
- data/bin/console +7 -0
- data/bin/setup +8 -0
- data/examples/opentracing.rb +31 -0
- data/examples/tracing.rb +80 -0
- data/gemfiles/libraries.gemfile +71 -0
- data/gemfiles/rails32.gemfile +51 -0
- data/gemfiles/rails42.gemfile +50 -0
- data/gemfiles/rails50.gemfile +52 -0
- data/instana.gemspec +46 -0
- data/lib/instana.rb +12 -0
- data/lib/instana/agent.rb +441 -0
- data/lib/instana/agent/helpers.rb +61 -0
- data/lib/instana/agent/hooks.rb +37 -0
- data/lib/instana/agent/tasks.rb +48 -0
- data/lib/instana/base.rb +54 -0
- data/lib/instana/collector.rb +116 -0
- data/lib/instana/collectors/gc.rb +57 -0
- data/lib/instana/collectors/memory.rb +34 -0
- data/lib/instana/collectors/thread.rb +30 -0
- data/lib/instana/config.rb +79 -0
- data/lib/instana/eum/eum-test.js.erb +16 -0
- data/lib/instana/eum/eum.js.erb +14 -0
- data/lib/instana/frameworks/cuba.rb +6 -0
- data/lib/instana/frameworks/instrumentation/abstract_mysql_adapter.rb +58 -0
- data/lib/instana/frameworks/instrumentation/action_controller.rb +183 -0
- data/lib/instana/frameworks/instrumentation/action_view.rb +43 -0
- data/lib/instana/frameworks/instrumentation/active_record.rb +27 -0
- data/lib/instana/frameworks/instrumentation/mysql2_adapter.rb +81 -0
- data/lib/instana/frameworks/instrumentation/mysql_adapter.rb +56 -0
- data/lib/instana/frameworks/instrumentation/postgresql_adapter.rb +71 -0
- data/lib/instana/frameworks/rails.rb +42 -0
- data/lib/instana/frameworks/roda.rb +6 -0
- data/lib/instana/frameworks/sinatra.rb +9 -0
- data/lib/instana/helpers.rb +40 -0
- data/lib/instana/instrumentation.rb +21 -0
- data/lib/instana/instrumentation/dalli.rb +78 -0
- data/lib/instana/instrumentation/excon.rb +74 -0
- data/lib/instana/instrumentation/grpc.rb +84 -0
- data/lib/instana/instrumentation/net-http.rb +66 -0
- data/lib/instana/instrumentation/rack.rb +77 -0
- data/lib/instana/instrumentation/redis.rb +82 -0
- data/lib/instana/instrumentation/resque.rb +131 -0
- data/lib/instana/instrumentation/rest-client.rb +34 -0
- data/lib/instana/instrumentation/sidekiq-client.rb +45 -0
- data/lib/instana/instrumentation/sidekiq-worker.rb +54 -0
- data/lib/instana/opentracing/carrier.rb +4 -0
- data/lib/instana/opentracing/tracer.rb +18 -0
- data/lib/instana/rack.rb +10 -0
- data/lib/instana/setup.rb +36 -0
- data/lib/instana/test.rb +40 -0
- data/lib/instana/thread_local.rb +15 -0
- data/lib/instana/tracer.rb +392 -0
- data/lib/instana/tracing/processor.rb +92 -0
- data/lib/instana/tracing/span.rb +401 -0
- data/lib/instana/tracing/span_context.rb +33 -0
- data/lib/instana/util.rb +261 -0
- data/lib/instana/version.rb +4 -0
- data/lib/oj_check.rb +16 -0
- data/lib/opentracing.rb +6 -0
- data/test/agent/agent_test.rb +143 -0
- data/test/apps/cuba.rb +15 -0
- data/test/apps/grpc_server.rb +81 -0
- data/test/apps/roda.rb +10 -0
- data/test/apps/sinatra.rb +5 -0
- data/test/benchmarks/bench_id_generation.rb +12 -0
- data/test/benchmarks/bench_opentracing.rb +13 -0
- data/test/config_test.rb +37 -0
- data/test/frameworks/cuba_test.rb +44 -0
- data/test/frameworks/rack_test.rb +167 -0
- data/test/frameworks/rails/actioncontroller_test.rb +93 -0
- data/test/frameworks/rails/actionview3_test.rb +255 -0
- data/test/frameworks/rails/actionview4_test.rb +254 -0
- data/test/frameworks/rails/actionview5_test.rb +221 -0
- data/test/frameworks/rails/activerecord3_test.rb +134 -0
- data/test/frameworks/rails/activerecord4_test.rb +134 -0
- data/test/frameworks/rails/activerecord5_test.rb +87 -0
- data/test/frameworks/roda_test.rb +44 -0
- data/test/frameworks/sinatra_test.rb +44 -0
- data/test/instana_test.rb +27 -0
- data/test/instrumentation/dalli_test.rb +253 -0
- data/test/instrumentation/excon_test.rb +147 -0
- data/test/instrumentation/grpc_test.rb +377 -0
- data/test/instrumentation/net-http_test.rb +160 -0
- data/test/instrumentation/redis_test.rb +119 -0
- data/test/instrumentation/resque_test.rb +128 -0
- data/test/instrumentation/rest-client_test.rb +55 -0
- data/test/instrumentation/sidekiq-client_test.rb +125 -0
- data/test/instrumentation/sidekiq-worker_test.rb +173 -0
- data/test/jobs/resque_error_job.rb +22 -0
- data/test/jobs/resque_fast_job.rb +20 -0
- data/test/jobs/sidekiq_job_1.rb +6 -0
- data/test/jobs/sidekiq_job_2.rb +7 -0
- data/test/models/block.rb +18 -0
- data/test/servers/grpc_50051.rb +20 -0
- data/test/servers/helpers/sidekiq_worker_initializer.rb +27 -0
- data/test/servers/rackapp_6511.rb +25 -0
- data/test/servers/rails_3205.rb +167 -0
- data/test/servers/sidekiq/worker.rb +27 -0
- data/test/test_helper.rb +145 -0
- data/test/tracing/custom_test.rb +158 -0
- data/test/tracing/id_management_test.rb +130 -0
- data/test/tracing/opentracing_test.rb +335 -0
- data/test/tracing/trace_test.rb +67 -0
- data/test/tracing/tracer_async_test.rb +198 -0
- data/test/tracing/tracer_test.rb +223 -0
- metadata +327 -0
metadata
ADDED
@@ -0,0 +1,327 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: instana
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.10.1
|
5
|
+
platform: java
|
6
|
+
authors:
|
7
|
+
- Peter Giacomo Lombardo
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-08-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '2.0'
|
19
|
+
name: bundler
|
20
|
+
prerelease: false
|
21
|
+
type: :development
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '10.0'
|
33
|
+
name: rake
|
34
|
+
prerelease: false
|
35
|
+
type: :development
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '5.0'
|
47
|
+
name: minitest
|
48
|
+
prerelease: false
|
49
|
+
type: :development
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.10.0
|
61
|
+
name: pry
|
62
|
+
prerelease: false
|
63
|
+
type: :development
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.10.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 1.2.2
|
75
|
+
name: sys-proctable
|
76
|
+
prerelease: false
|
77
|
+
type: :runtime
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.2.2
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 0.2.1
|
89
|
+
name: get_process_mem
|
90
|
+
prerelease: false
|
91
|
+
type: :runtime
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.2.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 4.0.0
|
103
|
+
name: timers
|
104
|
+
prerelease: false
|
105
|
+
type: :runtime
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 4.0.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 1.0.11
|
117
|
+
name: ffi
|
118
|
+
prerelease: false
|
119
|
+
type: :runtime
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.0.11
|
125
|
+
description: The Instana gem collects and reports Ruby metrics and distibuted traces
|
126
|
+
to your Instana dashboard.
|
127
|
+
email:
|
128
|
+
- pglombardo@gmail.com
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- ".codeclimate.yml"
|
134
|
+
- ".gitignore"
|
135
|
+
- ".rubocop.yml"
|
136
|
+
- ".travis.yml"
|
137
|
+
- Configuration.md
|
138
|
+
- Dockerfile
|
139
|
+
- Gemfile
|
140
|
+
- LICENSE
|
141
|
+
- README.md
|
142
|
+
- Rakefile
|
143
|
+
- Tracing.md
|
144
|
+
- Troubleshooting.md
|
145
|
+
- benchmarks/Gemfile
|
146
|
+
- benchmarks/id_generation.rb
|
147
|
+
- benchmarks/opentracing.rb
|
148
|
+
- benchmarks/rack_vanilla_vs_traced.rb
|
149
|
+
- benchmarks/stackprof_rack_tracing.rb
|
150
|
+
- benchmarks/time_processing.rb
|
151
|
+
- bin/console
|
152
|
+
- bin/setup
|
153
|
+
- examples/opentracing.rb
|
154
|
+
- examples/tracing.rb
|
155
|
+
- gemfiles/libraries.gemfile
|
156
|
+
- gemfiles/rails32.gemfile
|
157
|
+
- gemfiles/rails42.gemfile
|
158
|
+
- gemfiles/rails50.gemfile
|
159
|
+
- instana.gemspec
|
160
|
+
- lib/instana.rb
|
161
|
+
- lib/instana/agent.rb
|
162
|
+
- lib/instana/agent/helpers.rb
|
163
|
+
- lib/instana/agent/hooks.rb
|
164
|
+
- lib/instana/agent/tasks.rb
|
165
|
+
- lib/instana/base.rb
|
166
|
+
- lib/instana/collector.rb
|
167
|
+
- lib/instana/collectors/gc.rb
|
168
|
+
- lib/instana/collectors/memory.rb
|
169
|
+
- lib/instana/collectors/thread.rb
|
170
|
+
- lib/instana/config.rb
|
171
|
+
- lib/instana/eum/eum-test.js.erb
|
172
|
+
- lib/instana/eum/eum.js.erb
|
173
|
+
- lib/instana/frameworks/cuba.rb
|
174
|
+
- lib/instana/frameworks/instrumentation/abstract_mysql_adapter.rb
|
175
|
+
- lib/instana/frameworks/instrumentation/action_controller.rb
|
176
|
+
- lib/instana/frameworks/instrumentation/action_view.rb
|
177
|
+
- lib/instana/frameworks/instrumentation/active_record.rb
|
178
|
+
- lib/instana/frameworks/instrumentation/mysql2_adapter.rb
|
179
|
+
- lib/instana/frameworks/instrumentation/mysql_adapter.rb
|
180
|
+
- lib/instana/frameworks/instrumentation/postgresql_adapter.rb
|
181
|
+
- lib/instana/frameworks/rails.rb
|
182
|
+
- lib/instana/frameworks/roda.rb
|
183
|
+
- lib/instana/frameworks/sinatra.rb
|
184
|
+
- lib/instana/helpers.rb
|
185
|
+
- lib/instana/instrumentation.rb
|
186
|
+
- lib/instana/instrumentation/dalli.rb
|
187
|
+
- lib/instana/instrumentation/excon.rb
|
188
|
+
- lib/instana/instrumentation/grpc.rb
|
189
|
+
- lib/instana/instrumentation/net-http.rb
|
190
|
+
- lib/instana/instrumentation/rack.rb
|
191
|
+
- lib/instana/instrumentation/redis.rb
|
192
|
+
- lib/instana/instrumentation/resque.rb
|
193
|
+
- lib/instana/instrumentation/rest-client.rb
|
194
|
+
- lib/instana/instrumentation/sidekiq-client.rb
|
195
|
+
- lib/instana/instrumentation/sidekiq-worker.rb
|
196
|
+
- lib/instana/opentracing/carrier.rb
|
197
|
+
- lib/instana/opentracing/tracer.rb
|
198
|
+
- lib/instana/rack.rb
|
199
|
+
- lib/instana/setup.rb
|
200
|
+
- lib/instana/test.rb
|
201
|
+
- lib/instana/thread_local.rb
|
202
|
+
- lib/instana/tracer.rb
|
203
|
+
- lib/instana/tracing/processor.rb
|
204
|
+
- lib/instana/tracing/span.rb
|
205
|
+
- lib/instana/tracing/span_context.rb
|
206
|
+
- lib/instana/util.rb
|
207
|
+
- lib/instana/version.rb
|
208
|
+
- lib/oj_check.rb
|
209
|
+
- lib/opentracing.rb
|
210
|
+
- log/.keep
|
211
|
+
- test/agent/agent_test.rb
|
212
|
+
- test/apps/cuba.rb
|
213
|
+
- test/apps/grpc_server.rb
|
214
|
+
- test/apps/roda.rb
|
215
|
+
- test/apps/sinatra.rb
|
216
|
+
- test/benchmarks/bench_id_generation.rb
|
217
|
+
- test/benchmarks/bench_opentracing.rb
|
218
|
+
- test/config_test.rb
|
219
|
+
- test/frameworks/cuba_test.rb
|
220
|
+
- test/frameworks/rack_test.rb
|
221
|
+
- test/frameworks/rails/actioncontroller_test.rb
|
222
|
+
- test/frameworks/rails/actionview3_test.rb
|
223
|
+
- test/frameworks/rails/actionview4_test.rb
|
224
|
+
- test/frameworks/rails/actionview5_test.rb
|
225
|
+
- test/frameworks/rails/activerecord3_test.rb
|
226
|
+
- test/frameworks/rails/activerecord4_test.rb
|
227
|
+
- test/frameworks/rails/activerecord5_test.rb
|
228
|
+
- test/frameworks/roda_test.rb
|
229
|
+
- test/frameworks/sinatra_test.rb
|
230
|
+
- test/instana_test.rb
|
231
|
+
- test/instrumentation/dalli_test.rb
|
232
|
+
- test/instrumentation/excon_test.rb
|
233
|
+
- test/instrumentation/grpc_test.rb
|
234
|
+
- test/instrumentation/net-http_test.rb
|
235
|
+
- test/instrumentation/redis_test.rb
|
236
|
+
- test/instrumentation/resque_test.rb
|
237
|
+
- test/instrumentation/rest-client_test.rb
|
238
|
+
- test/instrumentation/sidekiq-client_test.rb
|
239
|
+
- test/instrumentation/sidekiq-worker_test.rb
|
240
|
+
- test/jobs/resque_error_job.rb
|
241
|
+
- test/jobs/resque_fast_job.rb
|
242
|
+
- test/jobs/sidekiq_job_1.rb
|
243
|
+
- test/jobs/sidekiq_job_2.rb
|
244
|
+
- test/models/block.rb
|
245
|
+
- test/servers/grpc_50051.rb
|
246
|
+
- test/servers/helpers/sidekiq_worker_initializer.rb
|
247
|
+
- test/servers/rackapp_6511.rb
|
248
|
+
- test/servers/rails_3205.rb
|
249
|
+
- test/servers/sidekiq/worker.rb
|
250
|
+
- test/test_helper.rb
|
251
|
+
- test/tracing/custom_test.rb
|
252
|
+
- test/tracing/id_management_test.rb
|
253
|
+
- test/tracing/opentracing_test.rb
|
254
|
+
- test/tracing/trace_test.rb
|
255
|
+
- test/tracing/tracer_async_test.rb
|
256
|
+
- test/tracing/tracer_test.rb
|
257
|
+
homepage: https://www.instana.com/
|
258
|
+
licenses:
|
259
|
+
- MIT
|
260
|
+
metadata: {}
|
261
|
+
post_install_message:
|
262
|
+
rdoc_options: []
|
263
|
+
require_paths:
|
264
|
+
- lib
|
265
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
266
|
+
requirements:
|
267
|
+
- - ">="
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: '2.1'
|
270
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
271
|
+
requirements:
|
272
|
+
- - ">="
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: '0'
|
275
|
+
requirements: []
|
276
|
+
rubyforge_project:
|
277
|
+
rubygems_version: 2.7.9
|
278
|
+
signing_key:
|
279
|
+
specification_version: 4
|
280
|
+
summary: Ruby Distributed Tracing & Metrics Sensor for Instana
|
281
|
+
test_files:
|
282
|
+
- test/config_test.rb
|
283
|
+
- test/test_helper.rb
|
284
|
+
- test/instana_test.rb
|
285
|
+
- test/tracing/id_management_test.rb
|
286
|
+
- test/tracing/tracer_test.rb
|
287
|
+
- test/tracing/custom_test.rb
|
288
|
+
- test/tracing/opentracing_test.rb
|
289
|
+
- test/tracing/trace_test.rb
|
290
|
+
- test/tracing/tracer_async_test.rb
|
291
|
+
- test/agent/agent_test.rb
|
292
|
+
- test/models/block.rb
|
293
|
+
- test/instrumentation/sidekiq-client_test.rb
|
294
|
+
- test/instrumentation/resque_test.rb
|
295
|
+
- test/instrumentation/sidekiq-worker_test.rb
|
296
|
+
- test/instrumentation/redis_test.rb
|
297
|
+
- test/instrumentation/rest-client_test.rb
|
298
|
+
- test/instrumentation/dalli_test.rb
|
299
|
+
- test/instrumentation/excon_test.rb
|
300
|
+
- test/instrumentation/grpc_test.rb
|
301
|
+
- test/instrumentation/net-http_test.rb
|
302
|
+
- test/benchmarks/bench_opentracing.rb
|
303
|
+
- test/benchmarks/bench_id_generation.rb
|
304
|
+
- test/jobs/sidekiq_job_2.rb
|
305
|
+
- test/jobs/resque_error_job.rb
|
306
|
+
- test/jobs/sidekiq_job_1.rb
|
307
|
+
- test/jobs/resque_fast_job.rb
|
308
|
+
- test/frameworks/cuba_test.rb
|
309
|
+
- test/frameworks/rack_test.rb
|
310
|
+
- test/frameworks/roda_test.rb
|
311
|
+
- test/frameworks/sinatra_test.rb
|
312
|
+
- test/frameworks/rails/actionview4_test.rb
|
313
|
+
- test/frameworks/rails/activerecord3_test.rb
|
314
|
+
- test/frameworks/rails/actioncontroller_test.rb
|
315
|
+
- test/frameworks/rails/actionview5_test.rb
|
316
|
+
- test/frameworks/rails/actionview3_test.rb
|
317
|
+
- test/frameworks/rails/activerecord5_test.rb
|
318
|
+
- test/frameworks/rails/activerecord4_test.rb
|
319
|
+
- test/apps/sinatra.rb
|
320
|
+
- test/apps/roda.rb
|
321
|
+
- test/apps/cuba.rb
|
322
|
+
- test/apps/grpc_server.rb
|
323
|
+
- test/servers/rackapp_6511.rb
|
324
|
+
- test/servers/grpc_50051.rb
|
325
|
+
- test/servers/rails_3205.rb
|
326
|
+
- test/servers/sidekiq/worker.rb
|
327
|
+
- test/servers/helpers/sidekiq_worker_initializer.rb
|