raygun-apm 0.0.18-x86-linux → 0.0.19-x86-linux
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/Gemfile.lock +1 -1
- data/lib/raygun/2.5/raygun_ext.so +0 -0
- data/lib/raygun/2.6/raygun_ext.so +0 -0
- data/lib/raygun/apm/blacklist.rb +2 -0
- data/lib/raygun/apm/tracer.rb +20 -15
- data/lib/raygun/apm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01bf0748191ca13faccb7b937147885a408292771f444205c67870640cba6626
|
4
|
+
data.tar.gz: dc82b42fa591594efbe71e171954407c7ada7e9d6c71ad559e564d4ff40199fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f2f09cdc29bd851bfffa8f62db5cf0537b94ffb36d9db9ffc7889cdf6e4e7d0847a236497addee616b49596049ae2d5fba65cf6dac8c8f2fbe3a6db098110c6
|
7
|
+
data.tar.gz: 8d322dd9b00fed6720619f396bf0ce271c62305fc4e89ab3a68cc220e7568b14f12acbb2c353784a1f52cd64b68b30dde72ff5dc50d0921d055edaf117c24fb2
|
data/Gemfile.lock
CHANGED
Binary file
|
Binary file
|
data/lib/raygun/apm/blacklist.rb
CHANGED
@@ -108,6 +108,7 @@ module Raygun
|
|
108
108
|
ScriptError
|
109
109
|
SecurityError
|
110
110
|
Set
|
111
|
+
SimpleDelegator
|
111
112
|
Signal
|
112
113
|
SignalException
|
113
114
|
SizedQueue
|
@@ -134,6 +135,7 @@ module Raygun
|
|
134
135
|
UnicodeNormalize
|
135
136
|
Warning
|
136
137
|
ZeroDivisionError
|
138
|
+
IPAddr
|
137
139
|
}
|
138
140
|
|
139
141
|
def self.extend_with(list)
|
data/lib/raygun/apm/tracer.rb
CHANGED
@@ -11,21 +11,10 @@ module Raygun
|
|
11
11
|
else
|
12
12
|
[]
|
13
13
|
end
|
14
|
-
@blacklist
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
elsif line.start_with?('+')
|
19
|
-
add_whitelist line[1..-1]
|
20
|
-
elsif line.start_with?('-')
|
21
|
-
add_blacklist line[1..-1]
|
22
|
-
elsif line.size > 0
|
23
|
-
add_blacklist line
|
24
|
-
end
|
25
|
-
end
|
26
|
-
Raygun::Apm::Blacklist.resolve_entries.each do |line|
|
27
|
-
add_blacklist line
|
28
|
-
end
|
14
|
+
add_filters @blacklist
|
15
|
+
# Ignore comments set to false here to account for #<Class: etc. in Rails blacklist
|
16
|
+
add_filters Raygun::Apm::Blacklist.resolve_entries, ignore_comments: false
|
17
|
+
show_filters if config.loglevel == Tracer::LOG_BLACKLIST
|
29
18
|
install_tracepoint(
|
30
19
|
startup_period: config.proton_startup_period,
|
31
20
|
trace_blocks: config.proton_rb_trace_blocks,
|
@@ -39,6 +28,22 @@ module Raygun
|
|
39
28
|
raise Raygun::Apm::FatalError, "Raygun APM tracer could not be initialized: #{e.message}"
|
40
29
|
end
|
41
30
|
|
31
|
+
def add_filters(filters, ignore_comments: true)
|
32
|
+
filters.each do |filter|
|
33
|
+
filter.strip!
|
34
|
+
# comment
|
35
|
+
if filter.start_with?('#')
|
36
|
+
add_blacklist filter unless ignore_comments
|
37
|
+
elsif filter.start_with?('+')
|
38
|
+
add_whitelist filter[1..-1]
|
39
|
+
elsif filter.start_with?('-')
|
40
|
+
add_blacklist filter[1..-1]
|
41
|
+
elsif filter.size > 0
|
42
|
+
add_blacklist filter
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
42
47
|
def udp_sink!
|
43
48
|
require "socket"
|
44
49
|
sock = UDPSocket.new
|
data/lib/raygun/apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun-apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.19
|
5
5
|
platform: x86-linux
|
6
6
|
authors:
|
7
7
|
- Erkki Eilonen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debase-ruby_core_source
|