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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f75eee6a2dc08842b68a7dce1a083c6f122fd462
4
- data.tar.gz: 7a70d00b5f659de3cb11c2828a6d9695363cce09
3
+ metadata.gz: 7e1848b37d0d06b89195907e8f817c24163e9830
4
+ data.tar.gz: a0fec3cbb8b5d49bcec6d9cfb69a819e3831793e
5
5
  SHA512:
6
- metadata.gz: 44f247b3789ab9bbd385324a42eb61025759eec224bc85dd7d3abeee6f3e0d4facc0af8541ab99b0897a8286835cc0ba88f6b1f61fa8a59995b359c54796ab1c
7
- data.tar.gz: a38c975e81913efad14a501ec159aeba97825ded8f7ade3188443be33025cc76771c813d37bcf9e47f35bd10ebd0aa5900d6526321f194524ad7ef6d2c0bc560
6
+ metadata.gz: b74b13c3a988bff0f25220f63df0295b761c36e8f4c9e816de5197faf08cf49c0c6a4170abc9f0c99841e40936033831bac8cfc4f919af76fc56671c7a9bf29e
7
+ data.tar.gz: 96c8b84c66f18adc6b8f4ee13fc7488f012eec782e7bc91ea1513545a8cb7062a2534436d493db92c5e7703dfed1aaacc9e3b69adc3410d5d354cecaed6b4205
@@ -11,8 +11,8 @@ env:
11
11
  - DBTYPE=postgresql
12
12
 
13
13
  rvm:
14
- - 2.5.0
15
- # - 2.4.3
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.0
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.0
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
@@ -38,7 +38,7 @@ RUN git clone https://github.com/rbenv/rbenv.git ~/.rbenv \
38
38
  RUN . ~/.profile \
39
39
  && rbenv install 2.3.6 \
40
40
  && rbenv install 2.4.3 \
41
- && rbenv install 2.5.0
41
+ && rbenv install 2.5.1
42
42
  # && rbenv install jruby-9.1.16.0
43
43
 
44
44
  # install swig 3.0.8
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're dogfooding:
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
@@ -1 +1 @@
1
- 3.0.0
1
+ 3.0.1
@@ -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
- AppOpticsAPM.logger.warn "AppOpticsAPM::Rack middleware loaded?: #{yesno(::Rails.configuration.middleware.include? AppOpticsAPM::Rack)}"
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)
@@ -8,7 +8,7 @@ module AppOpticsAPM
8
8
  module Version
9
9
  MAJOR = 4
10
10
  MINOR = 2
11
- PATCH = 0
11
+ PATCH = 1
12
12
 
13
13
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
14
14
  end
@@ -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 decducted by the instrumentation
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
@@ -23,8 +23,8 @@ bundle exec rake compile
23
23
  # start postgres
24
24
  service postgresql start
25
25
 
26
- # start redis
27
- service redis-server start
26
+ # start redis with password
27
+ redis-server --requirepass secret_pass &
28
28
 
29
29
  # start memcached
30
30
  service memcached start
@@ -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 Dockerfile -t ruby_appoptics .`
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.0
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-24 00:00:00.000000000 Z
13
+ date: 2018-05-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json