scout_apm 2.4.18 → 2.4.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +4 -0
- data/lib/scout_apm/instrument_manager.rb +7 -7
- data/lib/scout_apm/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d38cfea3836f29b9e730a02bf557962026bb9ac
|
4
|
+
data.tar.gz: 9e27ad539198445863b7bd617852d0ca4a6550a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f659866301061871d82cf314df34b735a07d0cfad4e58d2a9cced65dac466b32e9ce8079b8f7d254be4a68192eaf1f4ca830147997417be3d6768924ec94a5d
|
7
|
+
data.tar.gz: 738cecce8b1d3e32e6043244c9c2573dda6813c6fc106402e9d83dd00e19807c46fa085f596b6bbc2d5fbb7090e4acdd525bb0a6f69766474ea276fc9000c959
|
data/CHANGELOG.markdown
CHANGED
@@ -41,13 +41,19 @@ module ScoutApm
|
|
41
41
|
logger.warn $!.backtrace
|
42
42
|
end
|
43
43
|
|
44
|
+
# Allows users to skip individual instruments via the config file
|
45
|
+
def skip_instrument?(instrument_klass)
|
46
|
+
instrument_short_name = instrument_klass.name.split("::").last
|
47
|
+
(config.value("disabled_instruments") || []).include?(instrument_short_name)
|
48
|
+
end
|
49
|
+
|
44
50
|
private
|
45
51
|
|
46
52
|
def install_instrument(instrument_klass)
|
47
53
|
return if already_installed?(instrument_klass)
|
48
54
|
|
49
55
|
if skip_instrument?(instrument_klass)
|
50
|
-
logger.info "Skipping Disabled Instrument: #{
|
56
|
+
logger.info "Skipping Disabled Instrument: #{instrument_klass} - To re-enable, change `disabled_instruments` key in scout_apm.yml"
|
51
57
|
return
|
52
58
|
end
|
53
59
|
|
@@ -56,12 +62,6 @@ module ScoutApm
|
|
56
62
|
instance.install
|
57
63
|
end
|
58
64
|
|
59
|
-
# Allows users to skip individual instruments via the config file
|
60
|
-
def skip_instrument?(instrument_klass)
|
61
|
-
instrument_short_name = instrument_klass.name.split("::").last
|
62
|
-
(config.value("disabled_instruments") || []).include?(instrument_short_name)
|
63
|
-
end
|
64
|
-
|
65
65
|
def already_installed?(instrument_klass)
|
66
66
|
@installed_instruments.any? do |already_installed_instrument|
|
67
67
|
instrument_klass === already_installed_instrument
|
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: 2.4.
|
4
|
+
version: 2.4.19
|
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: 2018-09-
|
12
|
+
date: 2018-09-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -392,7 +392,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
392
392
|
version: '0'
|
393
393
|
requirements: []
|
394
394
|
rubyforge_project: scout_apm
|
395
|
-
rubygems_version: 2.
|
395
|
+
rubygems_version: 2.5.1
|
396
396
|
signing_key:
|
397
397
|
specification_version: 4
|
398
398
|
summary: Ruby application performance monitoring
|