raygun-apm-rails 1.0.0 → 1.0.5

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: 9ff1948e39a438d322096f0c011aaeabb80ed1adf05f8978145bff9cce1783a8
4
- data.tar.gz: 6e703d32b6201286a2c96eb14d342640fb269f2ef0927114e36451be5208ae3e
3
+ metadata.gz: 699908d1ff9efcdae2eb9c6249d16718596c444561e04fbf08b7ae60d6c60c2f
4
+ data.tar.gz: 2f422462b7fd6d4626b5ef0cf37f161662b8246408d8afc3edf434e5220eb33c
5
5
  SHA512:
6
- metadata.gz: 56f7d23bbda9f3eb0d4c421fc9006b989c547be4432636c27f03d6590f9b0b0e55d51ae467cba9bc96d699c27651e93f8014dfbebb9b51a579b11cc74fc92db4
7
- data.tar.gz: 1257ec5eaefb175b3f526b34d8f462dc2a34d591c3c1f1a98a43910f4fe711fff2df39e26a17057bdb882e9d44b578ad037c5dfecb0d29f4072b957832d2f061
6
+ metadata.gz: 00c2b9ae5d049624203e2abf4d8a0cb384d5f0d012861e42b41ab5106a5c5fbac22bb2ca452e7c6fa88c46e312684fed8e3f4ee6c581b92e57b2994ae8d96e7a
7
+ data.tar.gz: 84aa61d39e15ebd8257d5fcae50f85a7e9f5185cc2256a9fd4eb4cda2cc23608e3a1f0272d4440a3b6ebc95c4e0fc3578d7c4677d4fa844a3400b7dc23ad3b0b
@@ -67,7 +67,7 @@ instrument HTTP request / response workloads.
67
67
  The following extended events are captured:
68
68
 
69
69
  * HTTP inbound - the request URI, HTTP verb and other details of the current request
70
+ * HTTP outbound - the URI, HTTP verb and time taken (typically external APIs)
70
71
  * Database queries - SQL statement, provider, database etc.
71
72
 
72
- {Contact us}[https://raygun.com/about/contact] to support other workloads such as
73
- specific background processing frameworks.
73
+ {Contact us}[https://raygun.com/about/contact] to support other specific web frameworks.
@@ -57,6 +57,7 @@ module Raygun
57
57
  Puma
58
58
  PG
59
59
  EnabledModule
60
+ ConnectionPool
60
61
  +Raygun::Apm::Rails::Middleware::start_of_trace
61
62
  }
62
63
  end
@@ -47,14 +47,12 @@ module Raygun
47
47
  ActiveSupport::Notifications.unsubscribe(@http_in_subscriber)
48
48
  ActiveSupport::Notifications.unsubscribe(@sql_subscriber)
49
49
  warn "[Raygun APM] notification hooks unsubscribed"
50
- # Shutdown the tracepoint if enabled to reduce any overhead and stall emission
51
- if @tracer.tracepoint.enabled?
52
- @tracer.tracepoint.stop
53
- warn "[Raygun APM] tracepoint stopped"
54
- end
50
+ # Shutdown the tracepoints if enabled to reduce any overhead and stall emission
51
+ @tracer.stop_tracepoints
55
52
  # Let the GC clean up the sink thread through the finalizer below
56
53
  @tracer = nil
57
54
  Thread.current.thread_variable_set(:_raygun_apm_tracer, nil)
55
+ raise(exception) unless (Raygun::Apm::FatalError === exception)
58
56
  end
59
57
 
60
58
  def http_in_handler(args)
@@ -2,7 +2,7 @@ module Raygun
2
2
  module Apm
3
3
  module Rails
4
4
  class Railtie < ::Rails::Railtie
5
- initializer "raygun.apm" do |app|
5
+ initializer "raygun.apm.rails" do |app|
6
6
  require "raygun/apm"
7
7
  require "raygun/apm/rails/middleware"
8
8
  Raygun::Apm::Blacklist.extend_with Raygun::Apm::Rails::BLACKLIST
@@ -1,7 +1,7 @@
1
1
  module Raygun
2
2
  module Apm
3
3
  module Rails
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.5"
5
5
  end
6
6
  end
7
7
  end
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_dependency "raygun-apm", "~> 1.0.0"
26
+ spec.add_dependency "raygun-apm", "~> 1.0.3"
27
27
  spec.add_development_dependency "bundler", "~> 1.17"
28
28
  spec.add_development_dependency "rake", "~> 10.0"
29
29
  spec.add_development_dependency "minitest", "~> 5.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erkki Eilonen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-17 00:00:00.000000000 Z
11
+ date: 2020-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: raygun-apm
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0
19
+ version: 1.0.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0
26
+ version: 1.0.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement