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 +4 -4
- data/README.rdoc +2 -2
- data/lib/raygun/apm/rails.rb +1 -0
- data/lib/raygun/apm/rails/middleware.rb +3 -5
- data/lib/raygun/apm/rails/railtie.rb +1 -1
- data/lib/raygun/apm/rails/version.rb +1 -1
- data/raygun-apm-rails.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 699908d1ff9efcdae2eb9c6249d16718596c444561e04fbf08b7ae60d6c60c2f
|
4
|
+
data.tar.gz: 2f422462b7fd6d4626b5ef0cf37f161662b8246408d8afc3edf434e5220eb33c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00c2b9ae5d049624203e2abf4d8a0cb384d5f0d012861e42b41ab5106a5c5fbac22bb2ca452e7c6fa88c46e312684fed8e3f4ee6c581b92e57b2994ae8d96e7a
|
7
|
+
data.tar.gz: 84aa61d39e15ebd8257d5fcae50f85a7e9f5185cc2256a9fd4eb4cda2cc23608e3a1f0272d4440a3b6ebc95c4e0fc3578d7c4677d4fa844a3400b7dc23ad3b0b
|
data/README.rdoc
CHANGED
@@ -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
|
73
|
-
specific background processing frameworks.
|
73
|
+
{Contact us}[https://raygun.com/about/contact] to support other specific web frameworks.
|
data/lib/raygun/apm/rails.rb
CHANGED
@@ -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
|
51
|
-
|
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
|
data/raygun-apm-rails.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 1.0.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|