scout_apm 1.5.0.pre2 → 1.5.0

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: 62d8acd6b57cf347630cbdd43dcea3ff0fd04769
4
- data.tar.gz: a3cefdd503a1e87ed55469084a0906d02611c745
3
+ metadata.gz: 788d920052b015909a11cc70a257ca8c1535a606
4
+ data.tar.gz: 9c51b7cacdf71954f26b01edec521bf914bc882f
5
5
  SHA512:
6
- metadata.gz: 09c3d488fc83ebbedcf9b5e0b543945459f5b3ab44ad1a5c92fe37165e732e92f0b691d4d203567a058805bcb636099e8987b57b1d697bc5d15b43908b36e3d3
7
- data.tar.gz: ff962282beaff96d28866bb1fe00c811a09e87676a452d549858dbec63f67e1afa0eb6842c661d1ea8e1995903df05bb406510e3c049c060d813d0b8b20e7953
6
+ metadata.gz: e0f7ac58629d5acb1da6ee681232fd4d23e51d8577468d4d00db1704fc04d636b18195d8e362efd9fb9d94e8da4cd91aa1e56ca16549e78457f5f67dd1cb44dc
7
+ data.tar.gz: 79dced4225338843b29f2c37d74ba497bb3146998d5c905bea59aa6cadd44ea81c1980644a221ceebd06041171fdfb8ef06fbe9d2f20f25edc73f25e7b00f8ec
data/CHANGELOG.markdown CHANGED
@@ -7,10 +7,6 @@
7
7
 
8
8
  * Defend against a nil
9
9
 
10
- # 1.5.0
11
-
12
- * Background Job instrumentation for Sidekiq and Sidekiq-backed ActiveJob
13
-
14
10
  # 1.4.5
15
11
 
16
12
  * Instrument Elasticsearch
@@ -276,7 +276,7 @@ module ScoutApm
276
276
 
277
277
  # Allow users to skip individual instruments via the config file
278
278
  instrument_short_name = instrument_klass.name.split("::").last
279
- if config.value("disabled_instruments").include?(instrument_short_name)
279
+ if (config.value("disabled_instruments") || []).include?(instrument_short_name)
280
280
  logger.info "Skipping Disabled Instrument: #{instrument_short_name} - To re-enable, change `disabled_instruments` key in scout_apm.yml"
281
281
  return
282
282
  end
@@ -7,7 +7,7 @@ module ScoutApm
7
7
 
8
8
  STDOUT_LOGGER = begin
9
9
  l = Logger.new(STDOUT)
10
- l.level = ENV["SCOUT_LOG_LEVEL"] || Logger::INFO
10
+ l.level = Logger::INFO
11
11
  l
12
12
  end
13
13
 
@@ -19,16 +19,6 @@ module ScoutApm
19
19
  ::ActionController::Base.class_eval do
20
20
  include ScoutApm::Tracer
21
21
  include ::ScoutApm::Instruments::ActionControllerRails2Instruments
22
-
23
- def rescue_action_with_scout(exception)
24
- ScoutApm::Agent.instance.store.track!("Errors/Request",1, :scope => nil)
25
- ScoutApm::Agent.instance.store.ignore_transaction!
26
- rescue_action_without_scout exception
27
- end
28
-
29
- alias_method :rescue_action_without_scout, :rescue_action
30
- alias_method :rescue_action, :rescue_action_with_scout
31
- protected :rescue_action
32
22
  end
33
23
 
34
24
  ScoutApm::Agent.instance.logger.info "Instrumenting ActionView::Template"
@@ -1,5 +1,5 @@
1
1
  # A fake implementation of stackprof, for systems that don't support it.
2
- class StackProf
2
+ module StackProf
3
3
  def self.start(*args)
4
4
  @running = true
5
5
  end
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "1.5.0.pre2"
2
+ VERSION = "1.5.0"
3
3
  end
4
4
 
@@ -145,7 +145,7 @@ class PayloadSerializerTest < Minitest::Test
145
145
  context = ScoutApm::Context.new
146
146
  context.add({"this" => "that"})
147
147
  context.add_user({"hello" => "goodbye"})
148
- slow_t = ScoutApm::SlowTransaction.new("http://example.com/blabla", "Buckethead/something/else", 1.23, slow_transaction_metrics, context, Time.at(1448198788), StackProf.new)
148
+ slow_t = ScoutApm::SlowTransaction.new("http://example.com/blabla", "Buckethead/something/else", 1.23, slow_transaction_metrics, context, Time.at(1448198788), [])
149
149
  payload = ScoutApm::Serializers::PayloadSerializerToJson.serialize({}, {}, [slow_t], [], [])
150
150
  formatted_slow_transactions = [
151
151
  {
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.5.0.pre2
4
+ version: 1.5.0
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-04-20 00:00:00.000000000 Z
12
+ date: 2016-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -208,9 +208,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
208
  version: '0'
209
209
  required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  requirements:
211
- - - ">"
211
+ - - ">="
212
212
  - !ruby/object:Gem::Version
213
- version: 1.3.1
213
+ version: '0'
214
214
  requirements: []
215
215
  rubyforge_project: scout_apm
216
216
  rubygems_version: 2.6.2