signalfx-tracing 2.2.1 → 2.3.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
  SHA256:
3
- metadata.gz: 2bdfe4908f45da406037ff74a393f763c4b162ae1fc0fcc018bdb0c437f694ed
4
- data.tar.gz: 654481fb002121b3f3fdb9698030c6fd88ca1dab4595de9371601cbbf877dfcf
3
+ metadata.gz: fcb1b588a820b7e0b27f44345660f1f57d65f58a4302a0242c726c59802bf440
4
+ data.tar.gz: 75a8f68e01770b3cbf8643809deabfc562b498ba2e218b4ce5342e39f3780420
5
5
  SHA512:
6
- metadata.gz: 866e9610bc170b39a318de3ab65a5c7f73e74b1cad50af8cafb33c1870bb41762c5276baf52a6adba517eb650442e984bd033456b5e9510c85a48c8da30e62ab
7
- data.tar.gz: 8ef2fe7d563d9e3b97d3c2c8c581d5c9315f5aa3042e470acaf779f2c84cb2546f130440759f86aa542c628a4f56b6fd2b5bdf61af0a3f654d116ee554801a16
6
+ metadata.gz: 1f7300553567c11fd5a0279501a51905f0139e0d0789da6574c2505dfe070363667019a344d51197f16498001a680215ad72f836d836314f52e7bb41c8c8afb9
7
+ data.tar.gz: b74608ad7358467df7e1d41c4d457e409e083f07270a29ba24ef0e0cbae6d6f61ae03f7c84362b080518235c6ceb46e29b3f4fcc461ae02a70c00c33eb7a18ff
@@ -20,15 +20,19 @@ module SignalFx
20
20
 
21
21
  begin
22
22
  require 'rails/instrumentation'
23
- require 'rack/tracer'
24
23
  rescue LoadError => e
25
24
  puts e.message
26
25
  return
27
26
  end
28
27
 
29
28
  if opts.fetch(:rack_tracer, true)
30
- # add rack middlewares
31
- ::Rails.configuration.middleware.insert(0, ::Rack::Tracer)
29
+ begin
30
+ # add rack middlewares
31
+ require 'rack/tracer'
32
+ ::Rails.configuration.middleware.insert(0, ::Rack::Tracer)
33
+ rescue LoadError => e
34
+ puts e.message
35
+ end
32
36
  end
33
37
 
34
38
  exclude_events = opts.fetch(:exclude_events, [])
@@ -1,5 +1,5 @@
1
1
  module Signalfx
2
2
  module Tracing
3
- VERSION = "2.2.1"
3
+ VERSION = "2.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signalfx-tracing
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SignalFx, Inc.