scout_apm 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9efb3b04bdfcd19df6d60a358e8b30abe48be29b
|
4
|
+
data.tar.gz: b53820b59423029619cef843ba6887bbc0f61118
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65a5694303ce81df40aa755877732b98fa5e849f51849ab37e96b3ea22ad3bc38f0ed8a29ed2c1c98e6e8107b252aff6d0319f875da25151470758e1a0445789
|
7
|
+
data.tar.gz: 4222de374831297d9a6bd87b167324b7d5d542086296bb6213f1a53c3c3d2cdfc8521217d98dfca5d546845be97809bd80b37f9b7f93c143100704f2f3864169
|
data/CHANGELOG.markdown
CHANGED
data/lib/scout_apm.rb
CHANGED
@@ -64,7 +64,7 @@ require 'scout_apm/instruments/mongoid'
|
|
64
64
|
require 'scout_apm/instruments/delayed_job'
|
65
65
|
require 'scout_apm/instruments/active_record'
|
66
66
|
require 'scout_apm/instruments/action_controller_rails_2'
|
67
|
-
require 'scout_apm/instruments/
|
67
|
+
require 'scout_apm/instruments/action_controller_rails_3_rails4'
|
68
68
|
require 'scout_apm/instruments/middleware'
|
69
69
|
require 'scout_apm/instruments/rails_router'
|
70
70
|
require 'scout_apm/instruments/sinatra'
|
data/lib/scout_apm/agent.rb
CHANGED
@@ -217,7 +217,7 @@ module ScoutApm
|
|
217
217
|
case environment.framework
|
218
218
|
when :rails then install_instrument(ScoutApm::Instruments::ActionControllerRails2)
|
219
219
|
when :rails3_or_4 then
|
220
|
-
install_instrument(ScoutApm::Instruments::
|
220
|
+
install_instrument(ScoutApm::Instruments::ActionControllerRails3Rails4)
|
221
221
|
install_instrument(ScoutApm::Instruments::Middleware)
|
222
222
|
install_instrument(ScoutApm::Instruments::RailsRouter)
|
223
223
|
when :sinatra then install_instrument(ScoutApm::Instruments::Sinatra)
|
data/lib/scout_apm/instruments/{action_controller_rails_3.rb → action_controller_rails_3_rails4.rb}
RENAMED
@@ -1,6 +1,7 @@
|
|
1
1
|
module ScoutApm
|
2
2
|
module Instruments
|
3
|
-
|
3
|
+
# instrumentation for Rails 3 and Rails 4 is the same.
|
4
|
+
class ActionControllerRails3Rails4
|
4
5
|
attr_reader :logger
|
5
6
|
|
6
7
|
def initalize(logger=ScoutApm::Agent.instance.logger)
|
@@ -23,7 +24,7 @@ module ScoutApm
|
|
23
24
|
ScoutApm::Agent.instance.logger.info "Instrumenting ActionController::Base"
|
24
25
|
::ActionController::Base.class_eval do
|
25
26
|
# include ScoutApm::Tracer
|
26
|
-
include ScoutApm::Instruments::
|
27
|
+
include ScoutApm::Instruments::ActionControllerRails3Rails4Instruments
|
27
28
|
end
|
28
29
|
end
|
29
30
|
|
@@ -55,7 +56,7 @@ module ScoutApm
|
|
55
56
|
end
|
56
57
|
end
|
57
58
|
|
58
|
-
module
|
59
|
+
module ActionControllerRails3Rails4Instruments
|
59
60
|
def process_action(*args)
|
60
61
|
req = ScoutApm::RequestManager.lookup
|
61
62
|
req.annotate_request(:uri => request.fullpath)
|
data/lib/scout_apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout_apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derek Haynes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-01-
|
12
|
+
date: 2016-01-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -89,7 +89,7 @@ files:
|
|
89
89
|
- lib/scout_apm/framework_integrations/ruby.rb
|
90
90
|
- lib/scout_apm/framework_integrations/sinatra.rb
|
91
91
|
- lib/scout_apm/instruments/action_controller_rails_2.rb
|
92
|
-
- lib/scout_apm/instruments/
|
92
|
+
- lib/scout_apm/instruments/action_controller_rails_3_rails4.rb
|
93
93
|
- lib/scout_apm/instruments/active_record.rb
|
94
94
|
- lib/scout_apm/instruments/delayed_job.rb
|
95
95
|
- lib/scout_apm/instruments/middleware.rb
|
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project: scout_apm
|
178
|
-
rubygems_version: 2.
|
178
|
+
rubygems_version: 2.4.8
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: Ruby application performance monitoring
|