raygun-apm-rails 1.0.27 → 1.0.32

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 260710ffbf3750e8dbcff40981aa042d6513c95ddd737c457b5c18a62c04d14f
4
- data.tar.gz: 354e9620e863868d9cefa2693a271b1c260592bc162325d086cfd54884865efe
3
+ metadata.gz: cbfeaa5764448f37763271c00efe86f96521db6b3d75ed339769d68b9484e656
4
+ data.tar.gz: 311c208e215c8efa26a10b12981cc6a553f36ecee50241c02b0363f324348548
5
5
  SHA512:
6
- metadata.gz: 75d8c4ff6cb0c65182aa6db99abdef0da3c02da9cf8781157de4a596948abe3f39b739d30f70c72bb0b2763f18d27e576cbf8ab360a2d04956b9d895449548e4
7
- data.tar.gz: 22e9a61b8c53a5a89e62fad4d0de5bbbce38cf43e26340d5b70f9fb0455df3744ed9a97c28667f2f9d961297eda09dcb41f25efc2261ee9e95d39dca63e49d86
6
+ metadata.gz: fc0cb6606e7d22c8eda85a20b2bef9a9619b5beac1a6f4245308e5192d61946d9208da387fd751935420b09ff661d217c05a05f96a8491b68b7943d7cdfdf131
7
+ data.tar.gz: 89f6166d481fb5b8172176292c9ba87501f15116e3266b1f8766180bd03a165d0fb33637f055e4e00153227e97b620e9591e73faf6c4865401555321f6567b41
@@ -1,5 +1,25 @@
1
1
  = Changelog
2
2
 
3
+ == 1.0.32 (June 6, 2020)
4
+
5
+ * Move raygun4ruby whitelisting and blacklisting out to profiler core
6
+
7
+ == 1.0.31 (May 17, 2020)
8
+
9
+ * Remove the Tracer#process_started callback (set on begin transaction command now)
10
+
11
+ == 1.0.30 (May 15, 2020)
12
+
13
+ * Introduce support for Redis as client adapter
14
+
15
+ == 1.0.29 (May 3, 2020)
16
+
17
+ * Blacklist a new set of methods injected at runtime by Rails which leads to messy traces
18
+
19
+ == 1.0.28 (April 11, 2020)
20
+
21
+ * Prefer local variables to Rack::Request methods for event value assignment (Rails 4)
22
+
3
23
  == 1.0.27 (April 11, 2020)
4
24
 
5
25
  * Restore Rails 4 support with caveat that HTTP IN paths are not fully qualified with protocol, host and port
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- raygun-apm-rails (1.0.27)
4
+ raygun-apm-rails (1.0.32)
5
5
  raygun-apm (~> 1.0.15)
6
6
 
7
7
  GEM
@@ -9,7 +9,7 @@ GEM
9
9
  specs:
10
10
  minitest (5.13.0)
11
11
  rake (10.5.0)
12
- raygun-apm (1.0.29-universal-darwin)
12
+ raygun-apm (1.0.42-universal-darwin)
13
13
 
14
14
  PLATFORMS
15
15
  ruby
@@ -77,12 +77,34 @@ module Raygun
77
77
  Grape
78
78
  Mustermann
79
79
  Enumeration
80
- Raygun::Breadcrumbs
81
- Raygun::Configuration
82
- Raygun::config
83
80
  +Raygun::Apm::Rails::Middleware::Ruby_APM_profiler_trace
84
81
  +Raygun::Apm::Rails::Middleware::Ruby_APM_request_error
85
- +Raygun::track_exception
82
+ WebpackHelper
83
+ Ripper
84
+ Webpack
85
+ AfterCommitQueue
86
+ Hamlit
87
+ __callbacks
88
+ _reflections
89
+ attribute_aliases
90
+ default_scope_override
91
+ _routes
92
+ table_name_prefix
93
+ _validators
94
+ attribute_type_decorations
95
+ middleware_stack
96
+ _helpers
97
+ _layout
98
+ updated_at_before_type_cast
99
+ created_at_before_type_cast
100
+ _include_layout?
101
+ after_remove_for_
102
+ before_remove_for_
103
+ before_add_for_
104
+ after_add_for_
105
+ autosave_associated_records_for_
106
+ validate_associated_records_for_
107
+ will_save_change_to_
86
108
  }
87
109
 
88
110
  def self.raygun4ruby?
@@ -49,7 +49,10 @@ module Raygun
49
49
  end
50
50
  end
51
51
  # Can be nil if we had a fatal error
52
- @tracer.end_trace if @tracer
52
+ if @tracer
53
+ @tracer.end_trace
54
+ @tracer.diagnostics if ENV['PROTON_DIAGNOSTICS']
55
+ end
53
56
  raise exception if exception
54
57
  res
55
58
  rescue Raygun::Apm::FatalError => e
@@ -59,7 +62,6 @@ module Raygun
59
62
  def init_tracer
60
63
  tracer = Raygun::Apm::Tracer.new
61
64
  tracer.udp_sink!
62
- tracer.process_started
63
65
  ObjectSpace.define_finalizer(self, self.class.finalize(tracer))
64
66
 
65
67
  ActiveSupport::Notifications.unsubscribe(@http_in_subscriber) if @http_in_subscriber
@@ -105,8 +107,8 @@ module Raygun
105
107
  end
106
108
  event = http_in_event
107
109
  event[:pid] = Process.pid
108
- event[:url] = req.url
109
- event[:verb] = req.request_method
110
+ event[:url] = url
111
+ event[:verb] = verb
110
112
  event[:status] = notification.payload[:status]
111
113
  # XXX constant milliseconds to microseconds
112
114
  event[:duration] = notification.duration * 1000
@@ -13,6 +13,7 @@ module Raygun
13
13
  app.middleware.use Raygun::Apm::Rails::Middleware
14
14
  # Explictly enable instrumenting HTTP until a good control API is figured out
15
15
  require "raygun/apm/hooks/net_http"
16
+ require "raygun/apm/hooks/redis" if defined?(Redis::Client)
16
17
  end
17
18
  end
18
19
  end
@@ -1,7 +1,7 @@
1
1
  module Raygun
2
2
  module Apm
3
3
  module Rails
4
- VERSION = "1.0.27"
4
+ VERSION = "1.0.32"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.27
4
+ version: 1.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raygun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-04-11 00:00:00.000000000 Z
12
+ date: 2020-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: raygun-apm