signalfx-rails-instrumentation 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rspec +2 -0
- data/.ruby-version +1 -0
- data/.travis.yml +25 -0
- data/Appraisals +24 -0
- data/CHANGELOG.md +47 -0
- data/Gemfile +10 -0
- data/LICENSE +201 -0
- data/README.md +198 -0
- data/Rakefile +8 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/docker-compose.yml +4 -0
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/rails_32.gemfile +11 -0
- data/gemfiles/rails_4.gemfile +10 -0
- data/gemfiles/rails_40.gemfile +10 -0
- data/gemfiles/rails_41.gemfile +10 -0
- data/gemfiles/rails_42.gemfile +10 -0
- data/gemfiles/rails_5.gemfile +10 -0
- data/gemfiles/rails_50.gemfile +10 -0
- data/gemfiles/rails_51.gemfile +10 -0
- data/lib/rails-tracer.rb +1 -0
- data/lib/rails/action_controller/tracer.rb +100 -0
- data/lib/rails/action_view/tracer.rb +105 -0
- data/lib/rails/active_record/tracer.rb +89 -0
- data/lib/rails/active_support/cache/core_ext.rb +11 -0
- data/lib/rails/active_support/cache/dalli_tracer.rb +106 -0
- data/lib/rails/active_support/cache/manual_tracer.rb +24 -0
- data/lib/rails/active_support/cache/subscriber.rb +62 -0
- data/lib/rails/active_support/cache/tracer.rb +55 -0
- data/lib/rails/defer_notifications.rb +78 -0
- data/lib/rails/rack/tracer.rb +61 -0
- data/lib/rails/span_helpers.rb +24 -0
- data/lib/rails/tracer.rb +38 -0
- data/rails-tracer.gemspec +44 -0
- metadata +330 -0
@@ -0,0 +1,44 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "signalfx-rails-instrumentation"
|
7
|
+
spec.version = "0.1.0"
|
8
|
+
spec.authors = ["iaintshine"]
|
9
|
+
spec.email = ["bodziomista@gmail.com"]
|
10
|
+
|
11
|
+
spec.summary = %q{Fork of ruby-rails-tracer. Rack OpenTracing middleware enhanced for Rails}
|
12
|
+
spec.description = %q{}
|
13
|
+
spec.homepage = "https://github.com/signalfx/ruby-rails-tracer"
|
14
|
+
spec.license = "Apache-2.0"
|
15
|
+
|
16
|
+
spec.required_ruby_version = ">= 2.2.0"
|
17
|
+
|
18
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
19
|
+
f.match(%r{^(test|spec|features)/})
|
20
|
+
end
|
21
|
+
spec.bindir = "exe"
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ["lib"]
|
24
|
+
|
25
|
+
spec.add_dependency 'opentracing', '> 0.3.1'
|
26
|
+
spec.add_dependency "rack-tracer", "> 0.3.0"
|
27
|
+
# spec.add_dependency "method-tracer", "~> 1.1"
|
28
|
+
|
29
|
+
spec.add_development_dependency "sqlite3"
|
30
|
+
spec.add_development_dependency "puma", "~> 3.7"
|
31
|
+
spec.add_development_dependency "rspec-rails", "~> 3.6"
|
32
|
+
spec.add_development_dependency "database_cleaner", "~> 1.6"
|
33
|
+
spec.add_development_dependency "dalli", "~> 2.7.6"
|
34
|
+
spec.add_development_dependency "tracing-logger", "~> 1.0"
|
35
|
+
spec.add_development_dependency "test-tracer", "~> 1.0", ">= 1.2.1"
|
36
|
+
spec.add_development_dependency "tracing-matchers", "~> 1.0", ">= 1.3.0"
|
37
|
+
spec.add_development_dependency "spanmanager", "~> 0.3.0"
|
38
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
39
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
40
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
41
|
+
spec.add_development_dependency "simplecov"
|
42
|
+
spec.add_development_dependency "simplecov-console"
|
43
|
+
spec.add_development_dependency "appraisal"
|
44
|
+
end
|
metadata
ADDED
@@ -0,0 +1,330 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: signalfx-rails-instrumentation
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- iaintshine
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-12-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: opentracing
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.3.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.3.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rack-tracer
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.3.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.3.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sqlite3
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: puma
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.7'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.7'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.6'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.6'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: database_cleaner
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.6'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.6'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: dalli
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.7.6
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.7.6
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: tracing-logger
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: test-tracer
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.0'
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: 1.2.1
|
135
|
+
type: :development
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - "~>"
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '1.0'
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 1.2.1
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: tracing-matchers
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '1.0'
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: 1.3.0
|
155
|
+
type: :development
|
156
|
+
prerelease: false
|
157
|
+
version_requirements: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - "~>"
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '1.0'
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 1.3.0
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: spanmanager
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: 0.3.0
|
172
|
+
type: :development
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - "~>"
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: 0.3.0
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: bundler
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '1.15'
|
186
|
+
type: :development
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - "~>"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '1.15'
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: rake
|
195
|
+
requirement: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - "~>"
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '10.0'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - "~>"
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '10.0'
|
207
|
+
- !ruby/object:Gem::Dependency
|
208
|
+
name: rspec
|
209
|
+
requirement: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - "~>"
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '3.0'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - "~>"
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: '3.0'
|
221
|
+
- !ruby/object:Gem::Dependency
|
222
|
+
name: simplecov
|
223
|
+
requirement: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '0'
|
228
|
+
type: :development
|
229
|
+
prerelease: false
|
230
|
+
version_requirements: !ruby/object:Gem::Requirement
|
231
|
+
requirements:
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '0'
|
235
|
+
- !ruby/object:Gem::Dependency
|
236
|
+
name: simplecov-console
|
237
|
+
requirement: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - ">="
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
242
|
+
type: :development
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
246
|
+
- - ">="
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '0'
|
249
|
+
- !ruby/object:Gem::Dependency
|
250
|
+
name: appraisal
|
251
|
+
requirement: !ruby/object:Gem::Requirement
|
252
|
+
requirements:
|
253
|
+
- - ">="
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
version: '0'
|
256
|
+
type: :development
|
257
|
+
prerelease: false
|
258
|
+
version_requirements: !ruby/object:Gem::Requirement
|
259
|
+
requirements:
|
260
|
+
- - ">="
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: '0'
|
263
|
+
description: ''
|
264
|
+
email:
|
265
|
+
- bodziomista@gmail.com
|
266
|
+
executables: []
|
267
|
+
extensions: []
|
268
|
+
extra_rdoc_files: []
|
269
|
+
files:
|
270
|
+
- ".gitignore"
|
271
|
+
- ".rspec"
|
272
|
+
- ".ruby-version"
|
273
|
+
- ".travis.yml"
|
274
|
+
- Appraisals
|
275
|
+
- CHANGELOG.md
|
276
|
+
- Gemfile
|
277
|
+
- LICENSE
|
278
|
+
- README.md
|
279
|
+
- Rakefile
|
280
|
+
- bin/console
|
281
|
+
- bin/setup
|
282
|
+
- docker-compose.yml
|
283
|
+
- gemfiles/.bundle/config
|
284
|
+
- gemfiles/rails_32.gemfile
|
285
|
+
- gemfiles/rails_4.gemfile
|
286
|
+
- gemfiles/rails_40.gemfile
|
287
|
+
- gemfiles/rails_41.gemfile
|
288
|
+
- gemfiles/rails_42.gemfile
|
289
|
+
- gemfiles/rails_5.gemfile
|
290
|
+
- gemfiles/rails_50.gemfile
|
291
|
+
- gemfiles/rails_51.gemfile
|
292
|
+
- lib/rails-tracer.rb
|
293
|
+
- lib/rails/action_controller/tracer.rb
|
294
|
+
- lib/rails/action_view/tracer.rb
|
295
|
+
- lib/rails/active_record/tracer.rb
|
296
|
+
- lib/rails/active_support/cache/core_ext.rb
|
297
|
+
- lib/rails/active_support/cache/dalli_tracer.rb
|
298
|
+
- lib/rails/active_support/cache/manual_tracer.rb
|
299
|
+
- lib/rails/active_support/cache/subscriber.rb
|
300
|
+
- lib/rails/active_support/cache/tracer.rb
|
301
|
+
- lib/rails/defer_notifications.rb
|
302
|
+
- lib/rails/rack/tracer.rb
|
303
|
+
- lib/rails/span_helpers.rb
|
304
|
+
- lib/rails/tracer.rb
|
305
|
+
- rails-tracer.gemspec
|
306
|
+
homepage: https://github.com/signalfx/ruby-rails-tracer
|
307
|
+
licenses:
|
308
|
+
- Apache-2.0
|
309
|
+
metadata: {}
|
310
|
+
post_install_message:
|
311
|
+
rdoc_options: []
|
312
|
+
require_paths:
|
313
|
+
- lib
|
314
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
315
|
+
requirements:
|
316
|
+
- - ">="
|
317
|
+
- !ruby/object:Gem::Version
|
318
|
+
version: 2.2.0
|
319
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
320
|
+
requirements:
|
321
|
+
- - ">="
|
322
|
+
- !ruby/object:Gem::Version
|
323
|
+
version: '0'
|
324
|
+
requirements: []
|
325
|
+
rubyforge_project:
|
326
|
+
rubygems_version: 2.6.13
|
327
|
+
signing_key:
|
328
|
+
specification_version: 4
|
329
|
+
summary: Fork of ruby-rails-tracer. Rack OpenTracing middleware enhanced for Rails
|
330
|
+
test_files: []
|