raygun-apm 1.1.14-x86_64-linux → 1.1.15.pre2-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING.rax +9 -9
- data/LICENSE +27 -27
- data/LICENSE.bipbuffer +24 -24
- data/README.rdoc +118 -118
- data/bin/console +14 -14
- data/bin/raygun-diagnostics +6 -6
- data/bin/setup +8 -8
- data/ext/raygun/extconf.rb +59 -58
- data/lib/raygun/2.5/raygun_ext.so +0 -0
- data/lib/raygun/2.6/raygun_ext.so +0 -0
- data/lib/raygun/2.7/raygun_ext.so +0 -0
- data/lib/raygun/3.0/raygun_ext.so +0 -0
- data/lib/raygun/3.1/raygun_ext.so +0 -0
- data/lib/raygun/apm/blacklist/parser.rb +49 -49
- data/lib/raygun/apm/blacklist/translator.rb +78 -78
- data/lib/raygun/apm/blacklist.rb +476 -476
- data/lib/raygun/apm/config.rb +106 -106
- data/lib/raygun/apm/diagnostics.rb +54 -54
- data/lib/raygun/apm/event.rb +48 -48
- data/lib/raygun/apm/hooks/excon.rb +36 -36
- data/lib/raygun/apm/hooks/httpclient.rb +43 -43
- data/lib/raygun/apm/hooks/internals.rb +95 -95
- data/lib/raygun/apm/hooks/mongodb.rb +45 -45
- data/lib/raygun/apm/hooks/net_http.rb +44 -44
- data/lib/raygun/apm/hooks/redis.rb +46 -46
- data/lib/raygun/apm/tracer.rb +131 -131
- data/lib/raygun/apm/version.rb +6 -6
- data/lib/raygun/apm.rb +18 -18
- data/lib/raygun/raygun_ext.so +0 -0
- data/raygun-apm.gemspec +40 -40
- metadata +4 -4
data/lib/raygun/apm/blacklist.rb
CHANGED
@@ -1,476 +1,476 @@
|
|
1
|
-
module Raygun
|
2
|
-
module Apm
|
3
|
-
module Blacklist
|
4
|
-
PROFILER = %w{
|
5
|
-
Raygun
|
6
|
-
Raygun::Apm::
|
7
|
-
}
|
8
|
-
|
9
|
-
# From https://ruby-doc.org/core-2.6.3/ , to automate
|
10
|
-
DEFAULT_RUBY = %w{
|
11
|
-
#<refinement:
|
12
|
-
#<Module:
|
13
|
-
#<Class:
|
14
|
-
#<#<Class:
|
15
|
-
ARGF#
|
16
|
-
ArgumentError#
|
17
|
-
Array#
|
18
|
-
Base64#
|
19
|
-
BasicObject#
|
20
|
-
Binding#
|
21
|
-
Class#
|
22
|
-
ClosedQueueError#
|
23
|
-
Comparable#
|
24
|
-
Complex#
|
25
|
-
ConditionVariable#
|
26
|
-
Continuation#
|
27
|
-
Data#
|
28
|
-
Dir#
|
29
|
-
Dir::
|
30
|
-
ENV#
|
31
|
-
EOFError#
|
32
|
-
Encoding#
|
33
|
-
Encoding::
|
34
|
-
EncodingError#
|
35
|
-
Enumerable#
|
36
|
-
Enumerator#
|
37
|
-
Enumerator::
|
38
|
-
Errno#
|
39
|
-
Exception#
|
40
|
-
FalseClass#
|
41
|
-
Fiber#
|
42
|
-
FiberError#
|
43
|
-
File#
|
44
|
-
File::
|
45
|
-
FileTest#
|
46
|
-
Float#
|
47
|
-
FloatDomainError#
|
48
|
-
FrozenError#
|
49
|
-
GC#
|
50
|
-
GC::Profiler#
|
51
|
-
Hash#
|
52
|
-
IO#
|
53
|
-
IO::
|
54
|
-
IOError#
|
55
|
-
IndexError#
|
56
|
-
Integer#
|
57
|
-
Interrupt#
|
58
|
-
JSON#
|
59
|
-
Kernel#
|
60
|
-
KeyError#
|
61
|
-
LoadError#
|
62
|
-
LocalJumpError#
|
63
|
-
Marshal#
|
64
|
-
MatchData#
|
65
|
-
Math#
|
66
|
-
Math::
|
67
|
-
Method#
|
68
|
-
Module#
|
69
|
-
Mutex#
|
70
|
-
+Thread::Mutex#synchronize
|
71
|
-
+Thread::Mutex#lock
|
72
|
-
+Thread::Mutex#unlock
|
73
|
-
+Thread::Mutex#sleep
|
74
|
-
NameError#
|
75
|
-
NilClass#
|
76
|
-
NoMemoryError#
|
77
|
-
NoMethodError#
|
78
|
-
NotImplementedError#
|
79
|
-
Numeric#
|
80
|
-
Object#
|
81
|
-
ObjectSpace#
|
82
|
-
ObjectSpace::
|
83
|
-
Proc#
|
84
|
-
Process#
|
85
|
-
Process::
|
86
|
-
Psych#
|
87
|
-
Queue#
|
88
|
-
Random#
|
89
|
-
Random::
|
90
|
-
Range#
|
91
|
-
RangeError#
|
92
|
-
Rational#
|
93
|
-
Regexp#
|
94
|
-
RegexpError#
|
95
|
-
RubyVM#
|
96
|
-
RubyVM::
|
97
|
-
RuntimeError#
|
98
|
-
ScriptError#
|
99
|
-
SecurityError#
|
100
|
-
Set#
|
101
|
-
SimpleDelegator#
|
102
|
-
Singleton#
|
103
|
-
Singleton::
|
104
|
-
Signal#
|
105
|
-
SignalException#
|
106
|
-
SizedQueue#
|
107
|
-
Socket#
|
108
|
-
StandardError#
|
109
|
-
StopIteration#
|
110
|
-
String#
|
111
|
-
Struct#
|
112
|
-
Symbol#
|
113
|
-
SyntaxError#
|
114
|
-
SystemCallError#
|
115
|
-
SystemExit#
|
116
|
-
SystemStackError#
|
117
|
-
Thread#
|
118
|
-
Thread::
|
119
|
-
ThreadError#
|
120
|
-
ThreadGroup#
|
121
|
-
Timeout
|
122
|
-
Time#
|
123
|
-
TracePoint#
|
124
|
-
TrueClass#
|
125
|
-
TypeError#
|
126
|
-
UnboundMethod#
|
127
|
-
UncaughtThrowError#
|
128
|
-
UnicodeNormalize#
|
129
|
-
Warning#
|
130
|
-
ZeroDivisionError#
|
131
|
-
IPAddr#
|
132
|
-
Net::
|
133
|
-
OpenSSL#
|
134
|
-
OpenSSL::
|
135
|
-
BasicSocket#
|
136
|
-
Forwardable#
|
137
|
-
Gem#
|
138
|
-
FFI#
|
139
|
-
Addrinfo#
|
140
|
-
Open3#
|
141
|
-
Shellwords#
|
142
|
-
WeakRef#
|
143
|
-
RbConfig#
|
144
|
-
Singleton#
|
145
|
-
OpenStruct#
|
146
|
-
Bundler#
|
147
|
-
Delegator#
|
148
|
-
PrettyPrint#
|
149
|
-
PP#
|
150
|
-
PP::
|
151
|
-
PP#sharing_detection
|
152
|
-
PrettyPrint#
|
153
|
-
PrettyPrint::
|
154
|
-
Minitest
|
155
|
-
Psych
|
156
|
-
Mutex_m#
|
157
|
-
ERB#
|
158
|
-
ERB::
|
159
|
-
Gem#
|
160
|
-
Gem::
|
161
|
-
FileUtils#
|
162
|
-
FileUtils::
|
163
|
-
Tempfile#
|
164
|
-
Tempfile::
|
165
|
-
Logger#
|
166
|
-
Logger::
|
167
|
-
Ractor#
|
168
|
-
Ractor::
|
169
|
-
}
|
170
|
-
|
171
|
-
INTERNALS = %w{
|
172
|
-
+Object#sleep
|
173
|
-
+Object#exec
|
174
|
-
+Object#fork
|
175
|
-
+Object#system
|
176
|
-
+Object#spawn
|
177
|
-
+Continuation#callcc
|
178
|
-
+IO#syscall
|
179
|
-
+IO#open
|
180
|
-
+IO#puts
|
181
|
-
+IO#gets
|
182
|
-
+IO#readline
|
183
|
-
+IO#readlines
|
184
|
-
+Random#srand
|
185
|
-
+Random#rand
|
186
|
-
+Signal#trap
|
187
|
-
}
|
188
|
-
|
189
|
-
HTTP_OUT = %w{
|
190
|
-
#Faraday
|
191
|
-
URI
|
192
|
-
MonitorMixin
|
193
|
-
Faraday
|
194
|
-
+Faraday::Connection#get
|
195
|
-
+Faraday::Connection#head
|
196
|
-
+Faraday::Connection#delete
|
197
|
-
+Faraday::Connection#trace
|
198
|
-
+Faraday::Connection#post
|
199
|
-
+Faraday::Connection#put
|
200
|
-
+Faraday::Connection#patch
|
201
|
-
#multipart-post
|
202
|
-
Multipartable
|
203
|
-
SecureRandom
|
204
|
-
Parts
|
205
|
-
CompositeReadIO
|
206
|
-
+Multipartable#initialize
|
207
|
-
#rest-client
|
208
|
-
RestClient
|
209
|
-
Netrc
|
210
|
-
HTTP::CookieJar
|
211
|
-
DomainName
|
212
|
-
HTTP::Accept
|
213
|
-
+RestClient.get
|
214
|
-
+RestClient.head
|
215
|
-
+RestClient.delete
|
216
|
-
+RestClient.trace
|
217
|
-
+RestClient.post
|
218
|
-
+RestClient.put
|
219
|
-
+RestClient.patch
|
220
|
-
#excon
|
221
|
-
Excon
|
222
|
-
+Excon.get
|
223
|
-
+Excon.head
|
224
|
-
+Excon.delete
|
225
|
-
+Excon.trace
|
226
|
-
+Excon.post
|
227
|
-
+Excon.put
|
228
|
-
+Excon.patch
|
229
|
-
#HTTParty
|
230
|
-
HTTParty
|
231
|
-
+HTTParty.get
|
232
|
-
+HTTParty.head
|
233
|
-
+HTTParty.delete
|
234
|
-
+HTTParty.trace
|
235
|
-
+HTTParty.post
|
236
|
-
+HTTParty.put
|
237
|
-
+HTTParty.patch
|
238
|
-
#httpclient
|
239
|
-
HTTPClient
|
240
|
-
HTTP::Message
|
241
|
-
+HTTPClient#get
|
242
|
-
+HTTPClient#head
|
243
|
-
+HTTPClient#delete
|
244
|
-
+HTTPClient#trace
|
245
|
-
+HTTPClient#post
|
246
|
-
+HTTPClient#put
|
247
|
-
+HTTPClient#patch
|
248
|
-
#net-http
|
249
|
-
+Net::HTTP.get_response
|
250
|
-
+Net::HTTP.get
|
251
|
-
+Net::HTTP.head
|
252
|
-
+Net::HTTP.delete
|
253
|
-
+Net::HTTP.trace
|
254
|
-
+Net::HTTP.post
|
255
|
-
+Net::HTTP.put
|
256
|
-
+Net::HTTP.patch
|
257
|
-
+Net::HTTP.post_form
|
258
|
-
}
|
259
|
-
|
260
|
-
QUERIES = %w{
|
261
|
-
#mongodb
|
262
|
-
Mongo
|
263
|
-
BSON
|
264
|
-
+Mongo::Operation::Executable#do_execute
|
265
|
-
#redis
|
266
|
-
Redis
|
267
|
-
+Redis#auth
|
268
|
-
+Redis#select
|
269
|
-
+Redis#ping
|
270
|
-
+Redis#echo
|
271
|
-
+Redis#bgrewriteaof
|
272
|
-
+Redis#bgsave
|
273
|
-
+Redis#config
|
274
|
-
+Redis#dbsize
|
275
|
-
+Redis#debug
|
276
|
-
+Redis#flushall
|
277
|
-
+Redis#flushdb
|
278
|
-
+Redis#info
|
279
|
-
+Redis#lastsave
|
280
|
-
+Redis#monitor
|
281
|
-
+Redis#save
|
282
|
-
+Redis#shutdown
|
283
|
-
+Redis#slave
|
284
|
-
+Redis#slowlog
|
285
|
-
+Redis#sync
|
286
|
-
+Redis#time
|
287
|
-
+Redis#persist
|
288
|
-
+Redis#expire
|
289
|
-
+Redis#expireat
|
290
|
-
+Redis#ttl
|
291
|
-
+Redis#pexpire
|
292
|
-
+Redis#pexpireat
|
293
|
-
+Redis#pttl
|
294
|
-
+Redis#dump
|
295
|
-
+Redis#restore
|
296
|
-
+Redis#migrate
|
297
|
-
+Redis#del
|
298
|
-
+Redis#unlink
|
299
|
-
+Redis#exists
|
300
|
-
+Redis#keys
|
301
|
-
+Redis#move
|
302
|
-
+Redis#object
|
303
|
-
+Redis#randomkey
|
304
|
-
+Redis#rename
|
305
|
-
+Redis#renamenx
|
306
|
-
+Redis#sort
|
307
|
-
+Redis#type
|
308
|
-
+Redis#decr
|
309
|
-
+Redis#decrby
|
310
|
-
+Redis#incr
|
311
|
-
+Redis#incrby
|
312
|
-
+Redis#incrbyfloat
|
313
|
-
+Redis#set
|
314
|
-
+Redis#multi
|
315
|
-
+Redis#client
|
316
|
-
+Redis#set
|
317
|
-
+Redis#setex
|
318
|
-
+Redis#psetex
|
319
|
-
+Redis#setnx
|
320
|
-
+Redis#mset
|
321
|
-
+Redis#mapped_mset
|
322
|
-
+Redis#msetnx
|
323
|
-
+Redis#mapped_msetnx
|
324
|
-
+Redis#get
|
325
|
-
+Redis#mget
|
326
|
-
+Redis#mapped_mget
|
327
|
-
+Redis#setrange
|
328
|
-
+Redis#getrange
|
329
|
-
+Redis#setbit
|
330
|
-
+Redis#getbit
|
331
|
-
+Redis#append
|
332
|
-
+Redis#bitcount
|
333
|
-
+Redis#bitop
|
334
|
-
+Redis#bitpos
|
335
|
-
+Redis#getset
|
336
|
-
+Redis#strlen
|
337
|
-
+Redis#llen
|
338
|
-
+Redis#lpush
|
339
|
-
+Redis#lpushx
|
340
|
-
+Redis#rpush
|
341
|
-
+Redis#rpushx
|
342
|
-
+Redis#lpop
|
343
|
-
+Redis#rpop
|
344
|
-
+Redis#rpoplpush
|
345
|
-
+Redis#blpop
|
346
|
-
+Redis#brpop
|
347
|
-
+Redis#brpoplpush
|
348
|
-
+Redis#lindex
|
349
|
-
+Redis#linsert
|
350
|
-
+Redis#lrange
|
351
|
-
+Redis#lrem
|
352
|
-
+Redis#lset
|
353
|
-
+Redis#ltrim
|
354
|
-
+Redis#scard
|
355
|
-
+Redis#sadd
|
356
|
-
+Redis#srem
|
357
|
-
+Redis#spop
|
358
|
-
+Redis#srandmember
|
359
|
-
+Redis#smove
|
360
|
-
+Redis#sismember
|
361
|
-
+Redis#smembers
|
362
|
-
+Redis#sdiff
|
363
|
-
+Redis#sdiffstore
|
364
|
-
+Redis#sinter
|
365
|
-
+Redis#sinterstore
|
366
|
-
+Redis#sunion
|
367
|
-
+Redis#sunionstore
|
368
|
-
+Redis#zcard
|
369
|
-
+Redis#zadd
|
370
|
-
+Redis#zincrby
|
371
|
-
+Redis#zrem
|
372
|
-
+Redis#zpopmax
|
373
|
-
+Redis#zpopmin
|
374
|
-
+Redis#bzpopmax
|
375
|
-
+Redis#bzpopmin
|
376
|
-
+Redis#zscore
|
377
|
-
+Redis#zrange
|
378
|
-
+Redis#zrevrange
|
379
|
-
+Redis#zrank
|
380
|
-
+Redis#zrevrank
|
381
|
-
+Redis#zremrangebyrank
|
382
|
-
+Redis#zlexcount
|
383
|
-
+Redis#zrangebylex
|
384
|
-
+Redis#zrevrangebylex
|
385
|
-
+Redis#zrangebyscore
|
386
|
-
+Redis#zrevrangebyscore
|
387
|
-
+Redis#zremrangebyscore
|
388
|
-
+Redis#zcount
|
389
|
-
+Redis#zinterstore
|
390
|
-
+Redis#zunionstore
|
391
|
-
+Redis#hlen
|
392
|
-
+Redis#hset
|
393
|
-
+Redis#hsetnx
|
394
|
-
+Redis#hmset
|
395
|
-
+Redis#mapped_hmset
|
396
|
-
+Redis#hget
|
397
|
-
+Redis#hmget
|
398
|
-
+Redis#mapped_hmget
|
399
|
-
+Redis#hdel
|
400
|
-
+Redis#hexists
|
401
|
-
+Redis#hincrby
|
402
|
-
+Redis#hincrbyfloat
|
403
|
-
+Redis#hkeys
|
404
|
-
+Redis#hvals
|
405
|
-
+Redis#hgetall
|
406
|
-
+Redis#publish
|
407
|
-
+Redis#subscribe
|
408
|
-
+Redis#subscribe_with_timeout
|
409
|
-
+Redis#unsubscribe
|
410
|
-
+Redis#psubscribe
|
411
|
-
+Redis#psubscribe_with_timeout
|
412
|
-
+Redis#punsubscribe
|
413
|
-
+Redis#pubsub
|
414
|
-
+Redis#watch
|
415
|
-
+Redis#unwatch
|
416
|
-
+Redis#pipelined
|
417
|
-
+Redis#multi
|
418
|
-
+Redis#exec
|
419
|
-
+Redis#discard
|
420
|
-
+Redis#script
|
421
|
-
+Redis#eval
|
422
|
-
+Redis#evalsha
|
423
|
-
+Redis#scan
|
424
|
-
+Redis#hscan
|
425
|
-
+Redis#zscan
|
426
|
-
+Redis#sscan
|
427
|
-
+Redis#pfadd
|
428
|
-
+Redis#pfcount
|
429
|
-
+Redis#pfmerge
|
430
|
-
+Redis#geoadd
|
431
|
-
+Redis#geohash
|
432
|
-
+Redis#georadiusbymember
|
433
|
-
+Redis#geopos
|
434
|
-
+Redis#geodist
|
435
|
-
+Redis#xinfo
|
436
|
-
+Redis#xadd
|
437
|
-
+Redis#xtrim
|
438
|
-
+Redis#xdel
|
439
|
-
+Redis#xrange
|
440
|
-
+Redis#xrevrange
|
441
|
-
+Redis#xlen
|
442
|
-
+Redis#xread
|
443
|
-
+Redis#xgroup
|
444
|
-
+Redis#xreadgroup
|
445
|
-
+Redis#xack
|
446
|
-
+Redis#xclaim
|
447
|
-
+Redis#xpending
|
448
|
-
+Redis#sentinel
|
449
|
-
+Redis#cluster
|
450
|
-
+Redis#asking
|
451
|
-
}
|
452
|
-
|
453
|
-
RAYGUN4RUBY = %w{
|
454
|
-
Raygun::Breadcrumbs
|
455
|
-
Raygun::Configuration
|
456
|
-
Raygun.config
|
457
|
-
Raygun.log
|
458
|
-
Raygun.should_report?
|
459
|
-
Raygun::Client
|
460
|
-
+Raygun.track_exception
|
461
|
-
}
|
462
|
-
|
463
|
-
def self.extend_with(list)
|
464
|
-
self.extended_blacklist << list
|
465
|
-
end
|
466
|
-
|
467
|
-
def self.extended_blacklist
|
468
|
-
@@extended_blacklist ||= []
|
469
|
-
end
|
470
|
-
|
471
|
-
def self.resolve_entries
|
472
|
-
DEFAULT_RUBY + PROFILER + INTERNALS + HTTP_OUT + QUERIES + RAYGUN4RUBY + self.extended_blacklist.flatten
|
473
|
-
end
|
474
|
-
end
|
475
|
-
end
|
476
|
-
end
|
1
|
+
module Raygun
|
2
|
+
module Apm
|
3
|
+
module Blacklist
|
4
|
+
PROFILER = %w{
|
5
|
+
Raygun
|
6
|
+
Raygun::Apm::
|
7
|
+
}
|
8
|
+
|
9
|
+
# From https://ruby-doc.org/core-2.6.3/ , to automate
|
10
|
+
DEFAULT_RUBY = %w{
|
11
|
+
#<refinement:
|
12
|
+
#<Module:
|
13
|
+
#<Class:
|
14
|
+
#<#<Class:
|
15
|
+
ARGF#
|
16
|
+
ArgumentError#
|
17
|
+
Array#
|
18
|
+
Base64#
|
19
|
+
BasicObject#
|
20
|
+
Binding#
|
21
|
+
Class#
|
22
|
+
ClosedQueueError#
|
23
|
+
Comparable#
|
24
|
+
Complex#
|
25
|
+
ConditionVariable#
|
26
|
+
Continuation#
|
27
|
+
Data#
|
28
|
+
Dir#
|
29
|
+
Dir::
|
30
|
+
ENV#
|
31
|
+
EOFError#
|
32
|
+
Encoding#
|
33
|
+
Encoding::
|
34
|
+
EncodingError#
|
35
|
+
Enumerable#
|
36
|
+
Enumerator#
|
37
|
+
Enumerator::
|
38
|
+
Errno#
|
39
|
+
Exception#
|
40
|
+
FalseClass#
|
41
|
+
Fiber#
|
42
|
+
FiberError#
|
43
|
+
File#
|
44
|
+
File::
|
45
|
+
FileTest#
|
46
|
+
Float#
|
47
|
+
FloatDomainError#
|
48
|
+
FrozenError#
|
49
|
+
GC#
|
50
|
+
GC::Profiler#
|
51
|
+
Hash#
|
52
|
+
IO#
|
53
|
+
IO::
|
54
|
+
IOError#
|
55
|
+
IndexError#
|
56
|
+
Integer#
|
57
|
+
Interrupt#
|
58
|
+
JSON#
|
59
|
+
Kernel#
|
60
|
+
KeyError#
|
61
|
+
LoadError#
|
62
|
+
LocalJumpError#
|
63
|
+
Marshal#
|
64
|
+
MatchData#
|
65
|
+
Math#
|
66
|
+
Math::
|
67
|
+
Method#
|
68
|
+
Module#
|
69
|
+
Mutex#
|
70
|
+
+Thread::Mutex#synchronize
|
71
|
+
+Thread::Mutex#lock
|
72
|
+
+Thread::Mutex#unlock
|
73
|
+
+Thread::Mutex#sleep
|
74
|
+
NameError#
|
75
|
+
NilClass#
|
76
|
+
NoMemoryError#
|
77
|
+
NoMethodError#
|
78
|
+
NotImplementedError#
|
79
|
+
Numeric#
|
80
|
+
Object#
|
81
|
+
ObjectSpace#
|
82
|
+
ObjectSpace::
|
83
|
+
Proc#
|
84
|
+
Process#
|
85
|
+
Process::
|
86
|
+
Psych#
|
87
|
+
Queue#
|
88
|
+
Random#
|
89
|
+
Random::
|
90
|
+
Range#
|
91
|
+
RangeError#
|
92
|
+
Rational#
|
93
|
+
Regexp#
|
94
|
+
RegexpError#
|
95
|
+
RubyVM#
|
96
|
+
RubyVM::
|
97
|
+
RuntimeError#
|
98
|
+
ScriptError#
|
99
|
+
SecurityError#
|
100
|
+
Set#
|
101
|
+
SimpleDelegator#
|
102
|
+
Singleton#
|
103
|
+
Singleton::
|
104
|
+
Signal#
|
105
|
+
SignalException#
|
106
|
+
SizedQueue#
|
107
|
+
Socket#
|
108
|
+
StandardError#
|
109
|
+
StopIteration#
|
110
|
+
String#
|
111
|
+
Struct#
|
112
|
+
Symbol#
|
113
|
+
SyntaxError#
|
114
|
+
SystemCallError#
|
115
|
+
SystemExit#
|
116
|
+
SystemStackError#
|
117
|
+
Thread#
|
118
|
+
Thread::
|
119
|
+
ThreadError#
|
120
|
+
ThreadGroup#
|
121
|
+
Timeout
|
122
|
+
Time#
|
123
|
+
TracePoint#
|
124
|
+
TrueClass#
|
125
|
+
TypeError#
|
126
|
+
UnboundMethod#
|
127
|
+
UncaughtThrowError#
|
128
|
+
UnicodeNormalize#
|
129
|
+
Warning#
|
130
|
+
ZeroDivisionError#
|
131
|
+
IPAddr#
|
132
|
+
Net::
|
133
|
+
OpenSSL#
|
134
|
+
OpenSSL::
|
135
|
+
BasicSocket#
|
136
|
+
Forwardable#
|
137
|
+
Gem#
|
138
|
+
FFI#
|
139
|
+
Addrinfo#
|
140
|
+
Open3#
|
141
|
+
Shellwords#
|
142
|
+
WeakRef#
|
143
|
+
RbConfig#
|
144
|
+
Singleton#
|
145
|
+
OpenStruct#
|
146
|
+
Bundler#
|
147
|
+
Delegator#
|
148
|
+
PrettyPrint#
|
149
|
+
PP#
|
150
|
+
PP::
|
151
|
+
PP#sharing_detection
|
152
|
+
PrettyPrint#
|
153
|
+
PrettyPrint::
|
154
|
+
Minitest
|
155
|
+
Psych
|
156
|
+
Mutex_m#
|
157
|
+
ERB#
|
158
|
+
ERB::
|
159
|
+
Gem#
|
160
|
+
Gem::
|
161
|
+
FileUtils#
|
162
|
+
FileUtils::
|
163
|
+
Tempfile#
|
164
|
+
Tempfile::
|
165
|
+
Logger#
|
166
|
+
Logger::
|
167
|
+
Ractor#
|
168
|
+
Ractor::
|
169
|
+
}
|
170
|
+
|
171
|
+
INTERNALS = %w{
|
172
|
+
+Object#sleep
|
173
|
+
+Object#exec
|
174
|
+
+Object#fork
|
175
|
+
+Object#system
|
176
|
+
+Object#spawn
|
177
|
+
+Continuation#callcc
|
178
|
+
+IO#syscall
|
179
|
+
+IO#open
|
180
|
+
+IO#puts
|
181
|
+
+IO#gets
|
182
|
+
+IO#readline
|
183
|
+
+IO#readlines
|
184
|
+
+Random#srand
|
185
|
+
+Random#rand
|
186
|
+
+Signal#trap
|
187
|
+
}
|
188
|
+
|
189
|
+
HTTP_OUT = %w{
|
190
|
+
#Faraday
|
191
|
+
URI
|
192
|
+
MonitorMixin
|
193
|
+
Faraday
|
194
|
+
+Faraday::Connection#get
|
195
|
+
+Faraday::Connection#head
|
196
|
+
+Faraday::Connection#delete
|
197
|
+
+Faraday::Connection#trace
|
198
|
+
+Faraday::Connection#post
|
199
|
+
+Faraday::Connection#put
|
200
|
+
+Faraday::Connection#patch
|
201
|
+
#multipart-post
|
202
|
+
Multipartable
|
203
|
+
SecureRandom
|
204
|
+
Parts
|
205
|
+
CompositeReadIO
|
206
|
+
+Multipartable#initialize
|
207
|
+
#rest-client
|
208
|
+
RestClient
|
209
|
+
Netrc
|
210
|
+
HTTP::CookieJar
|
211
|
+
DomainName
|
212
|
+
HTTP::Accept
|
213
|
+
+RestClient.get
|
214
|
+
+RestClient.head
|
215
|
+
+RestClient.delete
|
216
|
+
+RestClient.trace
|
217
|
+
+RestClient.post
|
218
|
+
+RestClient.put
|
219
|
+
+RestClient.patch
|
220
|
+
#excon
|
221
|
+
Excon
|
222
|
+
+Excon.get
|
223
|
+
+Excon.head
|
224
|
+
+Excon.delete
|
225
|
+
+Excon.trace
|
226
|
+
+Excon.post
|
227
|
+
+Excon.put
|
228
|
+
+Excon.patch
|
229
|
+
#HTTParty
|
230
|
+
HTTParty
|
231
|
+
+HTTParty.get
|
232
|
+
+HTTParty.head
|
233
|
+
+HTTParty.delete
|
234
|
+
+HTTParty.trace
|
235
|
+
+HTTParty.post
|
236
|
+
+HTTParty.put
|
237
|
+
+HTTParty.patch
|
238
|
+
#httpclient
|
239
|
+
HTTPClient
|
240
|
+
HTTP::Message
|
241
|
+
+HTTPClient#get
|
242
|
+
+HTTPClient#head
|
243
|
+
+HTTPClient#delete
|
244
|
+
+HTTPClient#trace
|
245
|
+
+HTTPClient#post
|
246
|
+
+HTTPClient#put
|
247
|
+
+HTTPClient#patch
|
248
|
+
#net-http
|
249
|
+
+Net::HTTP.get_response
|
250
|
+
+Net::HTTP.get
|
251
|
+
+Net::HTTP.head
|
252
|
+
+Net::HTTP.delete
|
253
|
+
+Net::HTTP.trace
|
254
|
+
+Net::HTTP.post
|
255
|
+
+Net::HTTP.put
|
256
|
+
+Net::HTTP.patch
|
257
|
+
+Net::HTTP.post_form
|
258
|
+
}
|
259
|
+
|
260
|
+
QUERIES = %w{
|
261
|
+
#mongodb
|
262
|
+
Mongo
|
263
|
+
BSON
|
264
|
+
+Mongo::Operation::Executable#do_execute
|
265
|
+
#redis
|
266
|
+
Redis
|
267
|
+
+Redis#auth
|
268
|
+
+Redis#select
|
269
|
+
+Redis#ping
|
270
|
+
+Redis#echo
|
271
|
+
+Redis#bgrewriteaof
|
272
|
+
+Redis#bgsave
|
273
|
+
+Redis#config
|
274
|
+
+Redis#dbsize
|
275
|
+
+Redis#debug
|
276
|
+
+Redis#flushall
|
277
|
+
+Redis#flushdb
|
278
|
+
+Redis#info
|
279
|
+
+Redis#lastsave
|
280
|
+
+Redis#monitor
|
281
|
+
+Redis#save
|
282
|
+
+Redis#shutdown
|
283
|
+
+Redis#slave
|
284
|
+
+Redis#slowlog
|
285
|
+
+Redis#sync
|
286
|
+
+Redis#time
|
287
|
+
+Redis#persist
|
288
|
+
+Redis#expire
|
289
|
+
+Redis#expireat
|
290
|
+
+Redis#ttl
|
291
|
+
+Redis#pexpire
|
292
|
+
+Redis#pexpireat
|
293
|
+
+Redis#pttl
|
294
|
+
+Redis#dump
|
295
|
+
+Redis#restore
|
296
|
+
+Redis#migrate
|
297
|
+
+Redis#del
|
298
|
+
+Redis#unlink
|
299
|
+
+Redis#exists
|
300
|
+
+Redis#keys
|
301
|
+
+Redis#move
|
302
|
+
+Redis#object
|
303
|
+
+Redis#randomkey
|
304
|
+
+Redis#rename
|
305
|
+
+Redis#renamenx
|
306
|
+
+Redis#sort
|
307
|
+
+Redis#type
|
308
|
+
+Redis#decr
|
309
|
+
+Redis#decrby
|
310
|
+
+Redis#incr
|
311
|
+
+Redis#incrby
|
312
|
+
+Redis#incrbyfloat
|
313
|
+
+Redis#set
|
314
|
+
+Redis#multi
|
315
|
+
+Redis#client
|
316
|
+
+Redis#set
|
317
|
+
+Redis#setex
|
318
|
+
+Redis#psetex
|
319
|
+
+Redis#setnx
|
320
|
+
+Redis#mset
|
321
|
+
+Redis#mapped_mset
|
322
|
+
+Redis#msetnx
|
323
|
+
+Redis#mapped_msetnx
|
324
|
+
+Redis#get
|
325
|
+
+Redis#mget
|
326
|
+
+Redis#mapped_mget
|
327
|
+
+Redis#setrange
|
328
|
+
+Redis#getrange
|
329
|
+
+Redis#setbit
|
330
|
+
+Redis#getbit
|
331
|
+
+Redis#append
|
332
|
+
+Redis#bitcount
|
333
|
+
+Redis#bitop
|
334
|
+
+Redis#bitpos
|
335
|
+
+Redis#getset
|
336
|
+
+Redis#strlen
|
337
|
+
+Redis#llen
|
338
|
+
+Redis#lpush
|
339
|
+
+Redis#lpushx
|
340
|
+
+Redis#rpush
|
341
|
+
+Redis#rpushx
|
342
|
+
+Redis#lpop
|
343
|
+
+Redis#rpop
|
344
|
+
+Redis#rpoplpush
|
345
|
+
+Redis#blpop
|
346
|
+
+Redis#brpop
|
347
|
+
+Redis#brpoplpush
|
348
|
+
+Redis#lindex
|
349
|
+
+Redis#linsert
|
350
|
+
+Redis#lrange
|
351
|
+
+Redis#lrem
|
352
|
+
+Redis#lset
|
353
|
+
+Redis#ltrim
|
354
|
+
+Redis#scard
|
355
|
+
+Redis#sadd
|
356
|
+
+Redis#srem
|
357
|
+
+Redis#spop
|
358
|
+
+Redis#srandmember
|
359
|
+
+Redis#smove
|
360
|
+
+Redis#sismember
|
361
|
+
+Redis#smembers
|
362
|
+
+Redis#sdiff
|
363
|
+
+Redis#sdiffstore
|
364
|
+
+Redis#sinter
|
365
|
+
+Redis#sinterstore
|
366
|
+
+Redis#sunion
|
367
|
+
+Redis#sunionstore
|
368
|
+
+Redis#zcard
|
369
|
+
+Redis#zadd
|
370
|
+
+Redis#zincrby
|
371
|
+
+Redis#zrem
|
372
|
+
+Redis#zpopmax
|
373
|
+
+Redis#zpopmin
|
374
|
+
+Redis#bzpopmax
|
375
|
+
+Redis#bzpopmin
|
376
|
+
+Redis#zscore
|
377
|
+
+Redis#zrange
|
378
|
+
+Redis#zrevrange
|
379
|
+
+Redis#zrank
|
380
|
+
+Redis#zrevrank
|
381
|
+
+Redis#zremrangebyrank
|
382
|
+
+Redis#zlexcount
|
383
|
+
+Redis#zrangebylex
|
384
|
+
+Redis#zrevrangebylex
|
385
|
+
+Redis#zrangebyscore
|
386
|
+
+Redis#zrevrangebyscore
|
387
|
+
+Redis#zremrangebyscore
|
388
|
+
+Redis#zcount
|
389
|
+
+Redis#zinterstore
|
390
|
+
+Redis#zunionstore
|
391
|
+
+Redis#hlen
|
392
|
+
+Redis#hset
|
393
|
+
+Redis#hsetnx
|
394
|
+
+Redis#hmset
|
395
|
+
+Redis#mapped_hmset
|
396
|
+
+Redis#hget
|
397
|
+
+Redis#hmget
|
398
|
+
+Redis#mapped_hmget
|
399
|
+
+Redis#hdel
|
400
|
+
+Redis#hexists
|
401
|
+
+Redis#hincrby
|
402
|
+
+Redis#hincrbyfloat
|
403
|
+
+Redis#hkeys
|
404
|
+
+Redis#hvals
|
405
|
+
+Redis#hgetall
|
406
|
+
+Redis#publish
|
407
|
+
+Redis#subscribe
|
408
|
+
+Redis#subscribe_with_timeout
|
409
|
+
+Redis#unsubscribe
|
410
|
+
+Redis#psubscribe
|
411
|
+
+Redis#psubscribe_with_timeout
|
412
|
+
+Redis#punsubscribe
|
413
|
+
+Redis#pubsub
|
414
|
+
+Redis#watch
|
415
|
+
+Redis#unwatch
|
416
|
+
+Redis#pipelined
|
417
|
+
+Redis#multi
|
418
|
+
+Redis#exec
|
419
|
+
+Redis#discard
|
420
|
+
+Redis#script
|
421
|
+
+Redis#eval
|
422
|
+
+Redis#evalsha
|
423
|
+
+Redis#scan
|
424
|
+
+Redis#hscan
|
425
|
+
+Redis#zscan
|
426
|
+
+Redis#sscan
|
427
|
+
+Redis#pfadd
|
428
|
+
+Redis#pfcount
|
429
|
+
+Redis#pfmerge
|
430
|
+
+Redis#geoadd
|
431
|
+
+Redis#geohash
|
432
|
+
+Redis#georadiusbymember
|
433
|
+
+Redis#geopos
|
434
|
+
+Redis#geodist
|
435
|
+
+Redis#xinfo
|
436
|
+
+Redis#xadd
|
437
|
+
+Redis#xtrim
|
438
|
+
+Redis#xdel
|
439
|
+
+Redis#xrange
|
440
|
+
+Redis#xrevrange
|
441
|
+
+Redis#xlen
|
442
|
+
+Redis#xread
|
443
|
+
+Redis#xgroup
|
444
|
+
+Redis#xreadgroup
|
445
|
+
+Redis#xack
|
446
|
+
+Redis#xclaim
|
447
|
+
+Redis#xpending
|
448
|
+
+Redis#sentinel
|
449
|
+
+Redis#cluster
|
450
|
+
+Redis#asking
|
451
|
+
}
|
452
|
+
|
453
|
+
RAYGUN4RUBY = %w{
|
454
|
+
Raygun::Breadcrumbs
|
455
|
+
Raygun::Configuration
|
456
|
+
Raygun.config
|
457
|
+
Raygun.log
|
458
|
+
Raygun.should_report?
|
459
|
+
Raygun::Client
|
460
|
+
+Raygun.track_exception
|
461
|
+
}
|
462
|
+
|
463
|
+
def self.extend_with(list)
|
464
|
+
self.extended_blacklist << list
|
465
|
+
end
|
466
|
+
|
467
|
+
def self.extended_blacklist
|
468
|
+
@@extended_blacklist ||= []
|
469
|
+
end
|
470
|
+
|
471
|
+
def self.resolve_entries
|
472
|
+
DEFAULT_RUBY + PROFILER + INTERNALS + HTTP_OUT + QUERIES + RAYGUN4RUBY + self.extended_blacklist.flatten
|
473
|
+
end
|
474
|
+
end
|
475
|
+
end
|
476
|
+
end
|