appoptics_apm 4.2.0 → 4.2.1
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/.travis.yml +6 -5
- data/Dockerfile_test +1 -1
- data/README.md +1 -1
- data/ext/oboe_metal/src/VERSION +1 -1
- data/lib/appoptics_apm/config.rb +0 -1
- data/lib/appoptics_apm/inst/redis.rb +1 -1
- data/lib/appoptics_apm/support.rb +3 -1
- data/lib/appoptics_apm/version.rb +1 -1
- data/lib/rails/generators/appoptics_apm/templates/appoptics_apm_initializer.rb +1 -1
- data/ruby_setup.sh +2 -2
- data/run_tests_docker.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e1848b37d0d06b89195907e8f817c24163e9830
|
4
|
+
data.tar.gz: a0fec3cbb8b5d49bcec6d9cfb69a819e3831793e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b74b13c3a988bff0f25220f63df0295b761c36e8f4c9e816de5197faf08cf49c0c6a4170abc9f0c99841e40936033831bac8cfc4f919af76fc56671c7a9bf29e
|
7
|
+
data.tar.gz: 96c8b84c66f18adc6b8f4ee13fc7488f012eec782e7bc91ea1513545a8cb7062a2534436d493db92c5e7703dfed1aaacc9e3b69adc3410d5d354cecaed6b4205
|
data/.travis.yml
CHANGED
@@ -11,8 +11,8 @@ env:
|
|
11
11
|
- DBTYPE=postgresql
|
12
12
|
|
13
13
|
rvm:
|
14
|
-
- 2.5.
|
15
|
-
|
14
|
+
- 2.5.1
|
15
|
+
- 2.4.3
|
16
16
|
- 2.3.6
|
17
17
|
# - jruby-9.0.5.0
|
18
18
|
|
@@ -30,7 +30,7 @@ gemfile:
|
|
30
30
|
|
31
31
|
matrix:
|
32
32
|
exclude:
|
33
|
-
- rvm: 2.5.
|
33
|
+
- rvm: 2.5.1
|
34
34
|
env: DBTYPE=mysql
|
35
35
|
- rvm: 2.4.3
|
36
36
|
env: DBTYPE=mysql
|
@@ -65,7 +65,7 @@ matrix:
|
|
65
65
|
|
66
66
|
# Rails 3.2 is not compatible with Ruby >= 2.4
|
67
67
|
# We currently are not supporting Rails 3.2
|
68
|
-
- rvm: 2.5.
|
68
|
+
- rvm: 2.5.1
|
69
69
|
gemfile: gemfiles/rails32.gemfile
|
70
70
|
- rvm: 2.4.3
|
71
71
|
gemfile: gemfiles/rails32.gemfile
|
@@ -102,6 +102,7 @@ before_script:
|
|
102
102
|
- bundle exec rake compile
|
103
103
|
- psql -c 'create database travis_ci_test;' -U postgres
|
104
104
|
- mysql -e 'create database travis_ci_test;'
|
105
|
+
- redis-server --requirepass secret_pass &
|
105
106
|
- sleep 10
|
106
107
|
- export APPOPTICS_TOKEN_BUCKET_CAPACITY=1000
|
107
108
|
- export APPOPTICS_TOKEN_BUCKET_RATE=1000
|
@@ -112,5 +113,5 @@ services:
|
|
112
113
|
- mongodb
|
113
114
|
- memcached
|
114
115
|
- cassandra
|
115
|
-
- redis
|
116
|
+
# - redis
|
116
117
|
- rabbitmq
|
data/Dockerfile_test
CHANGED
data/README.md
CHANGED
@@ -35,7 +35,7 @@ or added to _the end_ of your bundle Gemfile and running `bundle install`:
|
|
35
35
|
gem 'appoptics_apm'
|
36
36
|
```
|
37
37
|
|
38
|
-
## if you
|
38
|
+
## if you need a pre-release version:
|
39
39
|
Get the gem
|
40
40
|
```
|
41
41
|
source 'https://73bf9c35xxxxxxxxxxb4d26c3:@packagecloud.io/AppOptics/apm-instrumentation/' do
|
data/ext/oboe_metal/src/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1
|
data/lib/appoptics_apm/config.rb
CHANGED
@@ -88,7 +88,6 @@ module AppOpticsAPM
|
|
88
88
|
AppOpticsAPM.logger.warn "\n# Enabled/Disabled Backtrace Collection"
|
89
89
|
@@instrumentation.each do |config|
|
90
90
|
AppOpticsAPM.logger.warn "AppOpticsAPM::Config[:#{config}][:collect_backtraces] = #{@@config[config][:collect_backtraces]}"
|
91
|
-
AppOpticsAPM.logger.warn
|
92
91
|
end
|
93
92
|
|
94
93
|
AppOpticsAPM.logger.warn "\n# Logging of outgoing HTTP query args"
|
@@ -6,7 +6,7 @@ module AppOpticsAPM
|
|
6
6
|
module Redis
|
7
7
|
module Client
|
8
8
|
# The operations listed in this constant skip collecting KVKey
|
9
|
-
NO_KEY_OPS = [:keys, :randomkey, :scan, :sdiff, :sdiffstore, :sinter,
|
9
|
+
NO_KEY_OPS = [:auth, :keys, :randomkey, :scan, :sdiff, :sdiffstore, :sinter,
|
10
10
|
:sinterstore, :smove, :sunion, :sunionstore, :zinterstore,
|
11
11
|
:zunionstore, :publish, :select, :eval, :evalsha, :script].freeze
|
12
12
|
|
@@ -58,7 +58,9 @@ module AppOpticsAPM
|
|
58
58
|
AppOpticsAPM.logger.warn "Using Rails?: #{yesno(using_rails)}"
|
59
59
|
if using_rails
|
60
60
|
AppOpticsAPM.logger.warn "AppOpticsAPM::Rails loaded?: #{yesno(defined?(::AppOpticsAPM::Rails))}"
|
61
|
-
|
61
|
+
if defined?(::AppOpticsAPM::Rack)
|
62
|
+
AppOpticsAPM.logger.warn "AppOpticsAPM::Rack middleware loaded?: #{yesno(::Rails.configuration.middleware.include? AppOpticsAPM::Rack)}"
|
63
|
+
end
|
62
64
|
end
|
63
65
|
|
64
66
|
using_sinatra = defined?(::Sinatra)
|
@@ -26,7 +26,7 @@ if defined?(AppOpticsAPM::Config)
|
|
26
26
|
# Prepend domain to transaction name
|
27
27
|
#
|
28
28
|
# If this is set to `true` transaction names will be composed as `my.host.com/controller.action` instead of
|
29
|
-
# `controller.action`. This configuration applies to all transaction names, whether
|
29
|
+
# `controller.action`. This configuration applies to all transaction names, whether deducted by the instrumentation
|
30
30
|
# or implicitly set.
|
31
31
|
#
|
32
32
|
AppOpticsAPM::Config[:transaction_name][:prepend_domain] = false
|
data/ruby_setup.sh
CHANGED
data/run_tests_docker.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
# test output is logged to log/test_runs.log
|
6
6
|
# make sure log/ and log/test_runs.log is writeable by docker
|
7
7
|
|
8
|
-
# `docker build -f
|
8
|
+
# `docker build -f Dockerfile_test -t ruby_appoptics_apm .`
|
9
9
|
# (docker-compose will build it too if missing)
|
10
10
|
|
11
11
|
require 'yaml'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appoptics_apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maia Engeli
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-05-
|
13
|
+
date: 2018-05-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|